instantreality 1.0

Component:
Networking
Status:
partly implemented
Structure type:
concrete
Standard:
Avalon

NetworkSensor

The NetworkSensor is intended to provide more efficient sending and receiving of events via a network connection than would normally be possible via an external API. It acts as a high speed gateway between a network stream and the X3D scene graph so routes can be set to/from it. It defines a set of fields to be sent/received over a connection.

Inheritance

Code

XML encoding
<NetworkSensor logFeature=''
enabled='TRUE'
description=''
command=''
commandType='-1'
triggerName='Timer'
channelId='1'
 />
Classic encoding
NetworkSensor {
	logFeature [""]
	enabled TRUE
	description ""
	command ""
	commandType -1
	triggerName "Timer"
	channelId "1"
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFNode connection SFNode inputOutput NULL connection specifies the network connection to use.
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.
SFBool isActive SFBool outputOnly FALSE isActive true/false events are sent when the sensor gets active
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element