|
cisst-saw
|
#include <mtsInterface.h>
Public Member Functions | |
| mtsInterface (const std::string &interfaceName, mtsComponent *component) | |
| virtual | ~mtsInterface () |
| const std::string & | GetName (void) const |
| const std::string | GetFullName (void) const |
| const mtsComponent * | GetComponent (void) const |
| const std::string & | GetComponentName (void) const |
Public Member Functions inherited from cmnGenericObject | |
| 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 Attributes | |
| const std::string | Name |
| mtsComponent * | Component |
Base class for all interfaces.
| mtsInterface::mtsInterface | ( | const std::string & | interfaceName, |
| mtsComponent * | component | ||
| ) |
Constructor. Sets the name.
| interfaceName | Name of interface |
|
virtual |
Default destructor.
| const mtsComponent* mtsInterface::GetComponent | ( | void | ) | const |
Get a const pointer on the component
| const std::string& mtsInterface::GetComponentName | ( | void | ) | const |
Returns name of owner component
| const std::string mtsInterface::GetFullName | ( | void | ) | const |
Returns the name of the this interface as well as the component that owns the interface.
| const std::string& mtsInterface::GetName | ( | void | ) | const |
Returns the name of the interface.
|
protected |
Pointer on the device itself.
|
protected |
A string identifying the 'Name' of this interface.
1.8.6