Debian Codegraph @

doc/man/man3/ivm/fields/SoSFTrigger.ivm

raw
1 NAME SoSFTrigger SoSTrigger "" {
2 field used to trigger engines or connection networks
3 }
4
5 INCLUDE fields/SoSFTrigger.h
6
7 DESC {
8 This class can be used to start or to synchronize a network of field
9 connections. It is the "null" field \(em a field with no values. It
10 is typically used as the "start button" for engines that change over
11 time.
12 \p
13 Triggers can be connected from any other type of field, and will notify
14 any engines or nodes they are part of (or any other triggers they are
15 connected to) whenever the value of the field is set (even if it is set
16 to its current value) or the field is \mtouch()\.'ed.
17 \p
18 Since they have no value, \cSoSFTriggers\. are not written to file. A
19 node or engine containing an \cSoSFTrigger\. field will write only the
20 field's name.
21 }
22 METHOD Set void setValue() {
23 Starts the notification process; this is equivalent to calling \mtouch()\..
24 }
25 METHOD Get void getValue() {
26 Forces any connected engines or fields to evaluate themselves.
27 }
28 METHOD IsEq int operator ==(const SoSFTrigger &t) const {}
29 METHOD IsNEq int operator !=(const SoSFTrigger &t) const {
30 All trigger fields are equal; these methods always return TRUE and
31 FALSE, respectively.
32 }
33 ALSO { SoSFBool, SoMFBool }