Main Page
Namespaces
Classes
Files
File List
File Members
src
lib
coil
tests
Factory
MyFactory.h
Go to the documentation of this file.
1
#ifndef MYFACTORY_H
2
#define MYFACTORY_H
3
#include <coil/Factory.h>
4
5
class
Base
6
{
7
public
:
8
virtual
~Base
(){}
9
virtual
std::string
name
() = 0;
10
};
11
12
13
14
typedef
coil::GlobalFactory<Base>
MyFactory
;
15
EXTERN
template
class
DLL_PLUGIN
coil::GlobalFactory<Base>
;
16
17
18
#endif // MYFACTORY_H
Base
Definition:
MyFactory.h:5
DLL_PLUGIN
#define DLL_PLUGIN
Definition:
coil/common/Factory.h:39
Base::name
virtual std::string name()=0
coil::GlobalFactory
GlobalFactory template class.
Definition:
coil/common/Factory.h:423
MyFactory
coil::GlobalFactory< Base > MyFactory
Definition:
MyFactory.h:14
Base::~Base
virtual ~Base()
Definition:
MyFactory.h:8
EXTERN
#define EXTERN
Definition:
coil/common/Factory.h:40
openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:25:59