Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / engine / Test / RuntimeForEngineIntegrationTest.hxx
1 #ifndef __RUNTIMEFORENGINEINTEGRATIONTEST_HXX__
2 #define __RUNTIMEFORENGINEINTEGRATIONTEST_HXX__
3
4 #include "Runtime.hxx"
5
6 namespace YACS
7 {
8   namespace ENGINE
9   {
10     class RuntimeForEngineIntegrationTest : public Runtime
11     {
12     public:
13       static void setRuntime();
14       ElementaryNode* createNode(const std::string& implementation, const std::string& name) throw(Exception);
15       InputPort* createInputPort(const std::string& name, const std::string& impl, Node * node, TypeCode * type);
16       OutputPort* createOutputPort(const std::string& name, const std::string& impl, Node * node, TypeCode * type);
17       InputPort* adapt(InputPort* source, const std::string& impl,TypeCode * type) throw (ConversionException);
18       ComponentInstance* createComponentInstance(const std::string& name, const std::string& kind="");
19     };
20   }
21 }
22
23 #endif