#include <ActorProtocol.h>
|
| Protocol (std::string name, CEvent *inEvent, CEvent *outEvent) |
|
| Protocol (std::string name) |
|
| ~Protocol () |
|
Message * | GetMessage () |
|
void | ReturnMessage (Message *msg) |
|
bool | SendOutMessage (int signal, void *data=nullptr, size_t size=0, Message *outMsg=nullptr) |
|
bool | SendOutMessage (int signal, CPayloadWrapBase *payload, Message *outMsg=nullptr) |
|
bool | SendInMessage (int signal, void *data=nullptr, size_t size=0, Message *outMsg=nullptr) |
|
bool | SendInMessage (int signal, CPayloadWrapBase *payload, Message *outMsg=nullptr) |
|
bool | SendOutMessageSync (int signal, Message **retMsg, int timeout, void *data=nullptr, size_t size=0) |
|
bool | SendOutMessageSync (int signal, Message **retMsg, int timeout, CPayloadWrapBase *payload) |
|
bool | ReceiveOutMessage (Message **msg) |
|
bool | ReceiveInMessage (Message **msg) |
|
void | Purge () |
|
void | PurgeIn (int signal) |
|
void | PurgeOut (int signal) |
|
void | DeferIn (bool value) |
|
void | DeferOut (bool value) |
|
void | Lock () |
|
void | Unlock () |
|
◆ Protocol() [1/2]
Actor::Protocol::Protocol |
( |
std::string |
name, |
|
|
CEvent * |
inEvent, |
|
|
CEvent * |
outEvent |
|
) |
| |
|
inline |
◆ Protocol() [2/2]
Actor::Protocol::Protocol |
( |
std::string |
name | ) |
|
|
inline |
◆ ~Protocol()
◆ DeferIn()
void Actor::Protocol::DeferIn |
( |
bool |
value | ) |
|
|
inline |
◆ DeferOut()
void Actor::Protocol::DeferOut |
( |
bool |
value | ) |
|
|
inline |
◆ GetMessage()
◆ Lock()
void Actor::Protocol::Lock |
( |
| ) |
|
|
inline |
◆ Purge()
◆ PurgeIn()
void Protocol::PurgeIn |
( |
int |
signal | ) |
|
◆ PurgeOut()
void Protocol::PurgeOut |
( |
int |
signal | ) |
|
◆ ReceiveInMessage()
bool Protocol::ReceiveInMessage |
( |
Message ** |
msg | ) |
|
◆ ReceiveOutMessage()
bool Protocol::ReceiveOutMessage |
( |
Message ** |
msg | ) |
|
◆ ReturnMessage()
◆ SendInMessage() [1/2]
◆ SendInMessage() [2/2]
bool Protocol::SendInMessage |
( |
int |
signal, |
|
|
void * |
data = nullptr , |
|
|
size_t |
size = 0 , |
|
|
Message * |
outMsg = nullptr |
|
) |
| |
◆ SendOutMessage() [1/2]
◆ SendOutMessage() [2/2]
bool Protocol::SendOutMessage |
( |
int |
signal, |
|
|
void * |
data = nullptr , |
|
|
size_t |
size = 0 , |
|
|
Message * |
outMsg = nullptr |
|
) |
| |
◆ SendOutMessageSync() [1/2]
◆ SendOutMessageSync() [2/2]
bool Protocol::SendOutMessageSync |
( |
int |
signal, |
|
|
Message ** |
retMsg, |
|
|
int |
timeout, |
|
|
void * |
data = nullptr , |
|
|
size_t |
size = 0 |
|
) |
| |
◆ Unlock()
void Actor::Protocol::Unlock |
( |
| ) |
|
|
inline |
◆ containerInEvent
CEvent* Actor::Protocol::containerInEvent |
|
protected |
◆ containerOutEvent
CEvent * Actor::Protocol::containerOutEvent |
|
protected |
◆ criticalSection
◆ freeMessageQueue
std::queue<Message*> Actor::Protocol::freeMessageQueue |
|
protected |
◆ inDefered
bool Actor::Protocol::inDefered = false |
|
protected |
◆ inMessages
std::queue<Message*> Actor::Protocol::inMessages |
|
protected |
◆ outDefered
bool Actor::Protocol::outDefered = false |
|
protected |
◆ outMessages
std::queue<Message*> Actor::Protocol::outMessages |
|
protected |
◆ portName
std::string Actor::Protocol::portName |
The documentation for this class was generated from the following files: