Choreonoid  1.8
Public Member Functions | Protected Member Functions | List of all members
cnoid::AbstractMultiSeq Class Referenceabstract

#include <AbstractSeq.h>

Inheritance diagram for cnoid::AbstractMultiSeq:
cnoid::AbstractSeq cnoid::MultiSeq< ElementType, Allocator > cnoid::MultiSeq< DeviceStatePtr > cnoid::MultiSeq< double > cnoid::MultiSeq< Isometry3, Eigen::aligned_allocator< Isometry3 > > cnoid::MultiSeq< SE3, Eigen::aligned_allocator< SE3 > > cnoid::MultiSeq< std::shared_ptr< CollisionLinkPairList > > cnoid::MultiSeq< Vector3, Eigen::aligned_allocator< Vector3 > > cnoid::MultiDeviceStateSeq cnoid::MultiValueSeq cnoid::MultiSE3MatrixSeq cnoid::MultiSE3Seq cnoid::CollisionSeq cnoid::MultiVector3Seq

Public Member Functions

 AbstractMultiSeq (const char *seqType)
 
 AbstractMultiSeq (const AbstractMultiSeq &org)
 
virtual ~AbstractMultiSeq ()
 
AbstractMultiSeqoperator= (const AbstractMultiSeq &rhs)
 
virtual std::shared_ptr< AbstractSeqcloneSeq () const =0
 
void copySeqProperties (const AbstractMultiSeq &source)
 
virtual void setDimension (int numFrames, int numParts, bool clearNewElements=false)=0
 
virtual void setNumParts (int numParts, bool clearNewElements=false)=0
 
virtual int getNumParts () const =0
 
virtual int partIndex (const std::string &partLabel) const
 
virtual const std::string & partLabel (int partIndex) const
 
virtual AbstractSeqoperator= (const AbstractSeq &rhs)
 
- Public Member Functions inherited from cnoid::AbstractSeq
virtual ~AbstractSeq ()
 
virtual AbstractSeqoperator= (const AbstractSeq &rhs)
 
void copySeqProperties (const AbstractSeq &source)
 
const std::string & seqType () const
 
virtual double getFrameRate () const =0
 
virtual void setFrameRate (double frameRate)=0
 
double getTimeStep () const
 
void setTimeStep (double timeStep)
 
double getTimeOfFrame (int frame) const
 
int getFrameOfTime (double time) const
 
virtual double getOffsetTime () const =0
 
virtual void setOffsetTime (double time)=0
 
int getOffsetTimeFrame () const
 
virtual int getNumFrames () const =0
 
virtual void setNumFrames (int n, bool clearNewElements=false)=0
 
void setTimeLength (double length, bool clearNewElements=false)
 
double getTimeLength () const
 
const std::string & seqContentName ()
 
virtual void setSeqContentName (const std::string &name)
 
bool readSeq (const Mapping *archive, std::ostream &os=nullout())
 
bool writeSeq (YAMLWriter &writer)
 
const std::string & seqMessage () const
 deprecated. Use the os parameter of readSeq to get messages in reading More...
 

Protected Member Functions

virtual bool doWriteSeq (YAMLWriter &writer, std::function< void()> additionalPartCallback)
 
std::vector< std::string > readSeqPartLabels (const Mapping *archive)
 
bool writeSeqPartLabels (YAMLWriter &writer)
 
- Protected Member Functions inherited from cnoid::AbstractSeq
 AbstractSeq (const char *seqType)
 
 AbstractSeq (const AbstractSeq &org)
 
void setSeqType (const std::string &type)
 
virtual bool doReadSeq (const Mapping *archive, std::ostream &os)
 
void clearSeqMessage ()
 deprecated. Use the os parameter of readSeq to get messages in reading More...
 
void addSeqMessage (const std::string &message)
 deprecated. Use the os parameter of readSeq to get messages in reading More...
 

Additional Inherited Members

- Static Public Member Functions inherited from cnoid::AbstractSeq
static double defaultFrameRate ()
 

Constructor & Destructor Documentation

◆ AbstractMultiSeq() [1/2]

AbstractMultiSeq::AbstractMultiSeq ( const char *  seqType)

◆ AbstractMultiSeq() [2/2]

AbstractMultiSeq::AbstractMultiSeq ( const AbstractMultiSeq org)

◆ ~AbstractMultiSeq()

AbstractMultiSeq::~AbstractMultiSeq ( )
virtual

Member Function Documentation

◆ cloneSeq()

virtual std::shared_ptr<AbstractSeq> cnoid::AbstractMultiSeq::cloneSeq ( ) const
pure virtual

◆ copySeqProperties()

void AbstractMultiSeq::copySeqProperties ( const AbstractMultiSeq source)

◆ doWriteSeq()

bool AbstractMultiSeq::doWriteSeq ( YAMLWriter writer,
std::function< void()>  additionalPartCallback 
)
protectedvirtual

◆ getNumParts()

virtual int cnoid::AbstractMultiSeq::getNumParts ( ) const
pure virtual

◆ operator=() [1/2]

AbstractMultiSeq & AbstractMultiSeq::operator= ( const AbstractMultiSeq rhs)

◆ operator=() [2/2]

AbstractSeq & AbstractSeq::operator=

◆ partIndex()

int AbstractMultiSeq::partIndex ( const std::string &  partLabel) const
virtual

Reimplemented in cnoid::MultiDeviceStateSeq.

◆ partLabel()

const std::string & AbstractMultiSeq::partLabel ( int  partIndex) const
virtual

Reimplemented in cnoid::MultiDeviceStateSeq.

◆ readSeqPartLabels()

std::vector< std::string > AbstractMultiSeq::readSeqPartLabels ( const Mapping archive)
protected

◆ setDimension()

virtual void cnoid::AbstractMultiSeq::setDimension ( int  numFrames,
int  numParts,
bool  clearNewElements = false 
)
pure virtual

◆ setNumParts()

virtual void cnoid::AbstractMultiSeq::setNumParts ( int  numParts,
bool  clearNewElements = false 
)
pure virtual

◆ writeSeqPartLabels()

bool AbstractMultiSeq::writeSeqPartLabels ( YAMLWriter writer)
protected

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