40 class ComponentInstance;
46 Proc(
const std::string& name);
48 virtual TypeCode *createType(
const std::string& name,
const std::string& kind);
49 virtual TypeCode *createInterfaceTc(
const std::string&
id,
const std::string& name,
50 std::list<TypeCodeObjref *> ltc);
51 virtual TypeCode *createSequenceTc (
const std::string&
id,
const std::string& name,
53 virtual TypeCode *createStructTc (
const std::string&
id,
const std::string& name);
54 virtual TypeCode *getTypeCode(
const std::string& name);
55 virtual void setTypeCode(
const std::string& name,
TypeCode *
t);
56 virtual Container *createContainer(
const std::string& name,
const std::string& kind=
"");
58 const std::string& name=
"",
59 const std::string& kind=
"");
60 virtual void addComponentInstance(
ComponentInstance* inst,
const std::string& name=
"",
bool resetCtr=
false);
62 virtual void removeContainer(
Container* cont);
63 virtual void accept(
Visitor *visitor);
64 virtual Proc *getProc();
65 virtual const Proc *getProc()
const;
66 virtual void updateContainersAndComponents();
69 std::string getNodeProgress(
int numId);
70 int getGlobalProgressPercent();
71 std::string getInPortValue(
int nodeNumId, std::string portName);
72 std::string setInPortValue(std::string nodeName, std::string portName, std::string value);
73 std::string getOutPortValue(
int nodeNumId, std::string portName);
74 std::string getNodeErrorDetails(
int nodeNumId);
75 std::string getNodeErrorReport(
int nodeNumId);
76 std::string getNodeContainerLog(
int nodeNumId);
77 std::string getXMLState(
int numId);
78 std::list<int> getNumIds();
79 std::list<std::string> getIds();
80 virtual Logger *getLogger(
const std::string& name);
82 virtual void writeDot(std::ostream &os)
const;
83 void setName(
const std::string& name);
84 virtual std::string
typeName() {
return "YACS__ENGINE__Proc";}
98 virtual void setEdition(
bool edition);
99 virtual void modified();
100 virtual void saveSchema(
const std::string& xmlSchemaFile);
103 virtual void saveState(
const std::string& xmlStateFile);
105 void removeContainers();