|
cisst-saw
|
#include <mtsCommandQueuedWriteBase.h>
Public Member Functions | |
| mtsCommandQueuedWriteBase (mtsMailBox *mailBox, mtsCommandWriteBase *actualCommand, size_t size) | |
| virtual | ~mtsCommandQueuedWriteBase () |
| virtual mtsCommandWriteBase * | GetActualCommand (void) |
| virtual void | ToStream (std::ostream &outputStream) const |
| virtual mtsCommandQueuedWriteBase * | Clone (mtsMailBox *mailBox, size_t size) const =0 |
| virtual void | Allocate (size_t size)=0 |
| mtsExecutionResult | Execute (const mtsGenericObject &argument, mtsBlockingType blocking) |
| mtsExecutionResult | Execute (const mtsGenericObject &argument, mtsBlockingType blocking, mtsCommandWriteBase *finishedEventHandler)=0 |
| virtual const mtsGenericObject * | ArgumentPeek (void) const =0 |
| virtual mtsGenericObject * | ArgumentGet (void)=0 |
| mtsBlockingType | BlockingFlagGet (void) |
| mtsCommandWriteBase * | FinishedEventGet (void) |
| virtual const std::string | GetMailBoxName (void) const |
Public Member Functions inherited from mtsCommandWriteBase | |
| mtsCommandWriteBase (void) | |
| mtsCommandWriteBase (const std::string &name) | |
| virtual | ~mtsCommandWriteBase () |
| virtual mtsExecutionResult | Execute (const mtsGenericObject &argument, mtsBlockingType blocking, mtsCommandWriteBase *CMN_UNUSED(finishedEventHandler))=0 |
| size_t | NumberOfArguments (void) const |
| bool | Returns (void) const |
| virtual const mtsGenericObject * | GetArgumentPrototype (void) const |
| const cmnClassServicesBase * | GetArgumentClassServices (void) const |
Public Member Functions inherited from mtsCommandBase | |
| mtsCommandBase (void) | |
| mtsCommandBase (const std::string &name) | |
| virtual | ~mtsCommandBase () |
| const std::string & | GetName (void) const |
| virtual std::string | ToString (void) const |
| void | Enable (void) |
| void | Disable (void) |
| bool | IsEnabled (void) const |
| bool | IsDisabled (void) const |
Protected Types | |
| typedef mtsCommandWriteBase | BaseType |
Protected Member Functions | |
| mtsCommandQueuedWriteBase (void) | |
Protected Member Functions inherited from mtsCommandWriteBase | |
| virtual void | SetArgumentPrototype (const mtsGenericObject *argumentPrototype) |
Protected Attributes | |
| mtsMailBox * | MailBox |
| mtsCommandWriteBase * | ActualCommand |
| mtsQueue< mtsBlockingType > | BlockingFlagQueue |
| mtsQueue< mtsCommandWriteBase * > | FinishedEventQueue |
Protected Attributes inherited from mtsCommandWriteBase | |
| const mtsGenericObject * | ArgumentPrototype |
Protected Attributes inherited from mtsCommandBase | |
| std::string | Name |
| bool | EnableFlag |
Additional Inherited Members | |
Public Types inherited from mtsCommandWriteBase | |
| typedef mtsCommandBase | BaseType |
|
protected |
|
inlineprotected |
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in mtsCommandQueuedWriteGeneric, and mtsCommandQueuedWrite< _argumentType >.
|
pure virtual |
Implemented in mtsCommandQueuedWriteGeneric, and mtsCommandQueuedWrite< _argumentType >.
|
pure virtual |
Implemented in mtsCommandQueuedWriteGeneric, and mtsCommandQueuedWrite< _argumentType >.
| mtsBlockingType mtsCommandQueuedWriteBase::BlockingFlagGet | ( | void | ) |
|
pure virtual |
Implemented in mtsCommandQueuedWriteGeneric, mtsCommandQueuedWrite< _argumentType >, and mtsCommandFilteredQueuedWrite.
|
virtual |
The execute method. Abstract method to be implemented by derived classes to run the actual operation on the receiver
| argument | The data passed to the operation method |
| blocking | Indicates whether caller wishes to block until command finishes |
Implements mtsCommandWriteBase.
|
pure virtual |
Implemented in mtsCommandQueuedWriteGeneric, mtsCommandQueuedWrite< _argumentType >, and mtsCommandFilteredQueuedWrite.
| mtsCommandWriteBase* mtsCommandQueuedWriteBase::FinishedEventGet | ( | void | ) |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Implements mtsCommandBase.
Reimplemented in mtsCommandQueuedWriteGeneric.
|
protected |
|
protected |
Queue of flags to indicate if the command is blocking or not
|
protected |
Queue for return events (to send result to caller). If non-zero, this indicates that a blocking call was made (previously, this was a BlockingFlagQueue).
|
protected |
1.8.6