hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
servant-base.hh File Reference
#include <boost/type.hpp>
#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

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 >
hpp::corbaServer::makeServant (Server *server, S *s)
 
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;
FCL_REAL depth() const

Declare a new element of a HPP class hierachy.

Parameters
depththe depth in the hierarchy tree. Example: