instantreality 1.0

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

Toggler

Toggles between the two boolean states TRUE and FALSE (flip flop).

Inheritance

Code

XML encoding
<Toggler status='FALSE'
notStatus='TRUE'
enabled='TRUE'
logFeature=''
 />
Classic encoding
Toggler {
	status FALSE
	notStatus TRUE
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFBool status SFBool inputOutput FALSE Sets the internal status of the Toggler to the boolean value received on this inslot. Sends the internal status of the Toggler to the outslot.
SFBool notStatus SFBool inputOutput TRUE Sets the internal status of the Toggler to the negated boolean value received on this inslot. Sends the negated internal status of the Toggler to outslot.
XFAny toggle XFAny inputOnly Toggles the internal status of the Toggler between TRUE and FALSE when an event is received on this inslot. The concrete type and value of the event does not matter.
XFAny set XFAny inputOnly Sets the internal status of the Toggler to TRUE when an event is received on this inslot. The concrete type and value of the event does not matter.
XFAny reset XFAny inputOnly Sets the internal status of the Toggler to FALSE when an event is received on this inslot. The concrete type and value of the event does not matter.
XFAny changed XFAny outputOnly This outslot sends a TRUE value when the internal status of the Toggler changes.
XFAny on XFAny outputOnly This outslot sends a TRUE event when the internal status of the Toggler changes to TRUE.
XFAny off XFAny outputOnly This outslot sends a TRUE event when the internal status of the Toggler changes to FALSE.
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