38 #ifndef ORO_CORBA_CONTROLTASK_SERVER_HPP 39 #define ORO_CORBA_CONTROLTASK_SERVER_HPP 47 #include "TaskContextS.h" 49 #include "TaskContextC.h" 51 #include "../../TaskContext.hpp" 53 #include "../../base/ActivityInterface.hpp" 72 typedef std::map<TaskContext*, TaskContextServer*>
ServerMap;
77 PortableServer::POA_var
mpoa;
79 typedef std::map<TaskContext*, std::string>
IorMap;
92 void initTaskContextServer(
bool require_name_service);
104 static void DoShutdownOrb(
bool wait_for_completion =
true);
118 static void ShutdownOrb(
bool wait_for_completion =
true);
123 static void CleanupServers();
129 static void RunOrb();
137 static void ThreadOrb();
149 static void DestroyOrb();
187 static CTaskContext_ptr CreateServer(
TaskContext* tc,
bool use_naming =
true,
bool require_name_service =
false);
203 static CTaskContext_ptr CreateServer(
TaskContext* tc,
const std::string& alias,
bool use_naming =
true,
bool require_name_service =
false);
217 CTaskContext_ptr server()
const;
This class manages the creation of TaskContext Corba Servers and a Corba Object Request Broker (Orb) ...
PortableServer::ServantBase_var mtask_i
PortableServer::POA_var mpoa
static base::ActivityInterface * orbrunner
A class which an provides ORB to the application process.
This class manages the access of remote TaskContext Corba Servers and a Corba Object Request Broker (...
Interface to start/stop and query a Activity.
Class which runs an orb in an Orocos thread.
corba::CTaskContext_var mtask
std::map< TaskContext *, TaskContextServer * > ServerMap
The TaskContext is the C++ representation of an Orocos component.
std::map< TaskContext *, std::string > IorMap
const int LowestPriority
An integer denoting the lowest priority of the selected OS.
TaskContext * mtaskcontext
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
std::string mregistered_name