cisst-saw
Loading...
Searching...
No Matches
mtsCallableVoidBase Class Referenceabstract

#include <mtsCallableVoidBase.h>

Inheritance diagram for mtsCallableVoidBase:
mtsCallableVoidMethod< ClassType > 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::mtsCallableVoidBase ( void )
inline

The constructor. Does nothing

◆ ~mtsCallableVoidBase()

virtual mtsCallableVoidBase::~mtsCallableVoidBase ( )
inlinevirtual

The destructor. Does nothing

Member Function Documentation

◆ Execute()

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 mtsCallableVoidFunction, mtsCallableVoidMethod< _classType >, and mtsCallableVoidMethod< ClassType >.

◆ ToStream()

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

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