Open Inventor Reference
SoEnabledElementsList Class Reference

Internal class. More...

#include <Inventor/actions/SoAction.h>

Public Member Functions

 SoEnabledElementsList (SoEnabledElementsList *parentList)
 Constructor. More...
 
const SoTypeListgetElements () const
 Returns list of elements. More...
 
void enable (SoType elementType, int stackIndex)
 Adds an element to the list if it's not already in it. More...
 
void merge (const SoEnabledElementsList &list)
 Enables all elements from the given list that are not already enabled in this one. More...
 

Static Public Member Functions

static int getCounter ()
 Returns the current setting of the global counter used to determine when lists are out of date. More...
 

Detailed Description

A list of elements enabled for a given action class. Lists of elements can be merged, allowing an action class to inherit enabled elements from its parent class.

Definition at line 121 of file SoAction.h.

Constructor & Destructor Documentation

◆ SoEnabledElementsList()

SoEnabledElementsList::SoEnabledElementsList ( SoEnabledElementsList parentList)

Member Function Documentation

◆ enable()

void SoEnabledElementsList::enable ( SoType  elementType,
int  stackIndex 
)

◆ getCounter()

static int SoEnabledElementsList::getCounter ( )
inlinestatic

Definition at line 140 of file SoAction.h.

◆ getElements()

const SoTypeList& SoEnabledElementsList::getElements ( ) const

This automatically merges the elements with elements enabled in the parentList.

◆ merge()

void SoEnabledElementsList::merge ( const SoEnabledElementsList list)

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