instantreality 1.0

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

Delayer

Node delays a any kind of event send to the in slot. The actually delay in seconds is defined by the minDelay and maxDelay field. If both are greater than zero and minDelay is smaller than maxDelay than the delay is picked randomly between minDelay and maxDelay. If delay is fix if minDelay and maxDelay are equal. If maxDelay is less than minDelay the maxDelay value will be picked.

Inheritance

Code

XML encoding
<Delayer logFeature=''
enabled='TRUE'
description=''
triggerName='Timer'
adjustTimeValue='TRUE'
maxDelay='0'
minDelay='0'
 />
Classic encoding
Delayer {
	logFeature [""]
	enabled TRUE
	description ""
	triggerName "Timer"
	adjustTimeValue TRUE
	maxDelay 0
	minDelay 0
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFBool adjustTimeValue SFBool inputOutput TRUE if this value is TRUE, andy SFTime/MFTime event will be adjusted to the current context time while send
SFString description SFString inputOutput Text description to comment the sensor task. Can be used in run-time systems to give usefull feedback to the user and developer
SFBool enabled SFBool inputOutput TRUE Enables/disables the sensor node.
XFAny in XFAny inputOnly in slot which receives any kind of event which should be delayed
SFBool isActive SFBool outputOnly FALSE isActive true/false events are sent when the sensor gets active
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
SFTime maxDelay SFTime inputOutput 0 [0, inf] Defines the maximul delay in seconds
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFTime minDelay SFTime inputOutput 0 [0, inf] Defines the minimum delay in seconds
XFAny out XFAny outputOnly out slot which sends the event after the delay
SFString triggerName SFString initializeOnly Timer name of the dynamic context-slot which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutut to the triggerSlot-eventInput Slot.
SFTime triggerSlot SFTime inputOnly slot which is used internally to connect a dynamic context-slot which name is set by the triggerName value. Its used automatically to install run-time environment trigger.