Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
tests
test-corba-main.cpp
Go to the documentation of this file.
1
#include <
os/main.h
>
2
#include <
Logger.hpp
>
3
#include <
transports/corba/TaskContextServer.hpp
>
4
#include <
transports/corba/TaskContextProxy.hpp
>
5
6
using namespace
RTT
;
7
using namespace
RTT::detail
;
8
9
10
int
ORO_main
(
int
argc,
char
** argv)
11
{
12
TaskContextServer::InitOrb
(argc, argv);
13
TaskContextServer::ThreadOrb
();
14
sleep
(1);
15
TaskContextServer::ShutdownOrb
(
true
);
16
TaskContextServer::DestroyOrb
();
17
return
0;
18
}
main.h
RTT::corba::ApplicationServer::InitOrb
static RTT_CORBA_API bool InitOrb(int argc, char *argv[], Seconds orb_timeout=0)
Definition:
ApplicationServer.cpp:55
Logger.hpp
RTT::detail
Definition:
rtt-base-fwd.hpp:97
TaskContextProxy.hpp
RTT::corba::TaskContextServer::ThreadOrb
static void ThreadOrb()
Definition:
TaskContextServer.cpp:362
ORO_main
int ORO_main(int argc, char **argv)
Definition:
test-corba-main.cpp:10
sleep
unsigned int sleep(unsigned int s)
Definition:
fosi.cpp:51
TaskContextServer.hpp
RTT
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition:
Activity.cpp:53
RTT::corba::TaskContextServer::ShutdownOrb
static void ShutdownOrb(bool wait_for_completion=true)
Definition:
TaskContextServer.cpp:283
RTT::corba::TaskContextServer::DestroyOrb
static void DestroyOrb()
Definition:
TaskContextServer.cpp:395
rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:44