cisst-saw
Loading...
Searching...
No Matches
prmForwardKinematicsRequest Class Reference

#include <prmForwardKinematicsRequest.h>

Inheritance diagram for prmForwardKinematicsRequest:
mtsGenericObject cmnGenericObject

Public Member Functions

 prmForwardKinematicsRequest (void)
 prmForwardKinematicsRequest (const prmForwardKinematicsRequest &other)
prmForwardKinematicsRequestoperator= (const prmForwardKinematicsRequest &other)
 ~prmForwardKinematicsRequest ()
void Getjp (vctDynamicVector< double > &placeHolder) const
vctDynamicVector< double > Getjp (void) const
void Setjp (const vctDynamicVector< double > &newValue)
const vctDynamicVector< double > & jp (void) const
vctDynamicVector< double > & jp (void)
void SerializeRaw (std::ostream &outputStream) const override
void DeSerializeRaw (std::istream &inputStream) override
void ToStream (std::ostream &outputStream) const override
void ToStreamRaw (std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const override
void Copy (const prmForwardKinematicsRequest &source)
bool ScalarNumberIsFixed (void) const override
size_t ScalarNumber (void) const override
Public Member Functions inherited from mtsGenericObject
 mtsGenericObject (void)
 mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid)
 mtsGenericObject (const mtsGenericObject &other)
virtual ~mtsGenericObject (void)
mtsGenericObjectoperator= (const mtsGenericObject &other)
bool SetTimestampIfAutomatic (double timestamp)
virtual bool FromStreamRaw (std::istream &inputStream, const char delimiter=' ')
Public Member Functions inherited from cmnGenericObject
virtual ~cmnGenericObject (void)
virtual const cmnClassServicesBaseServices (void) const =0
bool ReconstructFrom (const cmnGenericObject &other)
std::string ToString (void) const
virtual cmnLogger::StreamBufTypeGetLogMultiplexer (void) const
virtual double Scalar (const size_t CMN_UNUSED(index)) const CISST_THROW(std
virtual std::string ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const

Public Attributes

void SerializeBinary(std::ostream &outputStream) const CISST_THROW(std void DeSerializeBinary(std::istream &inputStream, const cmnDataFormat &localFormat, const cmnDataFormat &remoteFormat) CISST_THROW(std void SerializeText(std::ostream &outputStream, const char delimiter=',') const CISST_THROW(std std::string SerializeDescription (const char delimiter=',', const std::string &userDescription="") const
void DeSerializeText(std::istream &inputStream, const char delimiter=',') CISST_THROW(std std::string HumanReadable (void) const

Protected Attributes

vctDynamicVector< double > mjp

Constructor & Destructor Documentation

◆ prmForwardKinematicsRequest() [1/2]

prmForwardKinematicsRequest::prmForwardKinematicsRequest ( void )

◆ prmForwardKinematicsRequest() [2/2]

prmForwardKinematicsRequest::prmForwardKinematicsRequest ( const prmForwardKinematicsRequest & other)

◆ ~prmForwardKinematicsRequest()

prmForwardKinematicsRequest::~prmForwardKinematicsRequest ( )

Member Function Documentation

◆ Copy()

void prmForwardKinematicsRequest::Copy ( const prmForwardKinematicsRequest & source)

◆ DeSerializeRaw()

void prmForwardKinematicsRequest::DeSerializeRaw ( std::istream & inputStream)
overridevirtual

Binary deserialization

Reimplemented from mtsGenericObject.

◆ Getjp() [1/2]

void prmForwardKinematicsRequest::Getjp ( vctDynamicVector< double > & placeHolder) const

◆ Getjp() [2/2]

vctDynamicVector< double > prmForwardKinematicsRequest::Getjp ( void ) const
inline

◆ jp() [1/2]

vctDynamicVector< double > & prmForwardKinematicsRequest::jp ( void )

◆ jp() [2/2]

const vctDynamicVector< double > & prmForwardKinematicsRequest::jp ( void ) const

◆ operator=()

prmForwardKinematicsRequest & prmForwardKinematicsRequest::operator= ( const prmForwardKinematicsRequest & other)

◆ ScalarNumber()

size_t prmForwardKinematicsRequest::ScalarNumber ( void ) const
overridevirtual

Methods for data visualization. Derived classes should override the following methods in order to be properly processed by the data visualizer of the global component manager.

Return a number of data (which can be visualized, i.e., type-casted to double)

Reimplemented from mtsGenericObject.

◆ ScalarNumberIsFixed()

bool prmForwardKinematicsRequest::ScalarNumberIsFixed ( void ) const
overridevirtual

Indicates if this object has a fixed number of scalars. This is used for arrays of object in order to optimize random access for a given scalar. When defining an object with a fixed number of scalars, overloading this method to return true allows some optimizations.

Reimplemented from mtsGenericObject.

◆ SerializeRaw()

void prmForwardKinematicsRequest::SerializeRaw ( std::ostream & outputStream) const
overridevirtual

Binary serialization

Reimplemented from mtsGenericObject.

◆ Setjp()

void prmForwardKinematicsRequest::Setjp ( const vctDynamicVector< double > & newValue)

◆ ToStream()

void prmForwardKinematicsRequest::ToStream ( std::ostream & outputStream) const
overridevirtual

Human readable text output. This method only streams the data members of mtsGenericObject, i.e. the Timestamp and Valid flag. It should be called by any derived class re-implementing ToStream.

Reimplemented from mtsGenericObject.

◆ ToStreamRaw()

void prmForwardKinematicsRequest::ToStreamRaw ( std::ostream & outputStream,
const char delimiter = ' ',
bool headerOnly = false,
const std::string & headerPrefix = "" ) const
overridevirtual

Raw text output to stream

Reimplemented from mtsGenericObject.

Member Data Documentation

◆ HumanReadable

void DeSerializeText(std::istream &inputStream, const char delimiter=',') CISST_THROW(std std::string prmForwardKinematicsRequest::HumanReadable(void) const

◆ mjp

vctDynamicVector<double> prmForwardKinematicsRequest::mjp
protected

◆ SerializeDescription

void SerializeBinary(std::ostream &outputStream) const CISST_THROW(std void DeSerializeBinary(std::istream &inputStream, const cmnDataFormat &localFormat, const cmnDataFormat &remoteFormat) CISST_THROW(std void SerializeText(std::ostream &outputStream, const char delimiter=',') const CISST_THROW(std std::string prmForwardKinematicsRequest::SerializeDescription(const char delimiter=',', const std::string &userDescription="") const

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