dxd - dynax driver framework 2.1.0d58
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::shared::memory< buffer_t > Class Template Reference

macOS user space shared memory More...

#include <dx_sync.h>

+ Inheritance diagram for dx::shared::memory< buffer_t >:
+ Collaboration diagram for dx::shared::memory< buffer_t >:

Classes

struct  header
 

Public Member Functions

 dx_catchall_rethrow (, "name:%s hash:%s size:%d", name.c_str(), hash.c_str(), size) operator struct
 
 dx_catchall_rethrow (, "name:%s hash:%s size:%d", name.c_str(), hash.c_str(), size) void free() noexcept
 
memoryfree () noexcept
 
memoryinitialize (const std::string &name, size_t size=sizeof(buffer_t)) try
 
memoryinitialize (const std::string &name, size_t size=sizeof(header)) try
 
 memory ()=default
 
 memory ()=default
 
 memory (const std::string &name, size_t size=sizeof(buffer_t))
 
 memory (const std::string &name, size_t size=sizeof(buffer_t))
 
 operator buffer_t * () const noexcept
 
 operator buffer_t * () const noexcept
 
 operator const os_event () const noexcept
 
 operator os_event () noexcept
 
buffer_t & operator* () const noexcept
 
buffer_t & operator* () const noexcept
 
buffer_t * operator-> () const noexcept
 
buffer_t * operator-> () const noexcept
 
 operator::HANDLE () const noexcept
 
 ~memory () noexcept
 
 ~memory () noexcept
 

Protected Attributes

::HANDLE process
 

Detailed Description

template<typename buffer_t>
class dx::shared::memory< buffer_t >

macOS user space shared memory

windows user space shared memory

Constructor & Destructor Documentation

◆ memory() [1/4]

template<typename buffer_t >
dx::shared::memory< buffer_t >::memory ( )
default

◆ memory() [2/4]

template<typename buffer_t >
dx::shared::memory< buffer_t >::memory ( const std::string & name,
size_t size = sizeof(buffer_t) )
inline
+ Here is the call graph for this function:

◆ ~memory() [1/2]

template<typename buffer_t >
dx::shared::memory< buffer_t >::~memory ( )
inlinenoexcept
+ Here is the call graph for this function:

◆ memory() [3/4]

template<typename buffer_t >
dx::shared::memory< buffer_t >::memory ( )
default

◆ memory() [4/4]

template<typename buffer_t >
dx::shared::memory< buffer_t >::memory ( const std::string & name,
size_t size = sizeof(buffer_t) )
inline
+ Here is the call graph for this function:

◆ ~memory() [2/2]

template<typename buffer_t >
dx::shared::memory< buffer_t >::~memory ( )
inlinenoexcept
+ Here is the call graph for this function:

Member Function Documentation

◆ dx_catchall_rethrow() [1/2]

template<typename buffer_t >
dx::shared::memory< buffer_t >::dx_catchall_rethrow ( "name:%s hash:%s size:%d" ,
name. c_str(),
hash. c_str(),
size  )
inline

◆ dx_catchall_rethrow() [2/2]

template<typename buffer_t >
dx::shared::memory< buffer_t >::dx_catchall_rethrow ( "name:%s hash:%s size:%d" ,
name. c_str(),
hash. c_str(),
size  )
inlinenoexcept

◆ free()

template<typename buffer_t >
memory & dx::shared::memory< buffer_t >::free ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ initialize() [1/2]

template<typename buffer_t >
memory & dx::shared::memory< buffer_t >::initialize ( const std::string & name,
size_t size = sizeof(buffer_t) )
inline
Todo
shared::memory: buffer initialization @ version mismatch!
+ Here is the caller graph for this function:

◆ initialize() [2/2]

template<typename buffer_t >
memory & dx::shared::memory< buffer_t >::initialize ( const std::string & name,
size_t size = sizeof(header) )
inline

◆ operator buffer_t *() [1/2]

template<typename buffer_t >
dx::shared::memory< buffer_t >::operator buffer_t * ( ) const
inlinenoexcept

◆ operator buffer_t *() [2/2]

template<typename buffer_t >
dx::shared::memory< buffer_t >::operator buffer_t * ( ) const
inlinenoexcept

◆ operator const os_event()

dx::resource< invalid_t >::operator const os_event ( ) const
inlinenoexceptinherited

◆ operator os_event()

dx::resource< invalid_t >::operator os_event ( )
inlinenoexceptinherited

◆ operator*() [1/2]

template<typename buffer_t >
buffer_t & dx::shared::memory< buffer_t >::operator* ( ) const
inlinenoexcept

◆ operator*() [2/2]

template<typename buffer_t >
buffer_t & dx::shared::memory< buffer_t >::operator* ( ) const
inlinenoexcept

◆ operator->() [1/2]

template<typename buffer_t >
buffer_t * dx::shared::memory< buffer_t >::operator-> ( ) const
inlinenoexcept

◆ operator->() [2/2]

template<typename buffer_t >
buffer_t * dx::shared::memory< buffer_t >::operator-> ( ) const
inlinenoexcept

◆ operator::HANDLE()

dx::resource< invalid_t >::operator::HANDLE ( ) const
inlinenoexceptinherited

Member Data Documentation

◆ process

::HANDLE dx::resource< invalid_t >::process
protectedinherited

The documentation for this class was generated from the following files:

(c) copyright 2009 dynamic acoustics e.U. generated on Sun Apr 28 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.