Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
DynamicMotionSequence Class Reference#include <DynamicMotionSequence.h>
Inheritance diagram for DynamicMotionSequence:
![]() Detailed DescriptionUses STL's vector for dynamic memory allocation - don't use this as a motion command, pointers in shared memory regions can be invalid in other processes.See MotionSequenceEngine for documentation on its members Definition at line 13 of file DynamicMotionSequence.h.
Member Typedef Documentation
shorthand for the ListMemBuf that stores all of the movement frames
Definition at line 82 of file DynamicMotionSequence.h.
Constructor & Destructor Documentation
constructor, loads from a file and then resets the playtime to beginning and begins to play
Definition at line 18 of file DynamicMotionSequence.h.
Member Function Documentation
not used by MotionManager at the moment, but could be used to reduce recomputation, and you may find it useful
Implements MotionCommand. Definition at line 36 of file DynamicMotionSequence.h.
used to prune "dead" motions from the MotionManager note that a motion could be "paused" or inactive and therefore not dirty, but still alive, biding its time to "strike" ;)
Implements MotionCommand. Definition at line 37 of file DynamicMotionSequence.h.
is called once per update cycle, can do any processing you need to change your priorities or set output commands on the MotionManager
Implements MotionCommand. Definition at line 39 of file DynamicMotionSequence.h.
empties out the sequence (constant time operation - faster than a series of pops)
Implements MotionSequenceEngine. Definition at line 64 of file DynamicMotionSequence.h. Referenced by DynamicMotionSequence().
returns the maximum number of key frames (Move's) which can be stored, determined by the instantiating MotionSequenceMC's template parameter
Implements MotionSequenceEngine. Definition at line 77 of file DynamicMotionSequence.h.
returns the number of used key frames (Move's) which have been stored by the instantiation MotionSequenceEngine subclass
Implements MotionSequenceEngine. Definition at line 78 of file DynamicMotionSequence.h.
causes subclass to create a new Move structure, returns its index
Implements MotionSequenceEngine. Definition at line 90 of file DynamicMotionSequence.h.
advances (or rewinds) prev and next so that t falls between them
Definition at line 103 of file DynamicMotionSequence.h. Referenced by updateOutputs().
Member Data Documentation
stores all of the movement keyframes
Definition at line 85 of file DynamicMotionSequence.h. Referenced by clear(), getKeyFrame(), getUsedFrames(), newKeyFrame(), setRange(), and updateOutputs().
recycles erased keyframes, can't just shift elements in moves, it would throw of index numbers in Move structures
Definition at line 86 of file DynamicMotionSequence.h. Referenced by clear(), eraseKeyFrame(), getUsedFrames(), and newKeyFrame().
The documentation for this class was generated from the following file: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:17 2007 by Doxygen 1.5.4 |