Equalizer
1.4.1
|
A class for sending commands and data to local & external objects. More...
#include <objectOCommand.h>
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. |
A class for sending commands and data to local & external objects.
Definition at line 34 of file objectOCommand.h.
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.
receivers | list of connections where to send the command to. |
cmd | the command. |
type | the command type for dispatching. |
id | the ID of the object to dispatch this command to. |
instanceID | the 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.
dispatcher | the dispatcher to dispatch this command. |
localNode | the local node that holds the command cache. |
cmd | the command. |
type | the command type for dispatching. |
id | the ID of the object to dispatch this command to. |
instanceID | the instance of the object to dispatch the command to. |
virtual CO_API co::ObjectOCommand::~ObjectOCommand | ( | ) | [virtual] |
Send or dispatch this command during destruction.