Inventor/events/SoSubEvent.h File Reference

#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 Documentation

#define SO__EVENT_METHODS ( className   ) 
Value:
\
    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   ) 
Value:
SoType::removeType(classTypeId.getName()); \
  classTypeId = SoType::badType()
 
#define SO_EVENT_HEADER (  ) 
Value:
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   ) 
Value:
if (parentClass::getClassTypeId().isBad())                                          \
    parentClass::initClass()
#define SO_EVENT_INIT_CLASS_INTERNAL ( className,
parentClass   ) 
Value:
SO_EVENT_INIT_CLASS_CHECK_PARENT(className, parentClass); \
  classTypeId = SoType::createType(parentClass::getClassTypeId(), SO__QUOTE(className))
#define SO_EVENT_SOURCE ( className   ) 

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/