Open Inventor Reference
|
Go to the source code of this file.
Macros | |
#define | SO_ACTION_HEADER(className) |
Macros to be called within the class definition header for an action subclass: | |
#define | SO__ACTION_VARS(className) |
Macros to be called within the source file for a action subclass: | |
#define | SO__ACTION_METHODS(className) |
This implements the methods defined in SO_ACTION_HEADER. | |
#define | SO_ACTION_SOURCE(className) |
This contains the definitions necessary at file scope. | |
#define | SO_ACTION_INIT_CLASS(className, parentClass) |
This initializes the type identifer variables defined in SO_ACTION_HEADER. | |
#define | SO_ACTION_CONSTRUCTOR(className) traversalMethods = methods |
This is included at the beginning of a constructor, to do required initializations. | |
#define | SO_ACTION_ADD_METHOD(nodeClass, method) addMethod(nodeClass::getClassTypeId(), method) |
This macro can be used by action subclasses within initClass() to register a method to call for a specific node class. | |
#define SO__ACTION_METHODS | ( | className | ) |
Definition at line 124 of file SoSubAction.h.
#define SO__ACTION_VARS | ( | className | ) |
This declares the static variables defined in SO_ACTION_HEADER.
Definition at line 114 of file SoSubAction.h.
#define SO_ACTION_ADD_METHOD | ( | nodeClass, | |
method | |||
) | addMethod(nodeClass::getClassTypeId(), method) |
It is passed the name of the node class and the method to call.
Definition at line 175 of file SoSubAction.h.
#define SO_ACTION_CONSTRUCTOR | ( | className | ) | traversalMethods = methods |
Definition at line 165 of file SoSubAction.h.
#define SO_ACTION_HEADER | ( | className | ) |
This defines type-identifier variables and methods that all subclasses must support.
Definition at line 87 of file SoSubAction.h.
#define SO_ACTION_INIT_CLASS | ( | className, | |
parentClass | |||
) |
This macro should be called from within initClass().
Definition at line 153 of file SoSubAction.h.
#define SO_ACTION_SOURCE | ( | className | ) |
Definition at line 142 of file SoSubAction.h.