#include <Inventor/events/SoEvent.h>
#include <Inventor/SoType.h>
#include <Inventor/misc/SoBasic.h>
Go to the source code of this file.
Defines | |
#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) |
#define SO__EVENT_METHODS | ( | className | ) |
\ SoType \ className::getTypeId() const \ { \ return classTypeId; \ } \ \ SoType \ className::getClassTypeId() \ { \ return classTypeId; \ }
#define SO__EVENT_VARS | ( | className | ) | SoType className::classTypeId; |
Returns the type identifier for this class.
Returns the type identifier for this specific instance.
#define SO_EVENT_EXIT_CLASS | ( | className | ) |
SoType::removeType(classTypeId.getName()); \ classTypeId = SoType::badType()
#define SO_EVENT_HEADER | ( | ) |
public: \ \ static SoType getClassTypeId(); \ \ virtual SoType getTypeId() const; \ private: \ static SoType classTypeId
#define SO_EVENT_INIT_CLASS | ( | className, | |||
parentClass | ) | SO_EVENT_INIT_CLASS_INTERNAL(className,parentClass); |
#define SO_EVENT_INIT_CLASS_CHECK_PARENT | ( | className, | |||
parentClass | ) |
if (parentClass::getClassTypeId().isBad()) \ parentClass::initClass()
#define SO_EVENT_INIT_CLASS_INTERNAL | ( | className, | |||
parentClass | ) |
SO_EVENT_INIT_CLASS_CHECK_PARENT(className, parentClass); \ classTypeId = SoType::createType(parentClass::getClassTypeId(), SO__QUOTE(className))
#define SO_EVENT_SOURCE | ( | className | ) |