VISR  0.11.6
Versatile Interactive Scene Renderer
visr::objectmodel::ObjectFactory Class Reference

#include <object_factory.hpp>

Static Public Member Functions

static std::unique_ptr< Objectcreate (ObjectTypeId typeId, ObjectId objectId)
 
static const ObjectParserparser (ObjectTypeId typeId)
 
template<class ObjectType , class ParserType >
static void registerObjectType (ObjectTypeId typeId)
 

Member Function Documentation

◆ create()

std::unique_ptr< Object > visr::objectmodel::ObjectFactory::create ( ObjectTypeId  typeId,
ObjectId  objectId 
)
static

◆ parser()

const ObjectParser & visr::objectmodel::ObjectFactory::parser ( ObjectTypeId  typeId)
static

◆ registerObjectType()

template<class ObjectType , class ParserType >
void visr::objectmodel::ObjectFactory::registerObjectType ( ObjectTypeId  typeId)
static

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