H3D::IntegerTrigger Class Reference
[X3D node classes.]

IntegerTrigger handles single field Boolean events to set an integer value for the output event. More...

#include <H3D/IntegerTrigger.h>

Inheritance diagram for H3D::IntegerTrigger:

Inheritance graph

List of all members.

Classes

class  SetTriggerValue
 The SetTriggerValue class is specialize to set the vaule of the triggerValue field to the value of the field integerKey. More...

Public Member Functions

 IntegerTrigger (Inst< SFNode > _metadata=0, Inst< SFBool > _set_boolean=0, Inst< SFInt32 > _integerKey=0, Inst< SetTriggerValue > _triggerValue=0)
 Constructor.

Public Attributes

auto_ptr< SFBoolset_boolean
 When an event is recieved generate triggerValue event with current value of integerKey.
auto_ptr< SFInt32integerKey
 Contains the value triggerValue will be set to.
auto_ptr< SetTriggerValuetriggerValue
 TriggerValue will be set if a set_boolean event is recieved.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodedatabase for this node.


Detailed Description

IntegerTrigger handles single field Boolean events to set an integer value for the output event.

Upon receiving a set_boolean event, the IntegerTrigger node will generate a triggerValue event with the current value of integerKey. This is useful for connecting environmental events to the Switch node's whichChoice.

Internal routes:
IntegerTrigger.dot

Member Data Documentation

Contains the value triggerValue will be set to.

Access type: inputOutput

IntegerTrigger_integerKey.dot

When an event is recieved generate triggerValue event with current value of integerKey.

Access type: inputOnly

IntegerTrigger_set_boolean.dot

Referenced by IntegerTrigger().

TriggerValue will be set if a set_boolean event is recieved.

Access type: outputOnly

IntegerTrigger_triggerValue.dot

Referenced by IntegerTrigger().


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

Generated on Fri Nov 7 10:30:31 2008 for H3D API by  doxygen 1.5.7