|
cisst-saw
|
#include <mtsEventReceiver.h>
Public Member Functions | |
| mtsEventReceiverVoid () | |
| ~mtsEventReceiverVoid () | |
| mtsCommandVoid * | GetCommand (void) |
| void | SetHandlerCommand (mtsCommandVoid *commandHandler) |
| template<class __classType > | |
| mtsCommandVoid * | SetHandler (void(__classType::*method)(void), __classType *classInstantiation, mtsEventQueueingPolicy queueingPolicy=MTS_INTERFACE_EVENT_POLICY) |
| mtsCommandVoid * | SetHandler (void(*function)(void), mtsEventQueueingPolicy queueingPolicy=MTS_INTERFACE_EVENT_POLICY) |
| 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 (void) |
Protected Member Functions inherited from mtsEventReceiverBase | |
| bool | CheckRequired () const |
| bool | WaitCommon () |
Protected Attributes | |
| mtsCommandVoid * | Command |
| mtsCommandVoid * | UserHandler |
Protected Attributes inherited from mtsEventReceiverBase | |
| std::string | Name |
| mtsInterfaceRequired * | Required |
| osaThreadSignal * | EventSignal |
| bool | Waiting |
| bool | OwnEventSignal |
| mtsEventReceiverVoid::mtsEventReceiverVoid | ( | ) |
| mtsEventReceiverVoid::~mtsEventReceiverVoid | ( | ) |
|
protected |
| mtsCommandVoid* mtsEventReceiverVoid::GetCommand | ( | void | ) |
Called from mtsInterfaceRequired::BindCommandsAndEvents
| bool mtsEventReceiverVoid::RemoveHandler | ( | void | ) |
|
inline |
|
inline |
| void mtsEventReceiverVoid::SetHandlerCommand | ( | mtsCommandVoid * | commandHandler | ) |
Called from mtsInterfaceRequired::AddEventHandlerVoid
|
virtual |
Human readable output to stream.
Implements mtsEventReceiverBase.
|
protected |
|
protected |
1.8.6