/opt/ros/diamondback/stacks/graspit_simulator/graspit/include/Inventor/Qt/SoQtObject.h File Reference

#include <assert.h>
#include <Inventor/SbBasic.h>
#include <Inventor/SbString.h>
#include <Inventor/SoType.h>
#include <Inventor/Qt/SoQtBasic.h>
Include dependency graph for SoQtObject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SoQtObject

Defines

#define SOQT_OBJECT_ABSTRACT_HEADER(classname, parentname)
#define SOQT_OBJECT_ABSTRACT_SOURCE(classname)
#define SOQT_OBJECT_HEADER(classname, parentname)
#define SOQT_OBJECT_SOURCE(classname)
#define SOQT_STATIC_SOTYPE_INIT   = SoType::badType()
#define SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG   0

Define Documentation

#define SOQT_OBJECT_ABSTRACT_HEADER ( classname,
parentname   ) 
Value:
public: \
  static void initClass(void); \
  static SoType getClassTypeId(void); \
  virtual SoType getTypeId(void) const /* = 0 (see comment above) */; \
private: \
  typedef parentname inherited; \
  static SoType classTypeId

Definition at line 79 of file SoQtObject.h.

#define SOQT_OBJECT_ABSTRACT_SOURCE ( classname   ) 
Value:
void classname::initClass(void) { \
  assert(classname::classTypeId == SoType::badType()); \
  classname::classTypeId = \
    SoType::createType(inherited::getClassTypeId(), \
                        SO__QUOTE(classname)); \
} \
SoType classname::getClassTypeId(void) { \
  return classname::classTypeId; \
} \
SoType classname::getTypeId(void) const { \
  return classname::classTypeId; \
} \
SoType classname::classTypeId SOQT_STATIC_SOTYPE_INIT

Definition at line 98 of file SoQtObject.h.

#define SOQT_OBJECT_HEADER ( classname,
parentname   ) 
Value:
public: \
  static void initClass(void); \
  static SoType getClassTypeId(void); \
  virtual SoType getTypeId(void) const; \
  static void * createInstance(void); \
private: \
  typedef parentname inherited; \
  static SoType classTypeId

Definition at line 88 of file SoQtObject.h.

#define SOQT_OBJECT_SOURCE ( classname   ) 
Value:
void classname::initClass(void) { \
  assert(classname::classTypeId == SoType::badType()); \
  classname::classTypeId = \
    SoType::createType(inherited::getClassTypeId(), \
                        SO__QUOTE(classname), \
                        classname::createInstance); \
} \
SoType classname::getClassTypeId(void) { \
  return classname::classTypeId; \
} \
SoType classname::getTypeId(void) const { \
  return classname::classTypeId; \
} \
void * classname::createInstance(void) { \
  assert(classname::classTypeId != SoType::badType()); \
  return (void *) new classname; \
} \
SoType classname::classTypeId SOQT_STATIC_SOTYPE_INIT

Definition at line 113 of file SoQtObject.h.

#define SOQT_STATIC_SOTYPE_INIT   = SoType::badType()

Definition at line 68 of file SoQtObject.h.

#define SOQT_SUN_CC_4_0_SOTYPE_INIT_BUG   0

Definition at line 63 of file SoQtObject.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:14 2012