libqi-api  2.4.3.28
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
qi::Actor Class Reference

#include <actor.hpp>

Public Member Functions

 Actor ()
 
 Actor (const Actor &)
 
 Actor (qi::ExecutionContext &ec)
 
qi::Strand * strand () const
 

Detailed Description

Class that represents an actor.

Inherit from this class if you want your class to be an actor (as in the actor model). This means that your class will receive "messages" and not be called. In other words, there will never be to calls to your object in parallel, they will be queued.

Definition at line 26 of file actor.hpp.

Constructor & Destructor Documentation

qi::Actor::Actor ( )
inline

Definition at line 29 of file actor.hpp.

qi::Actor::Actor ( const Actor &  )
inline

Definition at line 32 of file actor.hpp.

qi::Actor::Actor ( qi::ExecutionContext &  ec)
inline

Definition at line 34 of file actor.hpp.

Member Function Documentation

qi::Strand* qi::Actor::strand ( ) const
inline

Definition at line 38 of file actor.hpp.


The documentation for this class was generated from the following file: