Aldebaran documentation
|
C++ Libraries
|
index
libqi-api
2.4.3.28
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
qi
actor.hpp
Go to the documentation of this file.
1
#pragma once
2
/*
3
** Copyright (C) 2012 Aldebaran Robotics
4
** See COPYING for the license
5
*/
6
7
#ifndef _QI_ACTOR_HPP_
8
#define _QI_ACTOR_HPP_
9
10
#include <
qi/strand.hpp
>
11
#include <boost/scoped_ptr.hpp>
12
#include <boost/function.hpp>
13
14
namespace
qi
15
{
16
26
class
QI_API
Actor
27
{
28
public
:
29
Actor
()
30
: _strand()
31
{}
32
Actor
(
const
Actor
&)
33
{}
34
Actor
(
qi::ExecutionContext
& ec)
35
: _strand(ec)
36
{}
37
38
qi::Strand
*
strand
()
const
39
{
40
return
&_strand;
41
}
42
43
private
:
44
mutable
qi::Strand
_strand;
45
};
46
47
}
48
49
#endif // _QI_ACTOR_HPP_
QI_API
#define QI_API
Definition:
api.hpp:34
qi::Actor::strand
qi::Strand * strand() const
Definition:
actor.hpp:38
qi::Actor::Actor
Actor()
Definition:
actor.hpp:29
qi::ExecutionContext
Definition:
executioncontext.hpp:20
qi::Actor::Actor
Actor(const Actor &)
Definition:
actor.hpp:32
qi::Strand
Definition:
strand.hpp:31
strand.hpp
qi::Actor::Actor
Actor(qi::ExecutionContext &ec)
Definition:
actor.hpp:34
qi::Actor
Definition:
actor.hpp:26
Copyright Aldebaran Robotics