Orocos Real-Time Toolkit  2.9.0
Static Public Member Functions | Static Public Attributes | List of all members
RTT::corba::ApplicationServer Struct Reference

A class which an provides ORB to the application process. More...

#include <rtt/transports/corba/ApplicationServer.hpp>

Inheritance diagram for RTT::corba::ApplicationServer:
RTT::corba::TaskContextProxy RTT::corba::TaskContextServer

Static Public Member Functions

static RTT_CORBA_API 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 Public Attributes

static CORBA::ORB_var orb
 The orb of this process. More...
 
static PortableServer::POA_var rootPOA
 The root POA of this process. More...
 

Detailed Description

A class which an provides ORB to the application process.

Definition at line 57 of file ApplicationServer.hpp.

Member Function Documentation

RTT_CORBA_API bool RTT::corba::ApplicationServer::InitOrb ( int  argc,
char *  argv[],
Seconds  orb_timeout = 0 
)
static

Invoke this method once to initialise the Orb which will run the task servers.

Parameters
orb_timeouttimeout 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 55 of file ApplicationServer.cpp.

References CORBA_EXCEPTION_INFO, RTT::Error, RTT::Logger::log(), RTT::Logger::nl(), orb, and rootPOA.

Referenced by RTT::corba::TaskContextFactory::InitOrb().

Member Data Documentation

CORBA::ORB_var RTT_API RTT::corba::ApplicationServer::orb
static
PortableServer::POA_var RTT::corba::ApplicationServer::rootPOA
static

The root POA of this process.

Definition at line 67 of file ApplicationServer.hpp.

Referenced by RTT::corba::TaskContextProxy::DestroyOrb(), RTT::corba::TaskContextServer::DestroyOrb(), and InitOrb().


The documentation for this struct was generated from the following files: