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

Emma::ValueSensor Class Reference

ValueSensor listens for changes in value of the target device (mouse motion by default). More...

#include <EmmaValueSensor.h>

Inheritance diagram for Emma::ValueSensor:

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

Public Member Functions

 ValueSensor ()
virtual ~ValueSensor ()
 DECLARE_CLASS (ValueSensor, DeviceSensorNode)
virtual Fusion::ResultType initialize ()
 Initialize this instance.
virtual Fusion::ResultType finalize ()
 Finalize this instance before it is destroyed.
virtual Fusion::ResultType endFieldFiring (const char *property, const Fusion::Value &value)
virtual bool handleEvent (const Event &event)
 Callback function that is implemented by the callee.

Detailed Description

ValueSensor listens for changes in value of the target device (mouse motion by default).

Remarks:
Base class DeviceSensorNode
Author:
Chris Marrin
Date:
8/30/2005


Constructor & Destructor Documentation

Emma::ValueSensor::ValueSensor  )  [inline]
 

virtual Emma::ValueSensor::~ValueSensor  )  [inline, virtual]
 


Member Function Documentation

Emma::ValueSensor::DECLARE_CLASS ValueSensor  ,
DeviceSensorNode 
 

virtual Fusion::ResultType Emma::ValueSensor::endFieldFiring const char *  property,
const Fusion::Value value
[virtual]
 

Reimplemented from Emma::Node.

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

Finalize this instance before it is destroyed.

Reimplemented from Fusion::Object.

virtual bool Emma::ValueSensor::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

Reimplemented from Emma::DeviceSensorNode.

virtual Fusion::ResultType Emma::ValueSensor::initialize  )  [virtual]
 

Initialize this instance.

Reimplemented from Fusion::Object.


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