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

#include <prmForceCartesianSet.h>

Inheritance diagram for prmForceCartesianSet:
prmMotionBase mtsGenericObject cmnGenericObject

Public Types

typedef prmMotionBase BaseType
typedef vctFixedSizeVector< double, 6 > ForceType
typedef vctFixedSizeVector< bool, 6 > MaskType
Public Types inherited from prmMotionBase
typedef mtsGenericObject BaseType

Public Member Functions

 prmForceCartesianSet ()
 prmForceCartesianSet (const ForceType &force, const MaskType &mask)
void SetAll (double forceSet, bool mask)
virtual ~prmForceCartesianSet ()
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 SerializeRaw (std::ostream &outputStream) const override
void DeSerializeRaw (std::istream &inputStream) override
Public Member Functions inherited from prmMotionBase
 prmMotionBase ()
 prmMotionBase (const prmBlocking &blockingFlag, const bool &blendingFactor, const double &timeLimit, const bool &isPreemptable, const bool &isCoordinated, const bool &isGoalOnly)
virtual ~prmMotionBase ()
void SetBaseParameter (const prmBlocking &blockingFlag, const bool &blendingFactor, const double &timeLimit, const bool &isPreemptable, const bool &isCoordinated, const bool &isGoalOnly)
void SerializeRaw (std::ostream &outputStream) const
void DeSerializeRaw (std::istream &inputStream)
 CMN_DECLARE_MEMBER_AND_ACCESSORS (prmBlocking, BlockingFlag)
 CMN_DECLARE_MEMBER_AND_ACCESSORS (bool, BlendingFactor)
 CMN_DECLARE_MEMBER_AND_ACCESSORS (double, TimeLimit)
 CMN_DECLARE_MEMBER_AND_ACCESSORS (bool, IsPreemptable)
 CMN_DECLARE_MEMBER_AND_ACCESSORS (bool, IsCoordinated)
 CMN_DECLARE_MEMBER_AND_ACCESSORS (bool, IsGoalOnly)
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=' ')
size_t ScalarNumber (void) const
bool ScalarNumberIsFixed (void) const
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

Protected Member Functions

 CMN_DECLARE_MEMBER_AND_ACCESSORS (ForceType, Force)
 CMN_DECLARE_MEMBER_AND_ACCESSORS (MaskType, Mask)

Detailed Description

Cartesian position motion command arguments - default motion is a line between the current position and the goal

Member Typedef Documentation

◆ BaseType

◆ ForceType

◆ MaskType

Constructor & Destructor Documentation

◆ prmForceCartesianSet() [1/2]

prmForceCartesianSet::prmForceCartesianSet ( )
inline

default constructor

◆ prmForceCartesianSet() [2/2]

prmForceCartesianSet::prmForceCartesianSet ( const ForceType & force,
const MaskType & mask )
inline

constructor with all parameters

◆ ~prmForceCartesianSet()

virtual prmForceCartesianSet::~prmForceCartesianSet ( )
virtual

destructor

Member Function Documentation

◆ CMN_DECLARE_MEMBER_AND_ACCESSORS() [1/2]

prmForceCartesianSet::CMN_DECLARE_MEMBER_AND_ACCESSORS ( ForceType ,
Force  )
protected

Set and Get methods for the reference frame for current force, mask, movinf and reference frames. This is defined by a node in the transformation tree.

◆ CMN_DECLARE_MEMBER_AND_ACCESSORS() [2/2]

prmForceCartesianSet::CMN_DECLARE_MEMBER_AND_ACCESSORS ( MaskType ,
Mask  )
protected

◆ DeSerializeRaw()

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

Binary deserialization

Reimplemented from mtsGenericObject.

◆ SerializeRaw()

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

Binary serialization

Reimplemented from mtsGenericObject.

◆ SetAll()

void prmForceCartesianSet::SetAll ( double forceSet,
bool mask )
inline

◆ ToStream()

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

Human readable output to stream.

Reimplemented from mtsGenericObject.

◆ ToStreamRaw()

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

To stream raw data.

Reimplemented from mtsGenericObject.


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