Choreonoid
1.8
|
#include <ReferencedObjectSeq.h>
Public Types | |
typedef Seq< ReferencedPtr > | BaseSeqType |
typedef BaseSeqType::value_type | value_type |
Public Types inherited from cnoid::Seq< ReferencedPtr > | |
typedef ReferencedPtr | value_type |
Public Member Functions | |
ReferencedObjectSeq (int nFrames=0) | |
ReferencedObjectSeq (const ReferencedObjectSeq &org) | |
virtual | ~ReferencedObjectSeq () |
virtual std::shared_ptr< AbstractSeq > | cloneSeq () const override |
Public Member Functions inherited from cnoid::Seq< ReferencedPtr > | |
Seq (const char *seqType, int nFrames=0.0) | |
Seq (const SeqType &org) | |
SeqType & | operator= (const SeqType &rhs) |
virtual AbstractSeq & | operator= (const AbstractSeq &rhs) override |
virtual std::shared_ptr< AbstractSeq > | cloneSeq () const override |
virtual | ~Seq () |
double | frameRate () const |
virtual double | getFrameRate () const override |
virtual void | setFrameRate (double frameRate) override |
int | numFrames () const |
virtual int | getNumFrames () const override |
virtual void | setNumFrames (int n, bool fillNewElements=false) override |
void | clear () |
bool | empty () const |
double | timeLength () const |
int | frameOfTime (double time) const |
int | lastFrameOfTime (double time) const |
double | timeOfFrame (int frame) const |
virtual double | getOffsetTime () const override |
virtual void | setOffsetTime (double time) override |
int | offsetTimeFrame () const |
void | setOffsetTimeFrame (int offset) |
ReferencedPtr & | operator[] (int frameIndex) |
const ReferencedPtr & | operator[] (int frameIndex) const |
ReferencedPtr & | at (int frameIndex) |
const ReferencedPtr & | at (int frameIndex) const |
ReferencedPtr & | front () |
const ReferencedPtr & | front () const |
ReferencedPtr & | back () |
const ReferencedPtr & | back () const |
int | clampFrameIndex (int frameIndex, bool &out_isValidRange) |
Public Member Functions inherited from cnoid::AbstractSeq | |
virtual | ~AbstractSeq () |
void | copySeqProperties (const AbstractSeq &source) |
const std::string & | seqType () const |
virtual double | getFrameRate () const =0 |
double | getTimeStep () const |
void | setTimeStep (double timeStep) |
double | getTimeOfFrame (int frame) const |
int | getFrameOfTime (double time) const |
virtual double | getOffsetTime () const =0 |
int | getOffsetTimeFrame () const |
virtual int | getNumFrames () const =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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from cnoid::AbstractSeq | |
static double | defaultFrameRate () |
Protected Member Functions inherited from cnoid::Seq< ReferencedPtr > | |
virtual ReferencedPtr | defaultValue () const |
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) |
virtual bool | doWriteSeq (YAMLWriter &writer, std::function< void()> additionalPartCallback) |
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... | |
Protected Attributes inherited from cnoid::Seq< ReferencedPtr > | |
std::vector< ReferencedPtr > | container |
double | frameRate_ |
double | offsetTime_ |
ReferencedObjectSeq::ReferencedObjectSeq | ( | int | nFrames = 0 | ) |
ReferencedObjectSeq::ReferencedObjectSeq | ( | const ReferencedObjectSeq & | org | ) |
|
virtual |
|
overridevirtual |
Implements cnoid::AbstractSeq.