View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Classes | Public Types | Static Public Member Functions | List of all members
vistle::ObjectTypeRegistry Class Reference

#include <core/object.h>

Classes

struct  FunctionTable
 

Public Types

typedef Object *(* CreateEmptyFunc) (const std::string &name)
 
typedef Object *(* CreateFunc) (Object::Data *d)
 
typedef void(* DestroyFunc) (const std::string &name)
 

Static Public Member Functions

template<class O >
static void registerType (int id)
 
static const struct FunctionTablegetType (int id)
 
static CreateFunc getCreator (int id)
 
static DestroyFunc getDestroyer (int id)
 

Class Documentation

◆ vistle::ObjectTypeRegistry::FunctionTable

struct vistle::ObjectTypeRegistry::FunctionTable
Collaboration diagram for vistle::ObjectTypeRegistry::FunctionTable:
Class Members
CreateFunc create
CreateEmptyFunc createEmpty
DestroyFunc destroy

Member Typedef Documentation

◆ CreateEmptyFunc

typedef Object *(* vistle::ObjectTypeRegistry::CreateEmptyFunc) (const std::string &name)

◆ CreateFunc

typedef Object *(* vistle::ObjectTypeRegistry::CreateFunc) (Object::Data *d)

◆ DestroyFunc

typedef void(* vistle::ObjectTypeRegistry::DestroyFunc) (const std::string &name)

Member Function Documentation

◆ getCreator()

ObjectTypeRegistry::CreateFunc vistle::ObjectTypeRegistry::getCreator ( int  id)
static

◆ getDestroyer()

ObjectTypeRegistry::DestroyFunc vistle::ObjectTypeRegistry::getDestroyer ( int  id)
static

◆ getType()

const struct ObjectTypeRegistry::FunctionTable & vistle::ObjectTypeRegistry::getType ( int  id)
static

◆ registerType()

template<class O >
static void vistle::ObjectTypeRegistry::registerType ( int  id)
inlinestatic

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