#include <string.h>#include <stdio.h>#include <time.h>#include <sys/types.h>#include <sys/time.h>#include <dlfcn.h>#include <unistd.h>#include <sys/wait.h>#include "utilities.h"#include <SALOMEconfig.h>#include <CORBA_SERVER_HEADER(SALOME_Component)>#include <CORBA_SERVER_HEADER(SALOME_Exception)>#include <pthread.h>#include "SALOME_Container_i.hxx"#include "SALOME_Component_i.hxx"#include "SALOME_FileRef_i.hxx"#include "SALOME_FileTransfer_i.hxx"#include "Salome_file_i.hxx"#include "SALOME_NamingService.hxx"#include "Basics_Utils.hxx"#include <Python.h>#include "Container_init_python.hxx"
Macros | |
| #define | LIB "lib" |
| #define | ENGINESO "Engine.so" |
| #define | SEP ':' |
| #define | SLASH '/' |
Functions | |
| void | ActSigIntHandler () |
| void | SigIntHandler (int, siginfo_t *, void *) |
| int | checkifexecutable (const std::string &) |
| int | findpathof (const std::string &path, std::string &pth, const std::string &filename) |
| Find a file by searching in a path. More... | |
| void | SetCpuUsed () |
| C++ method: More... | |
| void | CallCancelThread () |
Variables | |
| bool | _Sleeping = false |
| int | _ArgC |
| char ** | _ArgV |
| static PyObject * | _pyCont |
| #define ENGINESO "Engine.so" |
| #define LIB "lib" |
| #define SEP ':' |
Referenced by findpathof(), and Engines_Container_i::load_component_CppImplementation().
| #define SLASH '/' |
Referenced by findpathof().
| void ActSigIntHandler | ( | ) |
References SigIntHandler().
Referenced by Engines_Container_i::Engines_Container_i(), Engines_Parallel_Container_i::Engines_Parallel_Container_i(), and SigIntHandler().
| void CallCancelThread | ( | ) |
| int checkifexecutable | ( | const std::string & | filename | ) |
| int findpathof | ( | const std::string & | path, |
| std::string & | pth, | ||
| const std::string & | filename | ||
| ) |
Find a file by searching in a path.
| filename | file name to search |
| path | path to search in |
| pth | the complete file path if found |
Referenced by Engines_Container_i::load_component_CppImplementation(), and Engines_Container_i::load_component_ExecutableImplementation().
| void SetCpuUsed | ( | ) |
C++ method:
| void SigIntHandler | ( | int | what, |
| siginfo_t * | siginfo, | ||
| void * | toto | ||
| ) |
References _Sleeping, ActSigIntHandler(), CallCancelThread(), and SetCpuUsed().
Referenced by ActSigIntHandler().
| int _ArgC |
| char** _ArgV |
|
static |
Referenced by Engines_Container_i::create_python_service_instance(), Engines_Container_i::createPyNode(), Engines_Container_i::createPyScriptNode(), Engines_Container_i::createPythonInstance(), Engines_Container_i::Engines_Container_i(), and Engines_Container_i::load_component_PythonImplementation().
| bool _Sleeping = false |