#include <dynamic-graph/corba/interpreter.hh>
|
| Interpreter () |
| Constructor. More...
|
|
void | startCorbaServer (const std::string &contextId, const std::string &contextKind, const std::string &objectId, const std::string &objectKind) |
| Start corba server. More...
|
|
int | processRequest (bool inLoop) |
| Process pending Corba requests. More...
|
|
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. More...
|
|
std::string | python (const std::string &inCommand) |
| Locally run python command in interpreterd, return only result. More...
|
|
python::Interpreter & | local () |
| Return a reference to the local python interpreter. More...
|
|
◆ Interpreter()
dynamicgraph::corba::Interpreter::Interpreter |
( |
| ) |
|
◆ local()
python::Interpreter& dynamicgraph::corba::Interpreter::local |
( |
| ) |
|
Return a reference to the local python interpreter.
◆ processRequest()
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. |
◆ python() [1/2]
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.
◆ python() [2/2]
std::string dynamicgraph::corba::Interpreter::python |
( |
const std::string & |
inCommand | ) |
|
Locally run python command in interpreterd, return only result.
◆ startCorbaServer()
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. |