SOFA API  3ea83cbd
Open source framework for multi-physics simuation
sofa::helper::SofaViewerFactory Class Reference

#include <ViewerFactory.h>

Inheritance diagram for sofa::helper::SofaViewerFactory:

Public Member Functions

const chargetViewerName (Key key)
 
const chargetAcceleratedViewerName (Key key)
 
- Public Member Functions inherited from sofa::helper::Factory< std::string, sofa::gui::common::BaseViewer, sofa::gui::common::BaseViewerArgument & >
bool registerCreator (Key key, Creator *creator, bool multi=false)
 
ObjectPtr createObject (Key key, Argument arg=NoArgument())
 
ObjectPtr createObject (Key key, Argument arg)
 
ObjectPtr createAnyObject (Argument arg)
 
void uniqueKeys (OutIterator out)
 
bool hasKey (Key key)
 
bool duplicateEntry (Key existing, Key duplicate)
 
bool resetEntry (Key existingKey)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 

Static Public Member Functions

static SofaViewerFactorygetInstance ()
 
static ObjectCreateObject (Key key, ArgumentRef arg)
 
static ObjectCreateAnyObject (ArgumentRef arg)
 
static bool HasKey (Key key)
 
static const charViewerName (Key key)
 
static const charAcceleratedName (Key key)
 
- Static Public Member Functions inherited from sofa::helper::Factory< std::string, sofa::gui::common::BaseViewer, sofa::gui::common::BaseViewerArgument & >
static Factory< Key, Object, Argument, ObjectPtr > * getInstance ()
 
static ObjectPtr CreateObject (Key key, Argument arg)
 
static ObjectPtr CreateAnyObject (Argument arg)
 
static bool HasKey (Key key)
 
static bool DuplicateEntry (Key existing, Key duplicate)
 
static bool ResetEntry (Key existing)
 

Additional Inherited Members

- Protected Attributes inherited from sofa::helper::Factory< std::string, sofa::gui::common::BaseViewer, sofa::gui::common::BaseViewerArgument & >
std::multimap< Key, Creator * > registry
 

Function details

◆ AcceleratedName()

static const char* sofa::helper::SofaViewerFactory::AcceleratedName ( Key  key)
inlinestatic

◆ CreateAnyObject()

static Object* sofa::helper::SofaViewerFactory::CreateAnyObject ( ArgumentRef  arg)
inlinestatic

◆ CreateObject()

static Object* sofa::helper::SofaViewerFactory::CreateObject ( Key  key,
ArgumentRef  arg 
)
inlinestatic

◆ getAcceleratedViewerName()

const char * sofa::helper::SofaViewerFactory::getAcceleratedViewerName ( Key  key)

◆ getInstance()

SofaViewerFactory * sofa::helper::SofaViewerFactory::getInstance ( )
static

◆ getViewerName()

const char * sofa::helper::SofaViewerFactory::getViewerName ( Key  key)

◆ HasKey()

static bool sofa::helper::SofaViewerFactory::HasKey ( Key  key)
inlinestatic

◆ ViewerName()

static const char* sofa::helper::SofaViewerFactory::ViewerName ( Key  key)
inlinestatic