hpp-corbaserver
4.9.0
Corba server for Humanoid Path Planner applications
|
#include <hpp/corbaserver/servant-base.hh>
Public Types | |
typedef boost::weak_ptr< T > | ptr_t |
typedef T | element_type |
Public Member Functions | |
AbstractStorage (const ptr_t &_element) | |
operator boost::shared_ptr< T > () const | |
operator boost::weak_ptr< T > () const | |
long | use_count () const |
operator bool () const | |
Public Attributes | |
ptr_t | element |
Abstraction of storage ot HPP class.
In most cases, it is sufficient to use boost::shared_ptr<Class>. However, there are some cases where you need more information in the AbstractServantBase derived class. For instance, if you want to check the inputs (which is recommended), you may need to store the robot. See hpp::corbaServer::core_idl::Distance for an example.
Child classed must implement
typedef T hpp::corbaServer::AbstractStorage< T, Base >::element_type |
typedef boost::weak_ptr<T> hpp::corbaServer::AbstractStorage< T, Base >::ptr_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ptr_t hpp::corbaServer::AbstractStorage< T, Base >::element |