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

#include <prmPositionJointSet.h>

Inheritance diagram for prmPositionJointSet:
prmMotionBase mtsGenericObject cmnGenericObject

Public Types

typedef unsigned int size_type
 
typedef prmMotionBase BaseType
 
typedef prmPositionJointSet ThisType
 
- Public Types inherited from prmMotionBase
typedef mtsGenericObject BaseType
 

Public Member Functions

 prmPositionJointSet ()
 
 prmPositionJointSet (size_type size)
 
void SetSize (size_type size)
 
 prmPositionJointSet (const vctBoolVec &mask, const vctDoubleVec &goal, const vctDoubleVec &velocity, const vctDoubleVec &acceleration, const vctDoubleVec &deceleration)
 
virtual ~prmPositionJointSet ()
 
void SerializeRaw (std::ostream &outputStream) const
 
void DeSerializeRaw (std::istream &inputStream)
 
- 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)
 
 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)
 
bool SetTimestampIfAutomatic (double timestamp)
 
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= ' ')
 
size_t ScalarNumber (void) const
 
bool ScalarNumberIsFixed (void) const
 
double Scalar (const size_t index) const throw (std::out_of_range)
 
std::string ScalarDescription (const size_t index, const std::string &userDescription="") const throw (std::out_of_range)
 
- 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 cmnLogger::StreamBufTypeGetLogMultiplexer (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

 CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, Mask)
 
 CMN_DECLARE_MEMBER_AND_ACCESSORS (vctDoubleVec, Goal)
 
 CMN_DECLARE_MEMBER_AND_ACCESSORS (vctDoubleVec, Velocity)
 
 CMN_DECLARE_MEMBER_AND_ACCESSORS (vctDoubleVec, Acceleration)
 
 CMN_DECLARE_MEMBER_AND_ACCESSORS (vctDoubleVec, Deceleration)
 

Detailed Description

motion command arguments for joint angle based motion

Member Typedef Documentation

typedef unsigned int prmPositionJointSet::size_type

Constructor & Destructor Documentation

prmPositionJointSet::prmPositionJointSet ( )
inline

default constructor - does nothing for now

prmPositionJointSet::prmPositionJointSet ( size_type  size)
inline

this constructor sets the size of the vector type members

prmPositionJointSet::prmPositionJointSet ( const vctBoolVec mask,
const vctDoubleVec goal,
const vctDoubleVec velocity,
const vctDoubleVec acceleration,
const vctDoubleVec deceleration 
)
inline

constructor with all possible parameters

virtual prmPositionJointSet::~prmPositionJointSet ( )
virtual

destructor

Member Function Documentation

prmPositionJointSet::CMN_DECLARE_MEMBER_AND_ACCESSORS ( vctBoolVec  ,
Mask   
)
protected

masks correpsonding elements in goal, if an element is set true –> corresponding goal should be used

prmPositionJointSet::CMN_DECLARE_MEMBER_AND_ACCESSORS ( vctDoubleVec  ,
Goal   
)
protected

a motion goal in joint angles. only goals corresponding to mask elements set true are used

prmPositionJointSet::CMN_DECLARE_MEMBER_AND_ACCESSORS ( vctDoubleVec  ,
Velocity   
)
protected

corresponding joint velocities

prmPositionJointSet::CMN_DECLARE_MEMBER_AND_ACCESSORS ( vctDoubleVec  ,
Acceleration   
)
protected

corresponding accelerations where needed

prmPositionJointSet::CMN_DECLARE_MEMBER_AND_ACCESSORS ( vctDoubleVec  ,
Deceleration   
)
protected

corresponding accelerations where applicable

void prmPositionJointSet::DeSerializeRaw ( std::istream &  inputStream)
virtual

Binary deserialization

Reimplemented from prmMotionBase.

void prmPositionJointSet::SerializeRaw ( std::ostream &  outputStream) const
virtual

Binary serialization

Reimplemented from prmMotionBase.

void prmPositionJointSet::SetSize ( size_type  size)

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