1 #ifndef _CORBANODE_HXX_
2 #define _CORBANODE_HXX_
4 #include "ServiceNode.hxx"
5 #include "yacsconfig.h"
7 #include "DSC_Engines.hh"
9 #include <omniORB4/CORBA.h>
16 /*! \brief Class for CORBA Service Node
21 * \see OutputCorbaPort
23 class CORBANode : public ServiceNode
26 Node *simpleClone(ComposedNode *father, bool editionOnly) const;
28 CORBANode(const CORBANode& other,ComposedNode *father);
29 CORBANode(const std::string& name);
30 virtual void execute();
31 virtual ServiceNode* createNode(const std::string& name);
32 virtual std::string getKind() const;
33 static const char KIND[];
34 virtual std::string typeName() {return "YACS__ENGINE__CORBANode";}
36 static const char IMPL_NAME[];
39 /*! \brief Class for Salome component Service Node
44 * \see OutputCorbaPort
46 class SalomeNode : public ServiceNode
49 Node *simpleClone(ComposedNode *father, bool editionOnly) const;
51 SalomeNode(const SalomeNode& other,ComposedNode *father);
52 SalomeNode(const std::string& name);
53 virtual ~SalomeNode();
54 virtual void execute();
55 virtual ServiceNode* createNode(const std::string& name);
56 virtual std::string getKind() const;
57 static const char KIND[];
58 virtual std::string typeName() {return "YACS__ENGINE__SalomeNode";}
60 virtual void initService();
61 virtual void connectService();
62 virtual void disconnectService();
63 std::list<Engines::ConnectionManager::connectionId> ids;
65 virtual std::string getContainerLog();