julian::ObjectFactoryHelper< Base, Derived > Class Template Reference

factory helper More...

#include <objectFactory.hpp>

Public Member Functions

 ObjectFactoryHelper (std::string)
 constructor More...
 

Static Public Member Functions

static SmartPointer< Base > create ()
 creator More...
 

Detailed Description

template<class Base, class Derived>
class julian::ObjectFactoryHelper< Base, Derived >

factory helper

ObjectFactoryHelper helps to insert a new object to factory's creator list. It also implements the instance of object creator.

Examples:
DataFrameExample.cpp.

Constructor & Destructor Documentation

template<class Base , class Derived >
julian::ObjectFactoryHelper< Base, Derived >::ObjectFactoryHelper ( std::string  name)

constructor

Constructor registers the creator of new object type in factory's creator lists

Member Function Documentation

template<class Base , class Derived >
SmartPointer< Base > julian::ObjectFactoryHelper< Base, Derived >::create ( )
static

creator

This method is called by factor to create derived object and return it as SmartPointer to base class


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