cisst-saw
|
#include <mtsInterfaceProvidedOrOutput.h>
Public Member Functions | |
mtsInterfaceProvidedOrOutput (const std::string &interfaceName, mtsComponent *component) | |
virtual | ~mtsInterfaceProvidedOrOutput () |
const std::string & | GetName (void) const |
const std::string | GetFullName (void) const |
const mtsComponent * | GetComponent (void) const |
virtual void | Cleanup (void) |
![]() | |
virtual | ~cmnGenericObject (void) |
virtual const cmnClassServicesBase * | Services (void) const =0 |
bool | ReconstructFrom (const cmnGenericObject &other) |
std::string | ToString (void) const |
virtual void | ToStream (std::ostream &outputStream) const |
virtual void | ToStreamRaw (std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const |
virtual bool | FromStreamRaw (std::istream &inputStream, const char delimiter= ' ') |
virtual void | SerializeRaw (std::ostream &outputStream) const |
virtual void | DeSerializeRaw (std::istream &inputStream) |
virtual cmnLogger::StreamBufType * | GetLogMultiplexer (void) const |
virtual size_t | ScalarNumber (void) const |
virtual bool | ScalarNumberIsFixed (void) const |
virtual double | Scalar (const size_t CMN_UNUSED(index)) const throw (std::out_of_range) |
virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
Protected Member Functions | |
mtsInterfaceProvidedOrOutput (void) | |
Protected Attributes | |
const std::string | Name |
mtsComponent * | Component |
|
inlineprotected |
Default constructor. Does nothing, should not be used.
mtsInterfaceProvidedOrOutput::mtsInterfaceProvidedOrOutput | ( | const std::string & | interfaceName, |
mtsComponent * | component | ||
) |
Constructor. Sets the name.
|
inlinevirtual |
Default destructor. Does nothing.
|
virtual |
Cleanup method
const mtsComponent* mtsInterfaceProvidedOrOutput::GetComponent | ( | void | ) | const |
Get a const pointer on the component
const std::string mtsInterfaceProvidedOrOutput::GetFullName | ( | void | ) | const |
Returns the name of the this interface as well as the component that owns the interface.
const std::string& mtsInterfaceProvidedOrOutput::GetName | ( | void | ) | const |
Returns the name of the interface.
|
protected |
Pointer on the component itself.
|
protected |
A string identifying the 'Name' of the interface.