AGXDynamics  2.31.1.0
agxUtil::SceneRoot Class Referenceabstract

#include <agxUtil.h>

+ Inheritance diagram for agxUtil::SceneRoot:

Public Types

enum  Priority { HIGHEST_PRIORITY = 2147483647, LOWEST_PRIORITY = 10000, DEFAULT_PRIORITY = 1073741824 }
 Specifies the ranges of the priority which can be assigned to a singleton at the time of creation. More...
 

Public Member Functions

virtual bool createVisual (agx::RigidBody *, float=0.30f)
 
virtual bool createVisual (agxCollide::Geometry *, float=0.30f)
 
virtual std::string getClassName () const =0
 
int getPriority () const
 Return the shutdown priority of the singleton instance. More...
 
virtual void shutdown ()
 Implement this method to cleanup your Singleton class. More...
 

Static Public Member Functions

static SceneRoot * object ()
 
static void setInstance (SceneRoot *baseInstance)
 

Protected Member Functions

virtual ~SceneRoot ()
 
void _shutdown ()
 

Static Protected Attributes

static SceneRoot * s_baseInstance
 

Detailed Description

Definition at line 532 of file agxUtil.h.

Member Enumeration Documentation

◆ Priority

enum agx::Singleton::Priority
inherited

Specifies the ranges of the priority which can be assigned to a singleton at the time of creation.

Enumerator
HIGHEST_PRIORITY 

The highest priority that can be given to a singleton.

LOWEST_PRIORITY 

The lowest priority that can be given to a singleton.

DEFAULT_PRIORITY 

The default priority given to a singleton.

Definition at line 35 of file Singleton.h.

Constructor & Destructor Documentation

◆ ~SceneRoot()

virtual agxUtil::SceneRoot::~SceneRoot ( )
inlineprotectedvirtual

Definition at line 545 of file agxUtil.h.

Member Function Documentation

◆ _shutdown()

void agx::Singleton::_shutdown ( )
protectedinherited

◆ createVisual() [1/2]

virtual bool agxUtil::SceneRoot::createVisual ( agx::RigidBody *  ,
float  = 0.30f 
)
inlinevirtual

Definition at line 537 of file agxUtil.h.

◆ createVisual() [2/2]

virtual bool agxUtil::SceneRoot::createVisual ( agxCollide::Geometry *  ,
float  = 0.30f 
)
inlinevirtual

Definition at line 538 of file agxUtil.h.

◆ getClassName()

virtual std::string agx::Singleton::getClassName ( ) const
pure virtualinherited

◆ getPriority()

int agx::Singleton::getPriority ( ) const
inherited

Return the shutdown priority of the singleton instance.

◆ object()

static SceneRoot* agxUtil::SceneRoot::object ( )
static

◆ setInstance()

static void agxUtil::SceneRoot::setInstance ( SceneRoot *  baseInstance)
static

◆ shutdown()

Member Data Documentation

◆ s_baseInstance

SceneRoot* agxUtil::SceneRoot::s_baseInstance
staticprotected

Definition at line 548 of file agxUtil.h.


The documentation for this class was generated from the following file: