|
cisst-saw
|
#include <mtsEventReceiver.h>
Public Member Functions | |
| mtsEventReceiverWrite () | |
| ~mtsEventReceiverWrite () | |
| mtsCommandWriteBase * | GetCommand () |
| void | SetHandlerCommand (mtsCommandWriteBase *commandHandler) |
| template<class __classType , class __argumentType > | |
| mtsCommandWriteBase * | SetHandler (void(__classType::*method)(const __argumentType &), __classType *classInstantiation, mtsEventQueueingPolicy queueingPolicy=MTS_INTERFACE_EVENT_POLICY) |
| virtual bool | Wait (mtsGenericObject &obj) |
| virtual bool | WaitWithTimeout (double timeoutInSec, mtsGenericObject &obj) |
| bool | RemoveHandler (void) |
| void | ToStream (std::ostream &outputStream) const |
Public Member Functions inherited from mtsEventReceiverBase | |
| mtsEventReceiverBase () | |
| virtual | ~mtsEventReceiverBase () |
| void | SetName (const std::string &name) |
| virtual std::string | GetName () const |
| virtual void | SetRequired (const std::string &name, mtsInterfaceRequired *req) |
| virtual void | SetThreadSignal (osaThreadSignal *signal) |
| virtual bool | Wait () |
| virtual bool | WaitWithTimeout (double timeoutInSec) |
| virtual void | Detach () |
Protected Member Functions | |
| void | EventHandler (const mtsGenericObject &arg) |
Protected Member Functions inherited from mtsEventReceiverBase | |
| bool | CheckRequired () const |
| bool | WaitCommon () |
Protected Attributes | |
| mtsCommandWriteBase * | Command |
| mtsCommandWriteBase * | UserHandler |
| mtsGenericObject * | ArgPtr |
Protected Attributes inherited from mtsEventReceiverBase | |
| std::string | Name |
| mtsInterfaceRequired * | Required |
| osaThreadSignal * | EventSignal |
| bool | Waiting |
| bool | OwnEventSignal |
| mtsEventReceiverWrite::mtsEventReceiverWrite | ( | ) |
| mtsEventReceiverWrite::~mtsEventReceiverWrite | ( | ) |
|
protected |
| mtsCommandWriteBase* mtsEventReceiverWrite::GetCommand | ( | ) |
Called from mtsInterfaceRequired::BindCommandsAndEvents
| bool mtsEventReceiverWrite::RemoveHandler | ( | void | ) |
|
inline |
| void mtsEventReceiverWrite::SetHandlerCommand | ( | mtsCommandWriteBase * | commandHandler | ) |
Called from mtsInterfaceRequired::AddEventHandlerWrite
|
virtual |
Human readable output to stream.
Implements mtsEventReceiverBase.
|
virtual |
Wait for event to be issued and return received argument.
|
virtual |
|
protected |
|
protected |
|
protected |
1.8.6