SoSensor man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



								 SoSensor(3IV)

NAME
     SoSensor (SoSens) - abstract base class for Inventor sensors

INHERITS FROM
     SoSensor

SYNOPSIS
     #include <Inventor_c/sensors/SoSensor.h>

     typedef void	 SoSensorCB(void *data, SoSensor *sensor)
     typedef SoSensor	 SoSens

	  Functions from class SoSensor:

     void		 SoSensSetFunc(SoSens *this, SoSensorCB
			      *callbackFunction)
     SoSensorCB *	 SoSensGetFunc(const SoSens *this)
     void		 SoSensSetData(SoSens *this, void *callbackData)
     void *		 SoSensGetData(const SoSens *this)

DESCRIPTION
     Sensors detect changes either to time or to Inventor objects in a scene
     graph, and call a user-defined callback function. Sensors are scheduled
     when the thing they are attached to changes, and sometime after they are
     scheduled they are triggered, calling the user's callback function.

FUNCTIONS
     void		 SoSensSetFunc(SoSens *this, SoSensorCB
			      *callbackFunction)
	  Sets the callback function that is called when the sensor is
	  triggered. The function must take two arguments - user-supplied
	  callback data (of type void *) and a pointer to the sensor that is
	  triggering the function (of type SoSensor *).

     SoSensorCB *	 SoSensGetFunc(const SoSens *this)
	  Returns the callback function that will be called when the sensor is
	  triggered.

     void		 SoSensSetData(SoSens *this, void *callbackData)
	  Sets the callback data passed to the callback function.

     void *		 SoSensGetData(const SoSens *this)
	  Returns the user-supplied pointer that will be passed to the
	  callback function.

SEE ALSO
     SoAlarmSensor, SoDataSensor, SoFieldSensor, SoIdleSensor, SoNodeSensor,
     SoPathSensor, SoSensorManager

Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net