Orocos Real-Time Toolkit
2.9.0
|
Use this class to create Corba TaskContext proxies, without including any CORBA header. More...
#include <rtt/transports/corba/TaskContextFactory.hpp>
Static Public Member Functions | |
static bool | InitOrb (int argc, char *argv[], Seconds orb_timeout=0) |
Invoke this method once to initialise the Orb which will run the task servers. More... | |
static void | DestroyOrb () |
Invoke this method once to cleanup the orb. More... | |
static TaskContext * | Create (std::string name, bool is_ior=false) |
Factory method: create a CORBA Proxy for an existing TaskContextServer. More... | |
static TaskContext * | CreateFromFile (std::string filename) |
Factory method: create a CORBA Proxy for an existing TaskContextServer. More... | |
Use this class to create Corba TaskContext proxies, without including any CORBA header.
This allows you to build applications that don't link with a CORBA library.
Definition at line 52 of file TaskContextFactory.hpp.
|
static |
Factory method: create a CORBA Proxy for an existing TaskContextServer.
name | The name of the TaskContextServer to connect to or the Object Reference of the object to connect to |
is_ior | set to true if name is an IOR. Defaults to false. |
0 | if the ORB is not initialised |
Definition at line 52 of file TaskContextFactory.cpp.
References RTT::corba::TaskContextProxy::Create().
|
static |
Factory method: create a CORBA Proxy for an existing TaskContextServer.
filename | A file containing an IOR which refers to the existing TaskContextServer. |
0 | if the ORB is not initialised |
Definition at line 57 of file TaskContextFactory.cpp.
References RTT::corba::TaskContextProxy::CreateFromFile().
|
static |
Invoke this method once to cleanup the orb.
Definition at line 47 of file TaskContextFactory.cpp.
References RTT::corba::TaskContextProxy::DestroyOrb().
|
static |
Invoke this method once to initialise the Orb which will run the task servers.
orb_timeout | timeout value for each remote call, expressed in seconds. The resolution is up to 100 nano seconds. Anything smaller will be interpreted as a zero. |
Definition at line 42 of file TaskContextFactory.cpp.
References RTT::corba::ApplicationServer::InitOrb().