Coin  4.0.3
Coin3D core library
Loading...
Searching...
No Matches
SoNotRec Class Reference

The SoNotRec class specifies records for notification lists. More...

#include <Inventor/misc/SoNotification.h>

Public Types

enum  OperationType {
  UNSPECIFIED , FIELD_UPDATE , GROUP_ADDCHILD , GROUP_INSERTCHILD ,
  GROUP_REPLACECHILD , GROUP_REMOVECHILD , GROUP_REMOVEALLCHILDREN
}
 
enum  Type {
  CONTAINER , PARENT , SENSOR , FIELD ,
  ENGINE
}
 

Public Member Functions

 SoNotRec (SoBase *const notifbase)
 
SoBasegetBase (void) const
 
int getFieldNumIndices (void) const
 
const SoBasegetGroupChild (void) const
 
const SoBasegetGroupPrevChild (void) const
 
int getIndex (void) const
 
SoNotRec::OperationType getOperationType (void) const
 
const SoNotRecgetPrevious (void) const
 
SoNotRec::Type getType (void) const
 
void print (FILE *const file) const
 
void setFieldNumIndices (const int fldnumind)
 
void setGroupChild (const SoBase *const gc)
 
void setGroupPrevChild (const SoBase *const pc)
 
void setIndex (const int idx)
 
void setOperationType (const SoNotRec::OperationType opType)
 
void setPrevious (const SoNotRec *const prev)
 
void setType (const SoNotRec::Type type)
 

Detailed Description

The SoNotRec class specifies records for notification lists.

See also
SoNotification

Member Enumeration Documentation

◆ OperationType

This enum is used to specify the type of the scene graph operation causing the notification.

◆ Type

This enum is used to specify the type of the notification source within the record.

Constructor & Destructor Documentation

◆ SoNotRec()

SoNotRec::SoNotRec ( SoBase *const notifbase)

Constructor. Initializes the record with notifbase pointer.

Member Function Documentation

◆ getBase()

SoBase * SoNotRec::getBase ( void ) const

Returns the notification source within this record.

◆ getPrevious()

const SoNotRec * SoNotRec::getPrevious ( void ) const

Returns the previous notification source (i.e. the source that the base within this record was auditing).

◆ getType()

SoNotRec::Type SoNotRec::getType ( void ) const

Returns the type of the notification source within this record.

◆ print()

void SoNotRec::print ( FILE *const file) const

Prints debug information.

◆ setPrevious()

void SoNotRec::setPrevious ( const SoNotRec *const prevptr)

Set pointer to the previous notification record.

◆ setType()

void SoNotRec::setType ( const SoNotRec::Type typearg)

Set the type of the notification source of this record.


The documentation for this class was generated from the following files: