Choreonoid
1.8
|
#include <AbstractSeq.h>
Public Member Functions | |
AbstractMultiSeq (const char *seqType) | |
AbstractMultiSeq (const AbstractMultiSeq &org) | |
virtual | ~AbstractMultiSeq () |
AbstractMultiSeq & | operator= (const AbstractMultiSeq &rhs) |
virtual std::shared_ptr< AbstractSeq > | cloneSeq () 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 AbstractSeq & | operator= (const AbstractSeq &rhs) |
Public Member Functions inherited from cnoid::AbstractSeq | |
virtual | ~AbstractSeq () |
virtual AbstractSeq & | operator= (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 () |
AbstractMultiSeq::AbstractMultiSeq | ( | const char * | seqType | ) |
AbstractMultiSeq::AbstractMultiSeq | ( | const AbstractMultiSeq & | org | ) |
|
virtual |
|
pure virtual |
Implements cnoid::AbstractSeq.
Implemented in cnoid::MultiSeq< ElementType, Allocator >, cnoid::MultiSE3Seq, cnoid::MultiSE3MatrixSeq, cnoid::MultiDeviceStateSeq, cnoid::MultiVector3Seq, and cnoid::MultiValueSeq.
void AbstractMultiSeq::copySeqProperties | ( | const AbstractMultiSeq & | source | ) |
|
protectedvirtual |
Reimplemented from cnoid::AbstractSeq.
Reimplemented in cnoid::MultiValueSeq, cnoid::MultiSE3Seq, cnoid::MultiDeviceStateSeq, cnoid::CollisionSeq, and cnoid::MultiVector3Seq.
|
pure virtual |
Implemented in cnoid::MultiSeq< ElementType, Allocator >.
AbstractMultiSeq & AbstractMultiSeq::operator= | ( | const AbstractMultiSeq & | rhs | ) |
AbstractSeq & AbstractSeq::operator= |
|
virtual |
Reimplemented in cnoid::MultiDeviceStateSeq.
|
virtual |
Reimplemented in cnoid::MultiDeviceStateSeq.
|
protected |
|
pure virtual |
Implemented in cnoid::MultiSeq< ElementType, Allocator >, cnoid::MultiSeq< DeviceStatePtr >, cnoid::MultiSeq< SE3, Eigen::aligned_allocator< SE3 > >, cnoid::MultiSeq< double >, cnoid::MultiSeq< Isometry3, Eigen::aligned_allocator< Isometry3 > >, cnoid::MultiSeq< Vector3, Eigen::aligned_allocator< Vector3 > >, and cnoid::MultiSeq< std::shared_ptr< CollisionLinkPairList > >.
|
pure virtual |
Implemented in cnoid::MultiSeq< ElementType, Allocator >, cnoid::MultiSeq< DeviceStatePtr >, cnoid::MultiSeq< SE3, Eigen::aligned_allocator< SE3 > >, cnoid::MultiSeq< double >, cnoid::MultiSeq< Isometry3, Eigen::aligned_allocator< Isometry3 > >, cnoid::MultiSeq< Vector3, Eigen::aligned_allocator< Vector3 > >, and cnoid::MultiSeq< std::shared_ptr< CollisionLinkPairList > >.
|
protected |