Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoSubEvent.h File Reference

Go to the source code of this file.

Macros

#define SO_EVENT_HEADER()
 
#define SO__EVENT_VARS(className)    SoType className::classTypeId;
 
#define SO__EVENT_METHODS(className)
 
#define SO_EVENT_SOURCE(className)
 
#define SO_EVENT_INIT_CLASS_CHECK_PARENT(className, parentClass)
 
#define SO_EVENT_INIT_CLASS_INTERNAL(className, parentClass)
 
#define SO_EVENT_INIT_CLASS(className, parentClass)    SO_EVENT_INIT_CLASS_INTERNAL(className,parentClass);
 
#define SO_EVENT_EXIT_CLASS(className)
 

Macro Definition Documentation

◆ SO__EVENT_METHODS

#define SO__EVENT_METHODS (   className)
Value:
\
SoType \
className::getTypeId() const \
{ \
return classTypeId; \
} \
\
SoType \
className::getClassTypeId() \
{ \
return classTypeId; \
}

Definition at line 105 of file SoSubEvent.h.

◆ SO__EVENT_VARS

#define SO__EVENT_VARS (   className)     SoType className::classTypeId;

Definition at line 96 of file SoSubEvent.h.

◆ SO_EVENT_EXIT_CLASS

#define SO_EVENT_EXIT_CLASS (   className)
Value:
SoType::removeType(classTypeId.getName()); \
classTypeId = SoType::badType()
static SoType badType()
Returns an always-illegal type.
Definition SoType.h:124

Definition at line 170 of file SoSubEvent.h.

◆ SO_EVENT_HEADER

#define SO_EVENT_HEADER ( )
Value:
public: \ \
static SoType getClassTypeId(); \ \
virtual SoType getTypeId() const; \
private: \
static SoType classTypeId /* Type id */
virtual SoType getTypeId() const
Returns the type identifier for this specific instance.
Stores runtime type information.
Definition SoType.h:98

Definition at line 76 of file SoSubEvent.h.

◆ SO_EVENT_INIT_CLASS

#define SO_EVENT_INIT_CLASS (   className,
  parentClass 
)     SO_EVENT_INIT_CLASS_INTERNAL(className,parentClass);

Definition at line 156 of file SoSubEvent.h.

◆ SO_EVENT_INIT_CLASS_CHECK_PARENT

#define SO_EVENT_INIT_CLASS_CHECK_PARENT (   className,
  parentClass 
)
Value:
if (parentClass::getClassTypeId().isBad()) \
parentClass::initClass()

Definition at line 139 of file SoSubEvent.h.

◆ SO_EVENT_INIT_CLASS_INTERNAL

#define SO_EVENT_INIT_CLASS_INTERNAL (   className,
  parentClass 
)
Value:
classTypeId = SoType::createType(parentClass::getClassTypeId(), SO__QUOTE(className))
#define SO_EVENT_INIT_CLASS_CHECK_PARENT(className, parentClass)
Definition SoSubEvent.h:139

Definition at line 152 of file SoSubEvent.h.

◆ SO_EVENT_SOURCE

#define SO_EVENT_SOURCE (   className)
Value:
SO__EVENT_METHODS(className)
#define SO__EVENT_VARS(className)
Definition SoSubEvent.h:96

Definition at line 125 of file SoSubEvent.h.