cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mtsEventReceiverVoid Class Reference

#include <mtsEventReceiver.h>

Inheritance diagram for mtsEventReceiverVoid:
mtsEventReceiverBase

Public Member Functions

 mtsEventReceiverVoid ()
 
 ~mtsEventReceiverVoid ()
 
mtsCommandVoidGetCommand (void)
 
void SetHandlerCommand (mtsCommandVoid *commandHandler)
 
template<class __classType >
mtsCommandVoidSetHandler (void(__classType::*method)(void), __classType *classInstantiation, mtsEventQueueingPolicy queueingPolicy=MTS_INTERFACE_EVENT_POLICY)
 
mtsCommandVoidSetHandler (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

mtsCommandVoidCommand
 
mtsCommandVoidUserHandler
 
- Protected Attributes inherited from mtsEventReceiverBase
std::string Name
 
mtsInterfaceRequiredRequired
 
osaThreadSignalEventSignal
 
bool Waiting
 
bool OwnEventSignal
 

Constructor & Destructor Documentation

mtsEventReceiverVoid::mtsEventReceiverVoid ( )
mtsEventReceiverVoid::~mtsEventReceiverVoid ( )

Member Function Documentation

void mtsEventReceiverVoid::EventHandler ( void  )
protected
mtsCommandVoid* mtsEventReceiverVoid::GetCommand ( void  )

Called from mtsInterfaceRequired::BindCommandsAndEvents

bool mtsEventReceiverVoid::RemoveHandler ( void  )
template<class __classType >
mtsCommandVoid* mtsEventReceiverVoid::SetHandler ( void(__classType::*)(void)  method,
__classType *  classInstantiation,
mtsEventQueueingPolicy  queueingPolicy = MTS_INTERFACE_EVENT_POLICY 
)
inline
mtsCommandVoid* mtsEventReceiverVoid::SetHandler ( void(*)(void)  function,
mtsEventQueueingPolicy  queueingPolicy = MTS_INTERFACE_EVENT_POLICY 
)
inline
void mtsEventReceiverVoid::SetHandlerCommand ( mtsCommandVoid commandHandler)
void mtsEventReceiverVoid::ToStream ( std::ostream &  outputStream) const
virtual

Human readable output to stream.

Implements mtsEventReceiverBase.

Member Data Documentation

mtsCommandVoid* mtsEventReceiverVoid::Command
protected
mtsCommandVoid* mtsEventReceiverVoid::UserHandler
protected

The documentation for this class was generated from the following file: