Version: 8.3.0
Container_i.cxx File Reference
#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"
Include dependency graph for Container_i.cxx:

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
 

Macro Definition Documentation

#define SLASH   '/'

Referenced by findpathof().

Function Documentation

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.

Parameters
filenamefile name to search
pathpath to search in
pththe complete file path if found
Returns
1 if found 0 if not

References SEP, and SLASH.

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 
)

Variable Documentation

int _ArgC
char** _ArgV
bool _Sleeping = false