Go to the source code of this file.
◆ SO__ACTION_AUTOINIT_METHODS
#define SO__ACTION_AUTOINIT_METHODS |
( |
|
className, |
|
|
|
parentClass |
|
) |
| |
Value:SoType \
className::getClassTypeId() \
{ \
if (!classTypeIdIsSet) { \
SO_ACTION_INIT_CLASS(
className, parentClass); \
} \
return classTypeId; \
} \
\
SoType \
className::getTypeId() const \
{ \
if (classTypeIdIsSet ==
FALSE) { \
SO_ACTION_INIT_CLASS(
className, parentClass); \
} \
return classTypeId; \
} \
\
#define FALSE
Possible value of SbBool.
Definition at line 294 of file SoSubAction.h.
◆ SO__ACTION_CHECK_INIT
Value: { \
if (classTypeId.
isBad()) { \
className::initClass(); \
} \
}
SbBool isBad() const
Returns TRUE if the type is a bad type.
Definition at line 209 of file SoSubAction.h.
◆ SO__ACTION_ELEMENTS_METHODS
#define SO__ACTION_ELEMENTS_METHODS |
( |
|
className | ) |
|
◆ SO__ACTION_METHODS
Value:SoType \
className::getClassTypeId() \
{ \
return classTypeId; \
} \
\
SoType \
className::getTypeId() const \
{ \
return classTypeId; \
} \
\
Definition at line 273 of file SoSubAction.h.
◆ SO__ACTION_VARS
Value: SoEnabledElementsList *className::enabledElements = NULL; \
SoActionMethodList *className::methods = NULL; \
SoType className::classTypeId; \
Stores runtime type information.
Definition at line 108 of file SoSubAction.h.
◆ SO_ACTION_ADD_METHOD
#define SO_ACTION_ADD_METHOD |
( |
|
nodeClass, |
|
|
|
method |
|
) |
| addMethod(nodeClass::getClassTypeId(), method) |
◆ SO_ACTION_AUTOINIT_SOURCE
#define SO_ACTION_AUTOINIT_SOURCE |
( |
|
className, |
|
|
|
parentClass |
|
) |
| |
Value:
SO__ACTION_AUTOINIT_METHODS(
className, parentClass)
#define SO__ACTION_VARS(className)
Definition at line 122 of file SoSubAction.h.
◆ SO_ACTION_CONSTRUCTOR
◆ SO_ACTION_EXIT_CLASS
Value: SoType::removeType(classTypeId.
getName()); \
if (enabledElements) \
{ \
delete enabledElements; \
enabledElements = NULL; \
} \
if (methods) \
{ \
delete methods; \
methods = NULL; \
} \
static SoType badType()
Returns an always-illegal type.
SbName getName() const
Returns the name associated with a type.
Definition at line 180 of file SoSubAction.h.
◆ SO_ACTION_HEADER
Value:public: \ \
static SoType getClassTypeId(); \
private:\
static void addMethod(
SoType t, SoActionMethod* method); \
\
static void enableElement(
SoType t,
int stkIndex); \
\
virtual SoType getTypeId() const
Returns the type identifier for this specific instance.
Definition at line 69 of file SoSubAction.h.
◆ SO_ACTION_HEADER_WITH_DEF
◆ SO_ACTION_INIT_CLASS
◆ SO_ACTION_INIT_CLASS_CHECK_PARENT
#define SO_ACTION_INIT_CLASS_CHECK_PARENT |
( |
|
className, |
|
|
|
parentClass |
|
) |
| |
Value: if (parentClass::getClassTypeId().isBad()) \
parentClass::initClass()
Definition at line 141 of file SoSubAction.h.
◆ SO_ACTION_INIT_CLASS_INTERNAL
#define SO_ACTION_INIT_CLASS_INTERNAL |
( |
|
className, |
|
|
|
parentClass |
|
) |
| |
Value: enabledElements = new SoEnabledElementsList(parentClass::enabledElements); \
methods = new ::SoActionMethodList(parentClass::methods); \
SO_ACTION_INIT_CLASS_CHECK_PARENT(
className, parentClass); \
classTypeId = SoType::createType(parentClass::getClassTypeId(), \
#define TRUE
Possible value of SbBool.
Definition at line 146 of file SoSubAction.h.
◆ SO_ACTION_SOURCE
◆ getEnabledElements()
virtual const SoEnabledElementsList & getEnabledElements |
( |
| ) |
const |
|
virtual |