libcppa  Version 0.1
Public Member Functions
cppa::actor_proxy Class Reference

#include <actor_proxy.hpp>

Inheritance diagram for cppa::actor_proxy:
cppa::detail::abstract_actor< actor > cppa::actor cppa::channel cppa::ref_counted

List of all members.

Public Member Functions

void enqueue (actor *sender, const any_tuple &msg)
void link_to (intrusive_ptr< actor > &other)
void unlink_from (intrusive_ptr< actor > &other)
bool remove_backlink (intrusive_ptr< actor > &to)
bool establish_backlink (intrusive_ptr< actor > &to)

Detailed Description

Represents a remote Actor.


Member Function Documentation

void cppa::actor_proxy::enqueue ( actor sender,
const any_tuple msg 
) [virtual]

Enqueues msg to the list of received messages.

Implements cppa::channel.

bool cppa::actor_proxy::establish_backlink ( intrusive_ptr< actor > &  other) [virtual]

Establishes a link relation between this actor and other.

Parameters:
otherActor instance that wants to link against this Actor.
Returns:
true if this actor is running and added other to its list of linked actors; otherwise false.

Reimplemented from cppa::detail::abstract_actor< actor >.

void cppa::actor_proxy::link_to ( intrusive_ptr< actor > &  other) [virtual]

Links this actor to other.

Parameters:
otherActor instance that whose execution is coupled to the execution of this Actor.

Reimplemented from cppa::detail::abstract_actor< actor >.

bool cppa::actor_proxy::remove_backlink ( intrusive_ptr< actor > &  other) [virtual]

Removes a link relation between this actor and other.

Parameters:
otherActor instance that wants to unlink from this Actor.
Returns:
true if this actor is running and removed other from its list of linked actors; otherwise false.

Reimplemented from cppa::detail::abstract_actor< actor >.

void cppa::actor_proxy::unlink_from ( intrusive_ptr< actor > &  other) [virtual]

Unlinks this actor from other.

Parameters:
oterLinked Actor.
Note:
Links are automatically removed if the Actor finishes execution.

Reimplemented from cppa::detail::abstract_actor< actor >.


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