1 #ifndef GPM_ModelClassFactory_H
2 #define GPM_ModelClassFactory_H
41 virtual SP::GPM_Rule
newRule()
const=0;
47 rule->setAction(action);
48 rule->setExpression(expr);
53 virtual SP::GPM_CompositorFunction
newFunction()
const=0;
58 const vector<tString>& realParameters,
63 const vector<tString>& nameParameters,
64 const vector<tFlag>& typeParameters,
65 const vector<tFlag>& cardParameters,
66 const vector<tFlag>& isConstParameters,
68 const tFlag& returnType)
const=0;
80 const SVC::CORE_Object& arguments)
const;
82 SVC::CORE_Object args;
virtual SP::GPM_Rule newRule() const =0
new rule
virtual SP::GPM_CompositorFunction newFunction() const =0
create a new function
DEFINE_SPTR(GPM_ModelClassFactory)
virtual ~GPM_ModelClassFactory(void)
destroy an object.
Definition: GPM_ModelClassFactory.cpp:12
GPM_ModelClassFactory(void)
create a dynamical system
Definition: GPM_ModelClassFactory.cpp:8
virtual SP::CORE_Object NewInstance(const tString &classname) const
create an instance of a class
Definition: GPM_ModelClassFactory.h:81
virtual SP::GPM_Rule newRule(const tFlag &action, const tString &expr) const
new rule
Definition: GPM_ModelClassFactory.h:45
This class is the class to save GPM classes.
Definition: GPM_ModelClassFactory.h:16
This class is the class to save GPM classes.
Definition: GPM_ClassFactory.h:13
#define tString
Definition: types.h:36
virtual SP::CORE_Object NewInstance(const tString &classname, const SVC::CORE_Object &arguments) const
create a new instance of class
Definition: GPM_ModelClassFactory.cpp:18
#define tFlag
Definition: types.h:14