GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOSFTRIGGER (3)

NAME

SoSFTrigger — field used to trigger engines or connection networks

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SoField > SoSField > SoSFTrigger

SYNOPSIS

#include <Inventor/fields/SoSFTrigger.h>

Methods from class SoSFTrigger:

    void    
                    
void                 setValue()    
void    
                    
void                 getValue()    
int    
                    
int                  operator ==(const SoSFTrigger &t) const    
int    
                    
int                  operator !=(const SoSFTrigger &t) const

Methods from class SoSField:

    static SoType    
                    
static SoType        getClassTypeId()

Methods from class SoField:

    void    
                    
void                 setIgnored(SbBool ignore)    
SbBool    
                    
SbBool               isIgnored() const    
SbBool    
                    
SbBool               isDefault() const    
virtual SoType    
                    
virtual SoType       getTypeId() const    
virtual SbBool    
                    
virtual SbBool       isOfType(SoType type) const    
SbBool    
                    
SbBool               set(const char *valueString)    
void    
                    
void                 get(SbString &valueString)    
void    
                    
void                 touch()    
SbBool    
                    
SbBool               connectFrom(SoField *fromField)    
SbBool    
                    
SbBool               connectFrom(SoEngineOutput *fromEngine)    
void    
                    
void                 disconnect()    
SbBool    
                    
SbBool               isConnected() const    
SbBool    
                    
SbBool               isConnectedFromField() const    
SbBool    
                    
SbBool               getConnectedField(SoField *&writingField) const    
SbBool    
                    
SbBool               isConnectedFromEngine() const    
SbBool    
                    
SbBool               getConnectedEngine(SoEngineOutput *&engineOutput) const    
void    
                    
void                 enableConnection(SbBool flag)    
SbBool    
                    
SbBool               isConnectionEnabled() const    
int    
                    
int                  getForwardConnections(SoFieldList &list) const    
SoFieldContainer *    
                    
SoFieldContainer *   getContainer() const

DESCRIPTION

This class can be used to start or to synchronize a network of field connections. It is the "null" field — a field with no values. It is typically used as the "start button" for engines that change over time.

Triggers can be connected from any other type of field, and will notify any engines or nodes they are part of (or any other triggers they are connected to) whenever the value of the field is set (even if it is set to its current value) or the field is touch()’ed.

Since they have no value, SoSFTriggers are not written to file. A node or engine containing an SoSFTrigger field will write only the field’s name.

METHODS

    void    
                    
void                 setValue()
Starts the notification process; this is equivalent to calling touch().

    void    
                    
void                 getValue()
Forces any connected engines or fields to evaluate themselves.

    int    
                    
int                  operator ==(const SoSFTrigger &t) const    
int    
                    
int                  operator !=(const SoSFTrigger &t) const
All trigger fields are equal; these methods always return TRUE and FALSE, respectively.

SEE ALSO

SoSFBool, SoMFBool

Search for    or go to Top of page |  Section 3 |  Main Index


SOSFTRIGGER(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.