29 #ifndef _SALOME_COMPONENT_I_HXX_
30 #define _SALOME_COMPONENT_I_HXX_
32 #include <SALOMEconfig.h>
42 #include <sys/types.h>
45 #include CORBA_SERVER_HEADER(SALOME_Component)
54 public virtual POA_Engines::EngineComponent,
55 public virtual PortableServer::ServantBase
60 PortableServer::POA_ptr
poa,
61 PortableServer::ObjectId * contId,
62 const char *instanceName,
63 const char *interfaceName,
68 PortableServer::POA_ptr
poa,
70 const char *instanceName,
71 const char *interfaceName,
75 CORBA::Boolean isSSLMode()
override;
82 char* interfaceName();
87 Engines::Container_ptr GetContainerRef();
92 virtual void SetOption(
const char*,
const char*);
93 virtual char* GetOption(
const char*);
95 void Names(
const char * graphName ,
const char * nodeName ) ;
100 CORBA::Long CpuUsed_impl() ;
103 CORBA::Boolean isMultiFile,
104 CORBA::Boolean& isValidScript);
107 virtual Engines::Salome_file_ptr getInputFileToService(
const char* service_name,
108 const char* Salome_file_name);
109 virtual Engines::Salome_file_ptr getOutputFileToService(
const char* service_name,
110 const char* Salome_file_name);
112 virtual void checkInputFilesToService(
const char* service_name);
113 virtual Engines::Salome_file_ptr setInputFileToService(
const char* service_name,
114 const char* Salome_file_name);
116 virtual void checkOutputFilesToService(
const char* service_name);
117 virtual Engines::Salome_file_ptr setOutputFileToService(
const char* service_name,
118 const char* Salome_file_name);
121 virtual bool hasObjectInfo();
122 virtual char* getObjectInfo(
const char* entry);
129 PortableServer::ObjectId * getId();
131 std::string getContainerName();
132 void setContainerName();
135 static std::string GetDynLibraryName(
const char *componentName);
137 void beginService(
const char *serviceName);
138 void endService(
const char *serviceName);
139 void sendMessage(
const char *event_type,
const char *message);
142 bool Killer( pthread_t ThreadId ,
int signum );
145 void CancelThread() ;
147 virtual void configureSalome_file(std::string service_name,
148 std::string file_port_name,
164 PortableServer::ObjectId *
_id;
190 pthread_t* _ThreadId ;
#define CONTAINER_EXPORT
Definition: SALOME_Container.hxx:37
C++ implementation of Engines::Component interface.
Definition: SALOME_Component_i.hxx:56
std::string _instanceName
Definition: SALOME_Component_i.hxx:158
std::string _serviceName
Definition: SALOME_Component_i.hxx:182
pthread_t _ThreadId
Definition: SALOME_Component_i.hxx:188
std::string _nodeName
Definition: SALOME_Component_i.hxx:184
PortableServer::ObjectId * _id
Definition: SALOME_Component_i.hxx:164
long _ThreadCpuUsed
Definition: SALOME_Component_i.hxx:193
std::string _interfaceName
Definition: SALOME_Component_i.hxx:159
_t_Service_file_map _Input_Service_file_map
Definition: SALOME_Component_i.hxx:177
_t_Service_file_map::iterator _Service_file_map_it
Definition: SALOME_Component_i.hxx:179
Engines_Component_i * _thisObj
Definition: SALOME_Component_i.hxx:167
NOTIFICATION_Supplier * _notifSupplier
Definition: SALOME_Component_i.hxx:169
PortableServer::POA_var _poa
Definition: SALOME_Component_i.hxx:163
RegistryConnexion * _myConnexionToRegistry
Definition: SALOME_Component_i.hxx:168
bool _CanceledThread
Definition: SALOME_Component_i.hxx:195
std::string _containerName
Definition: SALOME_Component_i.hxx:160
CORBA::ORB_var _orb
Definition: SALOME_Component_i.hxx:162
static bool _isMultiInstance
Definition: SALOME_Component_i.hxx:156
_t_Service_file_map _Output_Service_file_map
Definition: SALOME_Component_i.hxx:178
std::map< std::string, CORBA::Any > _fieldsDict
Definition: SALOME_Component_i.hxx:170
std::string _graphName
Definition: SALOME_Component_i.hxx:183
std::map< std::string, Salome_file_i * > _t_Salome_file_map
Definition: SALOME_Component_i.hxx:173
Engines::Container_var _container
Definition: SALOME_Component_i.hxx:166
std::map< std::string, Engines_Component_i::_t_Salome_file_map * > _t_Service_file_map
Definition: SALOME_Component_i.hxx:175
bool _Executed
Definition: SALOME_Component_i.hxx:194
PortableServer::ObjectId * _contId
Definition: SALOME_Component_i.hxx:165
long _StartUsed
Definition: SALOME_Component_i.hxx:192
_t_Salome_file_map::iterator _Salome_file_map_it
Definition: SALOME_Component_i.hxx:180
static bool isMultiInstance()
C++ implementation of Engines::Container interface.
Definition: SALOME_Container_i.hxx:199
Definition: NOTIFICATION_Supplier.hxx:37
Definition: RegistryConnexion.hxx:45
Definition: SALOME_NamingService_Abstract.hxx:46
A class to manage file transfer in SALOME.
Definition: Salome_file_i.hxx:42
sequence< KeyValuePair > FieldsDict
Definition: SALOME_Component.idl:64
sequence< octet > TMPFile
A byte stream which is used for binary data transfer between different components.
Definition: SALOME_Component.idl:49
def getVersion(mod="KERNEL", full=False)
Definition: salome_version.py:40
poa
Definition: SALOME_ContainerPy.py:377
container
Definition: TestComponentPy.py:63
orb
Definition: salome.py:122