dtABC::Action Class Reference

#include <action.h>

Inheritance diagram for dtABC::Action:

dtCore::DeltaDrawable dtCore::Base dtABC::MotionAction dtABC::BezierController

List of all members.

Public Member Functions

 Action ()
void OnMessage (MessageData *data)
 Override to receive messages.
void Update (double dt)
void Start ()
void Pause ()
void UnPause ()
bool GetIsRunning () const
void SetTimeStep (float dt)
float GetTimeStep ()
void SetTickOncePerFrame (bool tickOncePerFrame)
bool GetTickOncePerFrame () const
osg::Node * GetOSGNode ()
 Get the internal node.
const osg::Node * GetOSGNode () const

Protected Member Functions

 ~Action ()
virtual bool OnNextStep ()=0
virtual void OnStart ()=0
virtual void OnPause ()=0
virtual void OnUnPause ()=0

Protected Attributes

float mTimeStep
float mTotalTime
float mAccumTime
bool mIsRunning
bool mTickOncePerFrame
dtCore::RefPtr< osg::Node > mNode


Constructor & Destructor Documentation

dtABC::Action::Action (  ) 

dtABC::Action::~Action (  )  [protected]


Member Function Documentation

void dtABC::Action::OnMessage ( MessageData data  )  [virtual]

Override to receive messages.

Reimplemented from dtCore::Base.

void dtABC::Action::Update ( double  dt  ) 

void dtABC::Action::Start (  ) 

void dtABC::Action::Pause (  ) 

void dtABC::Action::UnPause (  ) 

bool dtABC::Action::GetIsRunning (  )  const [inline]

void dtABC::Action::SetTimeStep ( float  dt  )  [inline]

float dtABC::Action::GetTimeStep (  )  [inline]

void dtABC::Action::SetTickOncePerFrame ( bool  tickOncePerFrame  )  [inline]

bool dtABC::Action::GetTickOncePerFrame (  )  const [inline]

osg::Node* dtABC::Action::GetOSGNode (  )  [inline, virtual]

Get the internal node.

Returns this object's OpenSceneGraph node.

Returns:
the OpenSceneGraph node

Implements dtCore::DeltaDrawable.

const osg::Node* dtABC::Action::GetOSGNode (  )  const [inline, virtual]

Implements dtCore::DeltaDrawable.

virtual bool dtABC::Action::OnNextStep (  )  [protected, pure virtual]

Implemented in dtABC::BezierController.

virtual void dtABC::Action::OnStart (  )  [protected, pure virtual]

Implemented in dtABC::BezierController.

virtual void dtABC::Action::OnPause (  )  [protected, pure virtual]

Implemented in dtABC::BezierController.

virtual void dtABC::Action::OnUnPause (  )  [protected, pure virtual]

Implemented in dtABC::BezierController.


Member Data Documentation

float dtABC::Action::mTimeStep [protected]

float dtABC::Action::mTotalTime [protected]

float dtABC::Action::mAccumTime [protected]

bool dtABC::Action::mIsRunning [protected]

bool dtABC::Action::mTickOncePerFrame [protected]

dtCore::RefPtr<osg::Node> dtABC::Action::mNode [protected]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008