instantreality 1.0

Component:
EventUtilities
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

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
XFAny in XFAny inputOnly Receives the events that get counted by this node.
XFAny reset XFAny inputOnly Resets the counter to 0.
SFInt32 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.
SFBool 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.
MFString 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
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFTime cycleTime SFTime outputOnly Sends the current time stamp when the event counter reaches the maximum counter value specified in the cycleNumber exposed field.
SFInt32 number SFInt32 outputOnly 0 Provides the current counter value.