EventCounter
Counts events.
Inheritance
Code
XML encoding
<EventCounter cycleNumber='0' enabled='TRUE' logFeature='' />
Classic encoding
EventCounter { cycleNumber 0 enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
enabled | SFBool | inputOutput | TRUE | Enables or disables the node. A node that is disabled does not react to incoming events and does not send events. | ||
cycleNumber | SFInt32 | inputOutput | 0 | Specifies the maximum number of events that get counted. When the counter reaches this number, the current system time is sent via the cycleTime outslot, and the counter is reset to 0. | ||
number | SFInt32 | outputOnly | 0 | Provides the current counter value. | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
cycleTime | SFTime | outputOnly | Sends the current time stamp when the event counter reaches the maximum counter value specified in the cycleNumber exposed field. | |||
in | XFAny | inputOnly | Receives the events that get counted by this node. | |||
reset | XFAny | inputOnly | Resets the counter to 0. |