Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Emma::Timer Class Reference

Emits timing information to control cyclic animation, one-shot timing, media playback, or simulation. More...

#include <EmmaTimer.h>

Inheritance diagram for Emma::Timer:

Emma::ChildNode Emma::EventHandler Emma::Node Fusion::Object Fusion::IObject List of all members.

Public Member Functions

 Timer ()
virtual ~Timer ()
 DECLARE_CLASS (Timer, ChildNode)
virtual Fusion::ResultType preInitialize ()
virtual Fusion::ResultType finalize ()
 Finalize this instance before it is destroyed.
virtual Fusion::ResultType beginFieldFiring (const char *property, const Fusion::Value &value)
virtual bool handleEvent (const Event &event)
 Callback function that is implemented by the callee.
void addClient (Fusion::IObject *client)
void removeClient (Fusion::IObject *client)
bool setClientDuration (Fusion::IObject *client, double duration)

Protected Member Functions

void _checkState (double ts)
void _checkStart (double ts)
void _checkPlay (double ts)

Detailed Description

Emits timing information to control cyclic animation, one-shot timing, media playback, or simulation.

Remarks:
Base class Node
Author:
Chris Marrin
Date:
6/8/2005


Constructor & Destructor Documentation

Emma::Timer::Timer  ) 
 

virtual Emma::Timer::~Timer  )  [virtual]
 


Member Function Documentation

void Emma::Timer::_checkPlay double  ts  )  [protected]
 

void Emma::Timer::_checkStart double  ts  )  [protected]
 

void Emma::Timer::_checkState double  ts  )  [inline, protected]
 

void Emma::Timer::addClient Fusion::IObject client  ) 
 

virtual Fusion::ResultType Emma::Timer::beginFieldFiring const char *  property,
const Fusion::Value value
[virtual]
 

Reimplemented from Emma::Node.

Emma::Timer::DECLARE_CLASS Timer  ,
ChildNode 
 

virtual Fusion::ResultType Emma::Timer::finalize  )  [virtual]
 

Finalize this instance before it is destroyed.

Reimplemented from Fusion::Object.

virtual bool Emma::Timer::handleEvent const Event event  )  [virtual]
 

Callback function that is implemented by the callee.

Parameters:
event specifies the time of the event. Event time will be the same for events occurring in the same render phase For example, PREUPDATE, POSTUPDATE, PRERENDER and POSTRENDER event callbacks will all pass the same event time for the same frame. Returning stop Emma from calling the rest of the handlers for this event If you return true, Emma will keep on calling rest of the handlers for this event

Implements Emma::EventHandler.

virtual Fusion::ResultType Emma::Timer::preInitialize  )  [virtual]
 

Reimplemented from Fusion::Object.

void Emma::Timer::removeClient Fusion::IObject client  ) 
 

bool Emma::Timer::setClientDuration Fusion::IObject client,
double  duration
 


The documentation for this class was generated from the following file:
Generated on Sat Apr 1 06:08:29 2006 for Emma SDK Guide by  doxygen 1.4.3