hpp-corbaserver 6.0.0
Corba server for Humanoid Path Planner applications
Loading...
Searching...
No Matches
servant-base.hh File Reference
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

namespace  hpp
 Implement CORBA interface `‘Obstacle’'.
 
namespace  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< Shpp::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;
#define HPP_CORBASERVER_DLLLOCAL
Definition config.hh:64

Declare a new element of a HPP class hierachy.

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