|
cisst-saw
|
#include <mtsFunctionQualifiedRead.h>
Public Types | |
| typedef mtsCommandQualifiedRead | CommandType |
Public Member Functions | |
| mtsFunctionQualifiedRead (void) | |
| ~mtsFunctionQualifiedRead () | |
| bool | Detach (void) |
| bool | IsValid (void) const |
| bool | Bind (CommandType *command) |
| mtsExecutionResult | operator() (const mtsGenericObject &qualifier, mtsGenericObject &argument) const |
| mtsExecutionResult | ExecuteGeneric (const mtsGenericObject &qualifier, mtsGenericObject &argument) const |
| template<class _userType1, class _userType2> | |
| mtsExecutionResult | operator() (const _userType1 &argument1, _userType2 &argument2) const |
| template<class _userType1, class _userType2> | |
| mtsExecutionResult | Execute (const _userType1 &argument1, _userType2 &argument2) const |
| CommandType * | GetCommand (void) const |
| const mtsGenericObject * | GetArgument1Prototype (void) const |
| const mtsGenericObject * | GetArgument2Prototype (void) const |
| void | ToStream (std::ostream &outputStream) const |
| Public Member Functions inherited from mtsFunctionBase | |
| virtual void | InitCompletionCommand (const std::string &name) |
| virtual void | DeleteCompletionCommand (void) |
| void | SetThreadSignal (osaThreadSignal *threadSignal) |
| void | ThreadSignalWait (void) const |
| mtsExecutionResult | WaitForResult (void) const |
Protected Attributes | |
| CommandType * | Command |
| Protected Attributes inherited from mtsFunctionBase | |
| osaThreadSignal * | ThreadSignal |
| mtsEventReceiverWrite * | CompletionCommand |
Additional Inherited Members | |
| Protected Member Functions inherited from mtsFunctionBase | |
| mtsFunctionBase () | |
| virtual | ~mtsFunctionBase () |
| mtsFunctionQualifiedRead::mtsFunctionQualifiedRead | ( | void | ) |
Default constructor. Does nothing, use Bind before using.
| mtsFunctionQualifiedRead::~mtsFunctionQualifiedRead | ( | ) |
Destructor.
| bool mtsFunctionQualifiedRead::Bind | ( | CommandType * | command | ) |
Bind using a command pointer. This allows to avoid querying by name from an interface.
| command | Pointer on an existing command |
|
virtual |
Detach the function from the command used. Internally, sets the command pointer to 0
Implements mtsFunctionBase.
|
inline |
| mtsExecutionResult mtsFunctionQualifiedRead::ExecuteGeneric | ( | const mtsGenericObject & | qualifier, |
| mtsGenericObject & | argument ) const |
| const mtsGenericObject * mtsFunctionQualifiedRead::GetArgument1Prototype | ( | void | ) | const |
Access to the command argument 1 prototype.
| const mtsGenericObject * mtsFunctionQualifiedRead::GetArgument2Prototype | ( | void | ) | const |
Access to the command argument 2 prototype.
| CommandType * mtsFunctionQualifiedRead::GetCommand | ( | void | ) | const |
Access to underlying command object.
|
virtual |
Return whether function is valid (i.e., command pointer is non-zero)
Implements mtsFunctionBase.
|
inline |
Overloaded operator that accepts different argument types (for qualified read).
|
inline |
Overloaded operator to enable more intuitive syntax e.g., Command(argument) instead of Command->Execute(argument).
|
virtual |
Human readable output to stream.
Implements mtsFunctionBase.
|
protected |