Open Inventor Reference
|
Internal class. More...
#include <Inventor/actions/SoAction.h>
Public Member Functions | |
SoEnabledElementsList (SoEnabledElementsList *parentList) | |
Constructor. | |
const SoTypeList & | getElements () const |
Returns list of elements. | |
void | enable (SoType elementType, int stackIndex) |
Adds an element to the list if it's not already in it. | |
void | merge (const SoEnabledElementsList &list) |
Enables all elements from the given list that are not already enabled in this one. | |
Static Public Member Functions | |
static int | getCounter () |
Returns the current setting of the global counter used to determine when lists are out of date. | |
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.
SoEnabledElementsList::SoEnabledElementsList | ( | SoEnabledElementsList * | parentList | ) |
void SoEnabledElementsList::enable | ( | SoType | elementType, |
int | stackIndex | ||
) |
|
inlinestatic |
Definition at line 140 of file SoAction.h.
const SoTypeList & SoEnabledElementsList::getElements | ( | ) | const |
This automatically merges the elements with elements enabled in the parentList.
void SoEnabledElementsList::merge | ( | const SoEnabledElementsList & | list | ) |