SoOneShotSensor(3IV) - Online Linux Manual Page
NAMESoOneShotSensor — sensor for one-time only callbacks
INHERITS FROMSoSensor > SoDelayQueueSensor > SoOneShotSensor
SYNOPSIS¶\f7#include <Inventor/sensors/SoOneShotSensor.h> Methods from class SoOneShotSensor: \f8SoOneShotSensor\*(Cr()
\f8SoOneShotSensor\*(Cr(SoSensorCB *func, void *data)
\f8~SoOneShotSensor\*(Cr() Methods from class SoDelayQueueSensor: \f8setPriority\*(Cr(uint32_t pri)
\f8getPriority\*(Cr()
\f8getDefaultPriority\*(Cr()
\f8schedule\*(Cr()
\f8unschedule\*(Cr()
\f8isScheduled\*(Cr() Methods from class SoSensor: \f8setFunction\*(Cr(SoSensorCB *callbackFunction)
\f8getFunction\*(Cr() const
\f8setData\*(Cr(void *callbackData)
\f8getData\*(Cr() const
DESCRIPTIONA one-shot sensor is triggered once after it is scheduled, when the delay queue is processed. Like all delay queue sensors, one-shot sensors with a non-zero priority are just added to the delay queue when scheduled; if they are scheduled again before the delay queue is processed nothing happens, and they are guaranteed to be called only once when the delay queue is processed. For example, a one-shot sensor whose callback function redraws the scene might be scheduled whenever the scene graph changes and whenever a window-system event reporting that the window changed size occurs. By using a one-shot, the scene will only be redrawn once even if a window-changed-size event occurs just after the scene graph is modified (or if several window-changed-size events occur in a row). Calling \f8schedule()\f1 in the callback function is a useful way of getting something to happen repeatedly as often as possible, while still handling events and timeouts. A priority 0 one-shot sensor isn't very useful, since scheduling it is exactly the same as directly calling its callback function.
METHODS\f8SoOneShotSensor\*(Cr()
\f8SoOneShotSensor\*(Cr(SoSensorCB *func, void *data)
Creation methods. The second method takes the callback function and data to be called when the sensor is triggered. \f8~SoOneShotSensor\*(Cr()
Destroys the sensor, freeing up any memory associated with it after unscheduling it.
SEE ALSO\f8SoIdleSensor, SoDelayQueueSensor 0
Johanes Gumabo
Data Size : 8,778 byte
man-SoOneShotSensor.3ivBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 179,755
Visitor ID : :
Visitor IP : 18.191.223.30 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_escape_sequence|91|SoOneShotSensor.3iv|7/8|\f7 |. ds Cr \f7
) (rof_escape_sequence|91|SoOneShotSensor.3iv|9|\f8 |. ds Cb \f8
) (rof_escape_sequence|91|SoOneShotSensor.3iv|18|\f7#include |¶\*(Cr#include
) (rof_escape_sequence|91|SoOneShotSensor.3iv|28|\f7 |.ds Pt \*(Cr
) (parse_manual_page_|249|SoOneShotSensor.3iv|35/36|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|35/36|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|37/38|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|37/38|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|39|\f8SoOneShotSensor\*(Cr() |\*(CbSoOneShotSensor\*(Cr()
) (rof_escape_sequence|91|SoOneShotSensor.3iv|44|\f7 |.ds Pt \*(Cr
) (parse_manual_page_|249|SoOneShotSensor.3iv|51/52|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|51/52|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|53/54|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|53/54|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|55|\f8SoOneShotSensor\*(Cr(SoSensorCB *func, void *data) |\*(CbSoOneShotSensor\*(Cr(SoSensorCB *func, void *data)
) (rof_escape_sequence|91|SoOneShotSensor.3iv|60|\f7 |.ds Pt \*(Cr
) (parse_manual_page_|249|SoOneShotSensor.3iv|67/68|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|67/68|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|69/70|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|69/70|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|71|\f8~SoOneShotSensor\*(Cr() |\*(Cb~SoOneShotSensor\*(Cr()
) (rof_escape_sequence|91|SoOneShotSensor.3iv|81|\f7void |.ds Pt \*(Crvoid
) (parse_manual_page_|249|SoOneShotSensor.3iv|88/89|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|88/89|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|90/91|\f7void \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|90/91|\f7void \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|92|\f8setPriority\*(Cr(uint32_t pri) |\*(CbsetPriority\*(Cr(uint32_t pri)
) (rof_escape_sequence|91|SoOneShotSensor.3iv|97|\f7uint32_t |.ds Pt \*(Cruint32_t
) (parse_manual_page_|249|SoOneShotSensor.3iv|104/105|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|104/105|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|106/107|\f7uint32_t \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|106/107|\f7uint32_t \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|108|\f8getPriority\*(Cr() |\*(CbgetPriority\*(Cr()
) (rof_escape_sequence|91|SoOneShotSensor.3iv|113|\f7static uint32_t |.ds Pt \*(Crstatic uint32_t
) (parse_manual_page_|249|SoOneShotSensor.3iv|120/121|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|120/121|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|122/123|\f7static uint32_t \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|122/123|\f7static uint32_t \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|124|\f8getDefaultPriority\*(Cr() |\*(CbgetDefaultPriority\*(Cr()
) (rof_escape_sequence|91|SoOneShotSensor.3iv|129|\f7virtual void |.ds Pt \*(Crvirtual void
) (parse_manual_page_|249|SoOneShotSensor.3iv|136/137|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|136/137|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|138/139|\f7virtual void \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|138/139|\f7virtual void \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|140|\f8schedule\*(Cr() |\*(Cbschedule\*(Cr()
) (rof_escape_sequence|91|SoOneShotSensor.3iv|145|\f7virtual void |.ds Pt \*(Crvirtual void
) (parse_manual_page_|249|SoOneShotSensor.3iv|152/153|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|152/153|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|154/155|\f7virtual void \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|154/155|\f7virtual void \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|156|\f8unschedule\*(Cr() |\*(Cbunschedule\*(Cr()
) (rof_escape_sequence|91|SoOneShotSensor.3iv|161|\f7virtual SbBool |.ds Pt \*(Crvirtual SbBool
) (parse_manual_page_|249|SoOneShotSensor.3iv|168/169|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|168/169|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|170/171|\f7virtual SbBool \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|170/171|\f7virtual SbBool \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|172|\f8isScheduled\*(Cr() |\*(CbisScheduled\*(Cr()
) (rof_escape_sequence|91|SoOneShotSensor.3iv|182|\f7void |.ds Pt \*(Crvoid
) (parse_manual_page_|249|SoOneShotSensor.3iv|189/190|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|189/190|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|191/192|\f7void \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|191/192|\f7void \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|193|\f8setFunction\*(Cr(SoSensorCB *callbackFunction) |\*(CbsetFunction\*(Cr(SoSensorCB *callbackFunction)
) (rof_escape_sequence|91|SoOneShotSensor.3iv|198|\f7SoSensorCB * |.ds Pt \*(CrSoSensorCB *
) (parse_manual_page_|249|SoOneShotSensor.3iv|205/206|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|205/206|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|207/208|\f7SoSensorCB * \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|207/208|\f7SoSensorCB * \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|209|\f8getFunction\*(Cr() const |\*(CbgetFunction\*(Cr() const
) (rof_escape_sequence|91|SoOneShotSensor.3iv|214|\f7void |.ds Pt \*(Crvoid
) (parse_manual_page_|249|SoOneShotSensor.3iv|221/222|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|221/222|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|223/224|\f7void \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|223/224|\f7void \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|225|\f8setData\*(Cr(void *callbackData) |\*(CbsetData\*(Cr(void *callbackData)
) (rof_escape_sequence|91|SoOneShotSensor.3iv|230|\f7void * |.ds Pt \*(Crvoid *
) (parse_manual_page_|249|SoOneShotSensor.3iv|237/238|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|237/238|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|239/240|\f7void * \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|239/240|\f7void * \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|241|\f8getData\*(Cr() const |\*(CbgetData\*(Cr() const
) (rof_escape_sequence|91|SoOneShotSensor.3iv|249|\f8schedule()\f1 in the callback function |Calling \*(Cbschedule()\f1 in the callback function
) (rof_escape_sequence|91|SoOneShotSensor.3iv|259|\f7 |.ds Pt \*(Cr
) (parse_manual_page_|249|SoOneShotSensor.3iv|266/267|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|266/267|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|268/269|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|268/269|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|270|\f8SoOneShotSensor\*(Cr() |\*(CbSoOneShotSensor\*(Cr()
) (rof_escape_sequence|91|SoOneShotSensor.3iv|275|\f7 |.ds Pt \*(Cr
) (parse_manual_page_|249|SoOneShotSensor.3iv|282/283|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|282/283|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|284/285|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|284/285|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|286|\f8SoOneShotSensor\*(Cr(SoSensorCB *func, void *data) |\*(CbSoOneShotSensor\*(Cr(SoSensorCB *func, void *data)
) (rof_escape_sequence|91|SoOneShotSensor.3iv|295|\f7 |.ds Pt \*(Cr
) (parse_manual_page_|249|SoOneShotSensor.3iv|302/303|el══─{─══.ne|.el══─{─══.ne 2
) (htmlprn|149|SoOneShotSensor.3iv|302/303|.el══─{─══.ne 2 |.el══─{─══.ne 2
) (rof_escape_sequence|91|SoOneShotSensor.3iv|304/305|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (htmlprn|149|SoOneShotSensor.3iv|304/305|\f7 \c══─}─══ |\*(Pt \c══─}─══
) (rof_escape_sequence|91|SoOneShotSensor.3iv|306|\f8~SoOneShotSensor\*(Cr() |\*(Cb~SoOneShotSensor\*(Cr()
) (rof_escape_sequence|91|SoOneShotSensor.3iv|313|\f8SoIdleSensor, SoDelayQueueSensor |\*(CbSoIdleSensor, SoDelayQueueSensor
)