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;
PortableServer::ServantBase_var mtask_i
PortableServer::POA_var mpoa
static base::ActivityInterface * orbrunner
Interface to start/stop and query a Activity.
corba::CTaskContext_var mtask
std::map< TaskContext *, TaskContextServer * > ServerMap
std::map< TaskContext *, std::string > IorMap
TaskContext * mtaskcontext
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
std::string mregistered_name