Choreonoid  1.8
Public Member Functions | Static Public Member Functions | List of all members
cnoid::BodyMotionEngine Class Reference

#include <BodyMotionEngine.h>

Inheritance diagram for cnoid::BodyMotionEngine:
cnoid::TimeSyncItemEngine cnoid::Referenced

Public Member Functions

 BodyMotionEngine (BodyItem *bodyItem, BodyMotionItem *motionItem)
 
virtual ~BodyMotionEngine ()
 
BodyItembodyItem ()
 
BodyMotionItemmotionItem ()
 
virtual void onPlaybackStarted (double time) override
 
virtual bool onTimeChanged (double time) override
 
virtual void onPlaybackStopped (double time, bool isStoppedManually) override
 
- Public Member Functions inherited from cnoid::TimeSyncItemEngine
 TimeSyncItemEngine (Item *item)
 
virtual ~TimeSyncItemEngine ()
 
 TimeSyncItemEngine (const TimeSyncItemEngine &org)=delete
 
TimeSyncItemEngineoperator= (const TimeSyncItemEngine &rhs)=delete
 
Itemitem ()
 
virtual bool onPlaybackInitialized (double time)
 
virtual bool isTimeSyncAlwaysMaintained () const
 
void startOngoingTimeUpdate ()
 
void startOngoingTimeUpdate (double time)
 
bool isUpdatingOngoingTime () const
 
bool isOngoingTimeUpdateAccepted () const
 
void updateOngoingTime (double time)
 
void stopOngoingTimeUpdate ()
 
void refresh ()
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Static Public Member Functions

static void initializeClass (ExtensionManager *ext)
 
static void addExtraSeqEngineFactory (const std::string &key, std::function< TimeSyncItemEngine *(BodyItem *bodyItem, AbstractSeqItem *seqItem)> factory)
 

Additional Inherited Members

- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
int refCount () const
 

Constructor & Destructor Documentation

◆ BodyMotionEngine()

BodyMotionEngine::BodyMotionEngine ( BodyItem bodyItem,
BodyMotionItem motionItem 
)

◆ ~BodyMotionEngine()

BodyMotionEngine::~BodyMotionEngine ( )
virtual

Member Function Documentation

◆ addExtraSeqEngineFactory()

void BodyMotionEngine::addExtraSeqEngineFactory ( const std::string &  key,
std::function< TimeSyncItemEngine *(BodyItem *bodyItem, AbstractSeqItem *seqItem)>  factory 
)
static

◆ bodyItem()

BodyItem * BodyMotionEngine::bodyItem ( )

◆ initializeClass()

void BodyMotionEngine::initializeClass ( ExtensionManager ext)
static

◆ motionItem()

BodyMotionItem * BodyMotionEngine::motionItem ( )

◆ onPlaybackStarted()

void BodyMotionEngine::onPlaybackStarted ( double  time)
overridevirtual

Reimplemented from cnoid::TimeSyncItemEngine.

◆ onPlaybackStopped()

void BodyMotionEngine::onPlaybackStopped ( double  time,
bool  isStoppedManually 
)
overridevirtual

Reimplemented from cnoid::TimeSyncItemEngine.

◆ onTimeChanged()

bool BodyMotionEngine::onTimeChanged ( double  time)
overridevirtual

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