Collage  0.6.1
Public Member Functions
co::ObjectOCommand Class Reference

A class for sending commands and data to local & external objects. More...

#include <objectOCommand.h>

+ Inheritance diagram for co::ObjectOCommand:
+ Collaboration diagram for co::ObjectOCommand:

List of all members.

Public Member Functions

CO_API ObjectOCommand (const Connections &receivers, const uint32_t cmd, const uint32_t type, const UUID &id, const uint32_t instanceID)
 Construct a command which is send & dispatched to a co::Object.
CO_API ObjectOCommand (Dispatcher *const dispatcher, LocalNodePtr localNode, const uint32_t cmd, const uint32_t type, const UUID &id, const uint32_t instanceID)
 Construct a command which is dispatched locally to a co::Object.
CO_API ObjectOCommand (const ObjectOCommand &rhs)
virtual CO_API ~ObjectOCommand ()
 Send or dispatch this command during destruction.

Detailed Description

A class for sending commands and data to local & external objects.

See also:
co::OCommand

Definition at line 34 of file objectOCommand.h.


Constructor & Destructor Documentation

CO_API co::ObjectOCommand::ObjectOCommand ( const Connections receivers,
const uint32_t  cmd,
const uint32_t  type,
const UUID &  id,
const uint32_t  instanceID 
)

Construct a command which is send & dispatched to a co::Object.

Parameters:
receiverslist of connections where to send the command to.
cmdthe command.
typethe command type for dispatching.
idthe ID of the object to dispatch this command to.
instanceIDthe instance of the object to dispatch the command to.
CO_API co::ObjectOCommand::ObjectOCommand ( Dispatcher *const  dispatcher,
LocalNodePtr  localNode,
const uint32_t  cmd,
const uint32_t  type,
const UUID &  id,
const uint32_t  instanceID 
)

Construct a command which is dispatched locally to a co::Object.

Parameters:
dispatcherthe dispatcher to dispatch this command.
localNodethe local node that holds the command cache.
cmdthe command.
typethe command type for dispatching.
idthe ID of the object to dispatch this command to.
instanceIDthe instance of the object to dispatch the command to.
virtual CO_API co::ObjectOCommand::~ObjectOCommand ( ) [virtual]

Send or dispatch this command during destruction.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:44 for Collage 0.6.1 by  doxygen 1.7.6.1