Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::SharedMemory_Mac Class Reference

Inherits AZ::SharedMemory_Common.

Protected Member Functions

bool IsReady () const
 
bool IsMapHandleValid () const
 
CreateResult Create (const char *name, unsigned int size, bool openIfCreated)
 
bool Open (const char *name)
 
void Close ()
 
bool Map (AccessMode mode, unsigned int size)
 
bool UnMap ()
 
void lock ()
 
bool try_lock ()
 
void unlock ()
 
bool IsLockAbandoned ()
 
bool IsWaitFailed () const
 

Static Protected Member Functions

static int GetLastError ()
 

Protected Attributes

int m_mapHandle
 
sem_t * m_globalMutex
 
- Protected Attributes inherited from AZ::SharedMemory_Common
char m_name [128]
 
void * m_mappedBase
 
unsigned int m_dataSize
 

Additional Inherited Members

- Public Types inherited from AZ::SharedMemory_Common
enum  AccessMode { ReadOnly , ReadWrite }
 
enum  CreateResult { CreateFailed , CreatedNew , CreatedExisting }
 

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