Om  1.0.0
A universal framework for multimedia simulation
Classes | Public Member Functions | Static Public Attributes | List of all members
om::engine::animation::AnimationSequencerTrack Class Reference

A class that handles playback of time sequences of animation data. More...

#include <omEngineAnimationSequencerTrack.h>

Inheritance diagram for om::engine::animation::AnimationSequencerTrack:
om::engine::base::SequencerTrack

Public Member Functions

 AnimationSequencerTrack ()
 Create a new animation sequencer track that has no sequences that it can play. More...
 
virtual Size getSequenceCount () const
 Return the number of sequences that this track supports playing. More...
 
virtual SequencegetSequence (Index sequenceIndex) const
 Return a pointer to the sequence at the specified index in this track. More...
 
void setSequence (Index sequenceIndex, Sequence *newSequence)
 Set a pointer to the sequence at the given index. More...
 
AnimationTrack * getSequenceTrack (Index sequenceIndex) const
 Return a pointer to the animation track that is associated with the sequence with the given index. More...
 
void setSequenceTrack (Index sequenceIndex, AnimationTrack *newTrack)
 Set a pointer to the animation track that is associated with the sequence with the given index. More...
 
virtual Bool getSequenceIndex (Sequence *sequence, Index &sequenceIndex) const
 Get the index of the specified sequence in this track. More...
 
void addSequence (Sequence *sequence, AnimationTrack *track)
 Add a new sequence to this sequencer track that plays the specified animation track. More...
 
void clearSequences ()
 Remove all sequences from this animation sequencer track. More...
 
virtual Bool playSequence (Index sequenceIndex, PlaybackID playbackID, const Playback &playback)
 Play the specified sequence with the given playback state using this sequencer track. More...
 
virtual void updatePlayback (PlaybackID playbackID, const Playback &playback)
 Update the playback state for a currently playing sequence in this sequencer track. More...
 
virtual void pausePlayback (PlaybackID playbackID)
 Pause a currently playing sequence. More...
 
virtual void resumePlayback (PlaybackID playbackID)
 Resume playback for a currently paused sequence. More...
 
virtual void stopPlayback (PlaybackID playbackID)
 Completely stop playback for the specified sequence. More...
 
virtual void pauseAll ()
 Simultaneously pause the playback of all sequences in this sequencer track. More...
 
virtual void resumeAll ()
 Simultaneously resume the playback of all sequences in this sequencer track. More...
 
virtual void stopAll ()
 Simultaneously stop the playback of all sequences in this sequencer track. More...
 
void update (const Time &dt)
 Update the state of this animation sequencer track for the specified time interval. More...
 
const TensorTypegetOutputType () const
 Return the type of this animation sequener track's output value. More...
 
void setOutputType (const TensorType &newType)
 Set the type of this animation sequener track's output value. More...
 
const TensorgetOutput () const
 Return a reference to an object containing the current output value of this animation sequencer track. More...
 
virtual const ResourceTypegetResourceType () const
 Return the resource type of this object's concrete type. More...
 
- Public Member Functions inherited from om::engine::base::SequencerTrack
virtual ~SequencerTrack ()
 Destroy a sequencer track and release internal resources. More...
 

Static Public Attributes

static const ResourceType RESOURCE_TYPE
 The resource type for a animation sequencer track. More...
 

Detailed Description

A class that handles playback of time sequences of animation data.

Constructor & Destructor Documentation

om::engine::animation::AnimationSequencerTrack::AnimationSequencerTrack ( )

Create a new animation sequencer track that has no sequences that it can play.

Member Function Documentation

virtual Size om::engine::animation::AnimationSequencerTrack::getSequenceCount ( ) const
virtual

Return the number of sequences that this track supports playing.

Implements om::engine::base::SequencerTrack.

virtual Sequence* om::engine::animation::AnimationSequencerTrack::getSequence ( Index  sequenceIndex) const
virtual

Return a pointer to the sequence at the specified index in this track.

