9#include <boost/interprocess/offset_ptr.hpp>
17 typedef typename ObjType::Data ObjData;
26 template<
typename... Args>
31 template<
typename... Args>
38 typename ObjType::const_ptr
getObject()
const;
39 const typename ObjType::Data *
getData()
const;
40 operator bool()
const;
48 boost::interprocess::offset_ptr<const ObjData> m_d;
55 template<
class Archive>
56 void save(Archive &ar)
const;
57 template<
class Archive>
58 void load(Archive &ar);
#define ARCHIVE_ACCESS_SPLIT
Definition: archives_config.h:502
Definition: shm_obj_ref.h:15
bool find()
Definition: shm_obj_ref_impl.h:50
const ObjType::Data * getData() const
Definition: shm_obj_ref_impl.h:120
const shm_obj_ref & operator=(typename ObjType::const_ptr rhs)
shm_obj_ref(const std::string &name, ObjType *p)
static shm_obj_ref create(const Args &...args)
const shm_obj_ref & operator=(const shm_obj_ref &rhs)
Definition: shm_obj_ref_impl.h:71
bool valid() const
Definition: shm_obj_ref_impl.h:104
ObjType::const_ptr getObject() const
Definition: shm_obj_ref_impl.h:110
~shm_obj_ref()
Definition: shm_obj_ref_impl.h:35
const shm_name_t & name() const
Definition: shm_obj_ref_impl.h:128
const shm_obj_ref & operator=(typename ObjType::ptr rhs)
void construct(const Args &...args)
Definition: shm_obj_ref_impl.h:61
shm_obj_ref()
Definition: shm_obj_ref_impl.h:11
Definition: allobjects.cpp:30