hpp-corbaserver: include/hpp/corbaserver/servant-base.hh File Reference

hpp-corbaserver 9.0.2 Corba server for Humanoid Path Planner applications

Classes | Namespaces | Macros | Typedefs | Functions
servant-base.hh File Reference
`#include <hpp/common-idl.hh>`
`#include <hpp/corbaserver/server.hh>`
Include dependency graph for servant-base.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | hpp::corbaServer::hpp_traits< T >
class | hpp::corbaServer::AbstractServantKey
| Abstract class used to avoid duplication of the servants. More...
class | hpp::corbaServer::AbstractServantBase< T >
class | hpp::corbaServer::ServantBase< T, _Storage >
class | hpp::corbaServer::AbstractStorage< T, Base >
class | hpp::corbaServer::ServantFactoryBase< ServantBaseType >
struct | hpp::corbaServer::ServantFactory< ServantBaseType, ServantType >
struct | hpp::corbaServer::vectorToSeqServant< OutType, InnerBaseType, InnerType >

## Namespaces
| hpp
| Implement CORBA interface `‘Obstacle’'.
| hpp::corbaServer

## Macros
#define | SERVANT_BASE_TYPEDEFS(idlObj, hppObj)
#define | HPP_CORBASERVER_ADD_DOWNCAST_OBJECT(ServantType, BaseServantType, depth)

## Typedefs
typedef PortableServer::Servant_var< PortableServer::ServantBase > | hpp::corbaServer::ServantBase_var

## Functions
template<typename S , typename P >
PortableServer::Servant_var< S > | hpp::corbaServer::reference_to_servant (Server *server, const P &p)
template<typename T , typename P >
AbstractServantBase< T > * | hpp::corbaServer::reference_to_servant_base (Server *server, const P &p)
template<typename P , typename S >
P | hpp::corbaServer::makeServant (Server *server, S *s)
template<typename T , typename P >
auto | hpp::corbaServer::reference_to_object (Server *server, const P &p)
template<typename ServantBaseType >
std::vector< ServantFactoryBase< ServantBaseType > * > & | hpp::corbaServer::objectDowncasts ()
template<typename ServantBaseType >
void | hpp::corbaServer::addDowncastObjects (ServantFactoryBase< ServantBaseType > *const object)
template<typename ServantBaseType , typename ReturnType >
ReturnType::Object_var | hpp::corbaServer::makeServantDownCast (Server *server, const typename ServantBaseType::Storage &t)
template<typename ServantBaseType >
ServantBaseType::Object_var | hpp::corbaServer::makeServantDownCast (Server *server, const typename ServantBaseType::Storage &t)

## Macro Definition Documentation

## ◆ HPP_CORBASERVER_ADD_DOWNCAST_OBJECT

#define HPP_CORBASERVER_ADD_DOWNCAST_OBJECT | ( |  | ServantType,
|  |  | BaseServantType,
|  |  | depth
| ) |  |

Value:
struct HPP_CORE_DLLAPI __InitializerClass_##ServantType { \
__InitializerClass_##ServantType() { \
::hpp::corbaServer::addDowncastObjects<BaseServantType>( \
new ::hpp::corbaServer::ServantFactory<BaseServantType, \
ServantType>(depth)); \
} \
}; \
HPP_CORBASERVER_DLLLOCAL __InitializerClass_##ServantType \
__instance_##ServantType;
HPP_CORE_DLLAPI
#define HPP_CORE_DLLAPI

Declare a new element of a HPP class hierachy.

Parameters

  depth | the depth in the hierarchy tree. Example: HPP_CORBASERVER_ADD_DOWNCAST_OBJECT(Path , Path, 0) // PathVector directly inherits from Path HPP_CORBASERVER_ADD_DOWNCAST_OBJECT(PathVector, Path, 1) PathVector Definition: paths-idl.hh:302 Path Definition: paths-idl.hh:157 HPP_CORBASERVER_ADD_DOWNCAST_OBJECT #define HPP_CORBASERVER_ADD_DOWNCAST_OBJECT(ServantType, BaseServantType, depth) Definition: servant-base.hh:487