Implements om::engine::base::SequencerTrack.

void om::engine::animation::AnimationSequencerTrack::setSequence ( Index  sequenceIndex,
Sequence newSequence 
)
inline

Set a pointer to the sequence at the given index.

AnimationTrack* om::engine::animation::AnimationSequencerTrack::getSequenceTrack ( Index  sequenceIndex) const
inline

Return a pointer to the animation track that is associated with the sequence with the given index.

void om::engine::animation::AnimationSequencerTrack::setSequenceTrack ( Index  sequenceIndex,
AnimationTrack *  newTrack 
)
inline

Set a pointer to the animation track that is associated with the sequence with the given index.

virtual Bool om::engine::animation::AnimationSequencerTrack::getSequenceIndex ( Sequence sequence,
Index sequenceIndex 
) const
virtual

Get the index of the specified sequence in this track.

Implements om::engine::base::SequencerTrack.

void om::engine::animation::AnimationSequencerTrack::addSequence ( Sequence sequence,
AnimationTrack *  track 
)

Add a new sequence to this sequencer track that plays the specified animation track.

void om::engine::animation::AnimationSequencerTrack::clearSequences ( )

Remove all sequences from this animation sequencer track.

virtual Bool om::engine::animation::AnimationSequencerTrack::playSequence ( Index  sequenceIndex,
PlaybackID  playbackID,
const Playback playback 
)
virtual

Play the specified sequence with the given playback state using this sequencer track.

Implements om::engine::base::SequencerTrack.

virtual void om::engine::animation::AnimationSequencerTrack::updatePlayback ( PlaybackID  playbackID,
const Playback playback 
)
virtual

Update the playback state for a currently playing sequence in this sequencer track.

Implements om::engine::base::SequencerTrack.

virtual void om::engine::animation::AnimationSequencerTrack::pausePlayback ( PlaybackID  playbackID)
virtual

Pause a currently playing sequence.

Implements om::engine::base::SequencerTrack.

virtual void om::engine::animation::AnimationSequencerTrack::resumePlayback ( PlaybackID  playbackID)
virtual

Resume playback for a currently paused sequence.

Implements om::engine::base::SequencerTrack.

virtual void om::engine::animation::AnimationSequencerTrack::stopPlayback ( PlaybackID  playbackID)
virtual

Completely stop playback for the specified sequence.

Implements om::engine::base::SequencerTrack.

virtual void om::engine::animation::AnimationSequencerTrack::pauseAll ( )
virtual

Simultaneously pause the playback of all sequences in this sequencer track.

Implements om::engine::base::SequencerTrack.

virtual void om::engine::animation::AnimationSequencerTrack::resumeAll ( )
virtual

Simultaneously resume the playback of all sequences in this sequencer track.

Implements om::engine::base::SequencerTrack.

virtual void om::engine::animation::AnimationSequencerTrack::stopAll ( )
virtual

Simultaneously stop the playback of all sequences in this sequencer track.

Implements om::engine::base::SequencerTrack.

void om::engine::animation::AnimationSequencerTrack::update ( const Time dt)

Update the state of this animation sequencer track for the specified time interval.

const TensorType& om::engine::animation::AnimationSequencerTrack::getOutputType ( ) const
inline

Return the type of this animation sequener track's output value.

void om::engine::animation::AnimationSequencerTrack::setOutputType ( const TensorType newType)
inline

Set the type of this animation sequener track's output value.

const Tensor& om::engine::animation::AnimationSequencerTrack::getOutput ( ) const
inline

Return a reference to an object containing the current output value of this animation sequencer track.

virtual const ResourceType& om::engine::animation::AnimationSequencerTrack::getResourceType ( ) const
virtual

Return the resource type of this object's concrete type.

Implements om::engine::base::SequencerTrack.

Member Data Documentation

const ResourceType om::engine::animation::AnimationSequencerTrack::RESOURCE_TYPE
static

The resource type for a animation sequencer track.


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