#include <sys/time.h>
#include "MeshJobManager_i.hxx"
#include <SALOMEconfig.h>
#include <CORBA_SERVER_HEADER(SALOME_Exception)>
#include "Basics_Utils.hxx"
#include "SALOME_KernelServices.hxx"
#include <iostream>
#include <fstream>
#include <unistd.h>
#include <libgen.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdlib.h>
Macros | |
#define | LOG STDLOG |
Functions | |
static long | timetag () |
This function must be used to associate a datetime tag to a job. More... | |
static bool | myStartsWith (const std::string &text, const std::string &token) |
This function returns true if the string text starts with the string token. More... | |
static bool | fexists (const char *filename) |
This function returns true if the file exists on the local file system. More... | |
static std::string | OUTPUTFILE ("output.med") |
static std::string | DATAFILE ("data.txt") |
static std::string | SCRIPTFILE ("padder.sh") |
static std::string | SEPARATOR (" ") |
static std::string | USER (getenv("USER")) |
static std::string | LOCAL_INPUTDIR ("/tmp/spadder.local.inputdir."+USER) |
static std::string | LOCAL_RESULTDIR ("/tmp/spadder.local.resultdir."+USER) |
static std::string | REMOTE_WORKDIR ("/tmp/spadder.remote.workdir."+USER) |
PortableServer::ObjectId * | MeshJobManagerEngine_factory (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName) |
#define LOG STDLOG |
Referenced by MeshJobManager_i::_getResourceNames(), MeshJobManager_i::clean(), MeshJobManager_i::configure(), MeshJobManager_i::finalize(), MeshJobManager_i::getPaths(), MeshJobManager_i::getState(), MeshJobManager_i::initialize(), MeshJobManager_i::MeshJobManager_i(), MeshJobManagerEngine_factory(), SPADDERPluginTester_i::SPADDERPluginTester_i(), MeshJobManager_i::start(), and MeshJobManager_i::~MeshJobManager_i().
|
static |
Referenced by MeshJobManager_i::_writeDataFile().
|
static |
This function returns true if the file exists on the local file system.
Referenced by MeshJobManager_i::finalize(), and MeshJobManager_i::initialize().
|
static |
|
static |
Referenced by MeshJobManager_i::initialize().
PortableServer::ObjectId* MeshJobManagerEngine_factory | ( | CORBA::ORB_ptr | orb, |
PortableServer::POA_ptr | poa, | ||
PortableServer::ObjectId * | contId, | ||
const char * | instanceName, | ||
const char * | interfaceName | ||
) |
References LOG.
|
static |
This function returns true if the string text starts with the string token.
Referenced by MeshJobManager_i::clean().
|
static |
Referenced by MeshJobManager_i::_writeDataFile(), MeshJobManager_i::finalize(), and MeshJobManager_i::initialize().
|
static |
Referenced by MeshJobManager_i::initialize().
|
static |
Referenced by MeshJobManager_i::_writeScriptFile().
|
static |
Referenced by MeshJobManager_i::_writeDataFile().
|
static |
This function must be used to associate a datetime tag to a job.
Referenced by MeshJobManager_i::initialize().
|
static |