18 #ifndef __eshmem_h_included 19 #define __eshmem_h_included 31 class ESharedMemoryError_UnableToCreateKeyFile :
public EError 34 ESharedMemoryError_UnableToCreateKeyFile(cpStr pszFile);
35 virtual const cpStr
Name()
const {
return "ESharedMemoryError_UnableToCreateKeyFile"; }
61 Void init(cpStr file, Int
id, Int size);
87 return m_pCtrl->s_mutex;
94 eshmemctrl_t *m_pCtrl;
100 #endif // #define __eshmem_h_included virtual Void onDestroy()
Called when teh shared memory is destroyed.
Definition: eshmem.h:71
#define DECLARE_ERROR_ADVANCED4(__e__)
Declares exception class derived from EError with an const char* as a constructor parameter and devel...
Definition: eerror.h:85
pVoid getDataPtr()
Retrieves a pointer to the first location of the shated memory.
Definition: eshmem.h:65
The shared memory access class.
Definition: eshmem.h:43
The base class for exceptions derived from std::exception.
Definition: eerror.h:94
#define DECLARE_ERROR(__e__)
Declares exception class derived from EError with no constructor parameters.
Definition: eerror.h:53
#define EPC_FILENAME_MAX
maximum file name length
Definition: ebase.h:37
A private mutex (the mutex data is allocated from either the heap or stack).
Definition: esynch.h:175
virtual const cpStr Name() const
Returns the name of this object.
Definition: eerror.h:191
#define DECLARE_ERROR_ADVANCED(__e__)
Declares exception class derived from EError with no constructor parameters and developer defined con...
Definition: eerror.h:61
Contains definitions for synchronization objects.