DialogViz/auditors/SoSubAuditor.h File Reference

#include <Inventor/SoType.h>
#include <Inventor/SbString.h>
#include <Inventor/misc/SoBasic.h>

Go to the source code of this file.

Defines

#define SO_AUDITOR_HEADER()
#define SO__AUDITOR_VARS(className)   SoType className::classTypeId
#define SO__AUDITOR_METHODS(className)
#define SO_AUDITOR_SOURCE(className)
#define SO_AUDITOR_INIT_CLASS_INTERNAL(className, parentClass)
#define SO_AUDITOR_INIT_CLASS(className, parentClass)   SO_AUDITOR_INIT_CLASS_INTERNAL(className,parentClass);
#define SO_AUDITOR_EXIT_CLASS(className)   SoType::removeType(SO__QUOTE(className))
#define ADD_MESSAGE_FIELD(field)
#define NEW_MESSAGE_GROUP(className)
#define NEW_MESSAGE_AUDITOR(className)

Define Documentation

#define ADD_MESSAGE_FIELD ( field   ) 
Value:
message += "\n\t\t -> "; \
  message += #field; \
  message += " \""; \
  message += cpt->field.getValue(); \
  message += "\""
#define NEW_MESSAGE_AUDITOR ( className   ) 
Value:
SbString message = "WARNING ! Auditor not defined for the "; \
  message += #className; \
  message += " component :"; \
  ADD_MESSAGE_FIELD(auditorID)
#define NEW_MESSAGE_GROUP ( className   ) 
Value:
SbString message = "WARNING ! The DialogAuditor does not define the "; \
  message += #className; \
  message += " component :"
#define SO__AUDITOR_METHODS ( className   ) 
Value:
\
  SoType                                \
  className::getTypeId() const          \
  {                                     \
        return classTypeId;                 \
  }                                     \
                                        \
  SoType                                \
  className::getClassTypeId()           \
  {                                                                           \
    return classTypeId;                                               \
  }
#define SO__AUDITOR_VARS ( className   )     SoType className::classTypeId
#define SO_AUDITOR_EXIT_CLASS ( className   )     SoType::removeType(SO__QUOTE(className))
 
#define SO_AUDITOR_HEADER (  ) 
Value:
public:                                                                     \
    static SoType       getClassTypeId();       /* Returns class type id */   \
                                                                              \
    virtual SoType      getTypeId() const;      /* Returns type id      */    \
  private:                                                                    \
    static SoType       classTypeId
#define SO_AUDITOR_INIT_CLASS ( className,
parentClass   )     SO_AUDITOR_INIT_CLASS_INTERNAL(className,parentClass);
#define SO_AUDITOR_INIT_CLASS_INTERNAL ( className,
parentClass   ) 
Value:
classTypeId =                                                             \
        SoType::createType(parentClass::getClassTypeId(),                     \
                   SO__QUOTE(className))
#define SO_AUDITOR_SOURCE ( className   ) 

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