43 _componentName(other._componentName)
86 std::list<InputPort *>::iterator iter1;
92 Any ** In =
new Any * [nIn], ** Out =
new Any * [nOut];
101 In[it] =
p->getCppObj();
109 _componentC->
run(
_method.c_str(), nIn, nOut, In, Out);
112 _run(nIn, nOut, In, Out);
115 std::list<OutputPort *>::iterator iter2;
122 DEBTRACE(
"ref count: " << Out[it]->getRefCnt());
145 return new CppNode(*
this,father);
160 list<InputPort *>::iterator iter;
165 DEBTRACE(
"port kind: " <<
p->edGetType()->kind());
166 n->edAddInputPort(
p->
getName(),
p->edGetType());
168 list<OutputPort *>::iterator iter2;
173 DEBTRACE(
"port kind: " <<
p->edGetType()->kind());
174 n->edAddOutputPort(
p->
getName(),
p->edGetType());
: Interface for management of storage of data formated dynamically in its TypeCode....
Base class for all composed nodes.
std::string getName() const
void run(const char *service, int nbIn, int nbOut, Any **argIn, Any **argOut)
Class for C++ Nodes (in process component)
std::string _componentName
void setCode(const std::string &componentName, const std::string &service)
CppNode * cloneNode(const std::string &name)
Create a new node of same type with a given name.
Node * simpleClone(ComposedNode *father, bool editionOnly) const
Clone the node : must also clone the component instance ?
virtual void load()
Load the component associated to the node.
CppNode(const CppNode &other, ComposedNode *father)
virtual ServiceNode * createNode(const std::string &name)
static const char IMPL_NAME[]
std::list< InputPort * > _setOfInputPort
std::list< OutputPort * > _setOfOutputPort
Base class for all nodes.
std::string _implementation
Class for calculation node associated with a component service.
virtual void setRef(const std::string &ref)
Associate a new component instance to this service node.
virtual void load()
Load the component associated to the node.
ComponentInstance * _component
virtual void setComponent(ComponentInstance *compo)
Associate an existing component instance to this service node AND check the consistency regarding the...
void(* MYRUN)(int nbin, int nbout, YACS::ENGINE::Any **in, YACS::ENGINE::Any **out)