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   ) 
#define SO_EVENT_INIT_CLASS_INTERNAL ( className,
parentClass   ) 
Value:
#define SO_EVENT_SOURCE ( className   ) 

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/