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

#include <mtsInterface.h>

Inheritance diagram for mtsInterface:
cmnGenericObject mtsInterfaceInput mtsInterfaceOutput mtsInterfaceProvided mtsInterfaceRequired svlFilterInput svlFilterOutput

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 mtsComponentGetComponent (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::StreamBufTypeGetLogMultiplexer (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
 
mtsComponentComponent
 

Detailed Description

Base class for all interfaces.

Constructor & Destructor Documentation

mtsInterface::mtsInterface ( const std::string &  interfaceName,
mtsComponent component 
)

Constructor. Sets the name.

Parameters
interfaceNameName of interface
virtual mtsInterface::~mtsInterface ( )
virtual

Default destructor.

Member Function Documentation

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.

Member Data Documentation

mtsComponent* mtsInterface::Component
protected

Pointer on the device itself.

const std::string mtsInterface::Name
protected

A string identifying the 'Name' of this interface.


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