]> SALOME platform Git repositories - modules/superv.git/blob - src/Supervision/Value_Impl.hxx
Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/superv.git] / src / Supervision / Value_Impl.hxx
1 //=============================================================================
2 // File      : Value_Impl.hxx
3 // Created   : Nov 2001
4 // Author    : Jean Rahuel
5 // Project   : SALOME
6 // Copyright : CEA 2001
7 // $Header: 
8 //=============================================================================
9
10 #ifndef _VALUE_IMPL_HXX_
11 #define _VALUE_IMPL_HXX_
12
13 #include <iostream.h>
14
15 #include "CORBA.h"
16
17 #include <SALOMEconfig.h>
18 #include "SALOME_Component_i.hxx"
19 #include "SALOME_LifeCycleCORBA.hxx"
20
21 #include "DataFlowEditor_DataFlow.hxx"
22
23 class Value_Impl : public POA_SUPERV::Value ,
24                    public Engines_Component_i  {
25   private:
26
27     CORBA::ORB_ptr             _Orb ;
28     PortableServer::POA_ptr    _Poa ;
29     PortableServer::ObjectId * _ContId ;
30
31     GraphEditor::DataFlow * _DataFlowEditor ;
32     GraphEditor::InNode *   _DataFlowNode ;
33     char *                  _ParameterName ;
34     bool                    _InputPort ;
35     bool                    _InputValue ;
36     CORBA::Any *            _Any ;
37
38   public:
39     Value_Impl();
40     Value_Impl( CORBA::ORB_ptr orb ,
41                 PortableServer::POA_ptr poa ,
42                 PortableServer::ObjectId * contId , 
43                 const char *instanceName ,
44                 const char *interfaceName ,
45                 GraphEditor::DataFlow * DataFlowEditor ,
46                 GraphEditor::InNode * DataFlowNode ,
47                 const char *ParameterName ,
48                 const CORBA::Any * anAny ,
49                 const bool activate ) ;
50     Value_Impl( CORBA::ORB_ptr orb ,
51                 PortableServer::POA_ptr poa ,
52                 PortableServer::ObjectId * contId , 
53                 const char *instanceName ,
54                 const char *interfaceName ,
55                 GraphEditor::DataFlow * DataFlowEditor ,
56                 GraphEditor::InNode * DataFlowNode ,
57                 const char *ParameterName ,
58                 const bool activate ) ;
59
60     virtual ~Value_Impl() ;
61     virtual void destroy() ;
62
63     virtual void InPort( bool anInput ) ;
64
65     virtual bool Input( const CORBA::Any * anAny ) ;
66
67     virtual CORBA::Any * ToAny() ;
68     virtual char * ToString() ;
69     virtual bool IsIOR() ;
70     virtual char* ComponentDataType() ;
71
72 } ;
73
74 #endif