dxd - dynax driver framework 2.2.0d81
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
 
memoryfree () noexcept
 
memoryinitialize (const std::string &name, size_t size=sizeof(buffer_t)) 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
 
buffer_t & operator* () const noexcept
 
buffer_t * operator-> () const noexcept
 
 ~memory () noexcept
 

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

◆ ~memory()

template<typename buffer_t >
dx::shared::memory< buffer_t >::~memory ( )
inlinenoexcept

◆ 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:

Member Function Documentation

◆ dx_catchall_rethrow()

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

◆ free()

template<typename buffer_t >
memory & dx::shared::memory< buffer_t >::free ( )
inlinenoexcept

◆ initialize()

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:

◆ operator buffer_t *()

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

◆ operator*()

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

◆ operator->()

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

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Dec 20 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.