Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
SoNotRec Class Reference

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

#include <Inventor/misc/SoNotification.h>

Public Types

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

Public Member Functions

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

Detailed Description

The SoNotRec class specifies records for notification lists.

See also
SoNotification

Member Enumeration Documentation

◆ Type

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

◆ OperationType

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

Constructor & Destructor Documentation

◆ SoNotRec()

SoNotRec::SoNotRec ( SoBase *const  notifbase)

Constructor. Initializes the record with notifbase pointer.

Member Function Documentation

◆ setType()

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

Set the type of the notification source of this record.

◆ getBase()

SoBase * SoNotRec::getBase ( void  ) const

Returns the notification source within this record.

◆ getType()

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

Returns the type of 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).

◆ setPrevious()

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

Set pointer to the previous notification record.

◆ print()

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

Prints debug information.


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