This commit is contained in:
eap 2013-05-16 17:09:28 +00:00
parent 8df43f2a70
commit b93c19aaa2
3 changed files with 9 additions and 9 deletions

View File

@ -295,9 +295,9 @@ CORBA::Long MeshJobManager_i::initialize(const MESHJOB::MeshJobParameterList & m
break; break;
default: default:
_lastErrorMessage = _lastErrorMessage =
std::string("The type of the file ")+ std::string("The type of the file ")+
std::string(currentMesh.file_name)+ std::string(currentMesh.file_name)+
std::string(" is not recognized"); std::string(" is not recognized");
LOG(_lastErrorMessage); LOG(_lastErrorMessage);
return JOBID_UNDEFINED; return JOBID_UNDEFINED;
} }
@ -573,8 +573,8 @@ MESHJOB::MeshJobResults * MeshJobManager_i::finalize(CORBA::Long jobId) {
if ( fexists( (local_resultdir+"/"+outputFileName).c_str() ) != true ) { if ( fexists( (local_resultdir+"/"+outputFileName).c_str() ) != true ) {
_lastErrorMessage = std::string("The result file ")+ _lastErrorMessage = std::string("The result file ")+
std::string((local_resultdir+"/"+outputFileName).c_str())+ std::string((local_resultdir+"/"+outputFileName).c_str())+
std::string(" has not been created."); std::string(" has not been created.");
result->status = false; result->status = false;
} }
else { else {

View File

@ -43,9 +43,9 @@ public:
~MeshJobManager_i(); ~MeshJobManager_i();
bool configure (const char *configId, bool configure (const char *configId,
const MESHJOB::ConfigParameter & configParameter); const MESHJOB::ConfigParameter & configParameter);
CORBA::Long initialize (const MESHJOB::MeshJobParameterList & meshJobParameterList, CORBA::Long initialize (const MESHJOB::MeshJobParameterList & meshJobParameterList,
const char *configId); const char *configId);
bool start (CORBA::Long jobId); bool start (CORBA::Long jobId);
char* getState (CORBA::Long jobId); char* getState (CORBA::Long jobId);
MESHJOB::MeshJobResults * finalize(CORBA::Long jobId); MESHJOB::MeshJobResults * finalize(CORBA::Long jobId);

View File

@ -34,8 +34,8 @@ class SPADDERPluginTester_i:
{ {
public: public:
SPADDERPluginTester_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, SPADDERPluginTester_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa,
PortableServer::ObjectId * contId, PortableServer::ObjectId * contId,
const char *instanceName, const char *interfaceName); const char *instanceName, const char *interfaceName);
virtual ~SPADDERPluginTester_i(); virtual ~SPADDERPluginTester_i();
void demo(CORBA::Double a,CORBA::Double b,CORBA::Double& c); void demo(CORBA::Double a,CORBA::Double b,CORBA::Double& c);