winapi_common
|
Easy way to represent a C++ object as a shared memory region. More...
Public Types | |
typedef std::aligned_storage< sizeof(T), __alignof(T)>::type | AlignedType |
Public Member Functions | |
SharedObject (SharedObject &&other) noexcept=default | |
SharedObject & | operator= (const SharedObject &other) noexcept=default |
SharedObject (const SharedObject &)=delete | |
T * | ptr () const |
T & | get () const |
T * | operator-> () const |
T & | operator* () const |
Static Public Member Functions | |
template<typename... Args> | |
static SharedObject | create (const std::string &name, Args &&... args) |
static SharedObject | open (const std::string &name) |
Easy way to represent a C++ object as a shared memory region.
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |