#include <dynamic-graph/corba/interpreter.hh>
List of all members.
Public Member Functions |
| Interpreter () |
| Constructor.
|
void | startCorbaServer (const std::string &contextId, const std::string &contextKind, const std::string &objectId, const std::string &objectKind) |
| Start corba server.
|
int | processRequest (bool inLoop) |
| Process pending Corba requests.
|
void | python (const std::string &inCommand, CORBA::String_out res, CORBA::String_out out, CORBA::String_out err) |
| Locally run python command in interpreterd, return result, stderr and stdout.
|
std::string | python (const std::string &inCommand) |
| Locally run python command in interpreterd, return only result.
|
python::Interpreter & | local () |
| Return a reference to the local python interpreter.
|
Constructor & Destructor Documentation
dynamicgraph::corba::Interpreter::Interpreter |
( |
| ) |
|
Member Function Documentation
python::Interpreter& dynamicgraph::corba::Interpreter::local |
( |
| ) |
|
Return a reference to the local python interpreter.
int dynamicgraph::corba::Interpreter::processRequest |
( |
bool |
inLoop | ) |
|
Process pending Corba requests.
- Parameters:
-
inLoop | whether the function should return after processing pending requests or loop and wait for forthcoming requests. |
void dynamicgraph::corba::Interpreter::python |
( |
const std::string & |
inCommand, |
|
|
CORBA::String_out |
res, |
|
|
CORBA::String_out |
out, |
|
|
CORBA::String_out |
err |
|
) |
| |
Locally run python command in interpreterd, return result, stderr and stdout.
std::string dynamicgraph::corba::Interpreter::python |
( |
const std::string & |
inCommand | ) |
|
Locally run python command in interpreterd, return only result.
void dynamicgraph::corba::Interpreter::startCorbaServer |
( |
const std::string & |
contextId, |
|
|
const std::string & |
contextKind, |
|
|
const std::string & |
objectId, |
|
|
const std::string & |
objectKind |
|
) |
| |
Start corba server.
- Parameters:
-
contextId,contextKind,objectId,objectKind | identification of the server in corba name server. Can be understood as a filename in a directory: contextId.contextKind/objectId.objectKind. |