19 class Proc: public Bloc
22 Proc(const std::string& name);
24 virtual TypeCode *createType(const std::string& name, const std::string& kind);
25 virtual TypeCode *createInterfaceTc(const std::string& id, const std::string& name,
26 std::list<TypeCodeObjref *> ltc);
27 virtual TypeCode *createSequenceTc (const std::string& id, const std::string& name,
29 virtual TypeCode *createStructTc (const std::string& id, const std::string& name);
30 virtual TypeCode* getTypeCode(const std::string& name);
31 virtual void setTypeCode(const std::string& name,TypeCode *t);
32 virtual void accept(Visitor *visitor);
34 YACS::StatesForNode getNodeState(int numId);
35 std::string getXMLState(int numId);
36 std::list<int> getNumIds();
37 std::list<std::string> getIds();
39 virtual void writeDot(std::ostream &os);
40 void setName(const std::string& name); // Used by GUI to display graph name
41 friend std::ostream & operator<< ( std::ostream &os, const Proc& p);
42 std::map<std::string, Node*> nodeMap;
43 std::map<std::string, ServiceNode*> serviceMap;
44 std::map<std::string, InlineNode*> inlineMap;
45 std::map<std::string, TypeCode*> typeMap;
46 std::map<std::string, Container*> containerMap;
47 std::vector<std::string> names;