pluginfactory.h File Reference

#include <string>
#include <map>
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <libxml/tree.h>
#include <sigc++/sigc++.h>
#include "material.h"
#include "renderable.h"
#include "bumpmap.h"

Include dependency graph for pluginfactory.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PluginFactory< _ParentType, _SigType, _SlotType >

Typedefs

typedef sigc::signal< BumpMap *,
xmlNode * > 
bumpmap_create_fn
 Signal for a function which constructs a new instance of a BumpMap.
typedef sigc::slot< BumpMap *,
xmlNode * > 
bumpmap_create_slot
typedef PluginFactory< BumpMap,
bumpmap_create_fn, bumpmap_create_slot
BumpMapFactory
typedef sigc::signal< Material *,
std::map< std::string, std::string > > 
material_create_fn
typedef sigc::slot< Material *,
std::map< std::string, std::string > > 
material_create_slot
typedef PluginFactory< Material,
material_create_fn, material_create_slot
MaterialFactory
typedef sigc::signal< Renderable *,
xmlNode * > 
primitive_create_fn
 Signal for a function which constructs a new instance of a Renderable.
typedef sigc::slot< Renderable *,
xmlNode * > 
primitive_create_slot
typedef PluginFactory< Renderable,
primitive_create_fn, primitive_create_slot
RenderableFactory


Typedef Documentation

typedef sigc::signal<BumpMap *, xmlNode *> bumpmap_create_fn

Signal for a function which constructs a new instance of a BumpMap.

Definition at line 34 of file pluginfactory.h.

typedef sigc::slot<BumpMap *, xmlNode *> bumpmap_create_slot

This is an abstraction for bumpmap_create_fn signals to allow them to be passed transparently to the register function.

Definition at line 46 of file pluginfactory.h.

typedef PluginFactory<BumpMap, bumpmap_create_fn, bumpmap_create_slot> BumpMapFactory

Definition at line 129 of file pluginfactory.h.

typedef sigc::signal<Material *, std::map<std::string, std::string> > material_create_fn

Signal for a function which constructs a new instance of a Material.

Todo:
Change this to accept the XML node structure so we can keep the interface for materials and primitives the same and as flexible as possible.

Definition at line 28 of file pluginfactory.h.

typedef sigc::slot<Material *, std::map<std::string, std::string> > material_create_slot

This is an abstraction for material_create_fn signals to allow them to be passed transparently to the register function.

Definition at line 38 of file pluginfactory.h.

typedef PluginFactory<Material, material_create_fn, material_create_slot> MaterialFactory

Definition at line 127 of file pluginfactory.h.

typedef sigc::signal<Renderable *, xmlNode *> primitive_create_fn

Signal for a function which constructs a new instance of a Renderable.

Definition at line 31 of file pluginfactory.h.

typedef sigc::slot<Renderable *, xmlNode *> primitive_create_slot

This is an abstraction for primitive_create_fn signals to allow them to be passed transparently to the register function.

Definition at line 42 of file pluginfactory.h.

typedef PluginFactory<Renderable, primitive_create_fn, primitive_create_slot> RenderableFactory

Definition at line 128 of file pluginfactory.h.


Generated on Tue Oct 30 22:12:15 2007 for mbrt by  doxygen 1.5.2