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

#include <mtsCallableVoidBase.h>

Inheritance diagram for mtsCallableVoidBase:
mtsCallableVoidFunction mtsCallableVoidMethod< _classType >

Public Member Functions

 mtsCallableVoidBase (void)
 
virtual ~mtsCallableVoidBase ()
 
virtual mtsExecutionResult Execute (void)=0
 
virtual void ToStream (std::ostream &outputStream) const =0
 

Detailed Description

A base class command object with an execute method that takes no arguments. This pure virtual base class is derived to support either global functions or methods with the signature "void method(void)" (non const)

Constructor & Destructor Documentation

mtsCallableVoidBase::mtsCallableVoidBase ( void  )
inline

The constructor. Does nothing

virtual mtsCallableVoidBase::~mtsCallableVoidBase ( )
inlinevirtual

The destructor. Does nothing

Member Function Documentation

virtual mtsExecutionResult mtsCallableVoidBase::Execute ( void  )
pure virtual

The execute method. Abstract method to be implemented by derived classes to run the actual operation on the receiver.

Implemented in mtsCallableVoidMethod< _classType >, and mtsCallableVoidFunction.

virtual void mtsCallableVoidBase::ToStream ( std::ostream &  outputStream) const
pure virtual

Human readable description

Implemented in mtsCallableVoidMethod< _classType >, and mtsCallableVoidFunction.


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