hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
hpp::Tools Interface Reference

Utilities to create new contexts and load new interfaces at runtime. More...

import"/home/florent/devel/release/src/hpp-corbaserver/idl/hpp/corbaserver/tools.idl";

Public Member Functions

boolean loadServerPlugin (in string context_, in string pluginName) raises (Error)
 
boolean createContext (in string context_) raises (Error)
 
Object getServer (in string context_, in string pluginName, in string objectname) raises (Error)
 Get a server object. More...
 
void deleteServant (in string id) raises (Error)
 
void shutdown ()
 Shutdown the server. More...
 

Detailed Description

Utilities to create new contexts and load new interfaces at runtime.

Member Function Documentation

◆ createContext()

boolean hpp::Tools::createContext ( in string  context_)
raises (Error
)

Create a new context.

A context is a set of servant classes that works on a ProblemSolver.

All contexts share the same map of ProblemSolver. Each context can whichever ProblemSolver in this map.

◆ deleteServant()

void hpp::Tools::deleteServant ( in string  id)
raises (Error
)

Delete a servant It throws an exception if the object could not be deleted.

◆ getServer()

Object hpp::Tools::getServer ( in string  context_,
in string  pluginName,
in string  objectname 
)
raises (Error
)

Get a server object.

◆ loadServerPlugin()

boolean hpp::Tools::loadServerPlugin ( in string  context_,
in string  pluginName 
)
raises (Error
)

Load a plugin that creates a CORBA interface.

Parameters
pluginNameeither an absolute filename or a filename relative to <a_path_in_LD_LIBRARY_PATH>/hppPlugins.
Note
The plugin will be available for any problem (even after resetting it).
The context is created if it does not exists.

◆ shutdown()

void hpp::Tools::shutdown ( )

Shutdown the server.


The documentation for this interface was generated from the following file: