zeus::TSharedMemoryObject< T > Class Template Reference
#include <SharedMemoryObject.hpp>
List of all members.
Detailed Description
template<class T>
class zeus::TSharedMemoryObject< T >
This class implements a pointer of the shared memory. This pointer is accessible by different processes using a the object name.
Constructor & Destructor Documentation
Creates a shared memory object
- Parameters:
-
| rstrName | : Name of the shared memory object |
Creates a shared memory object
- Parameters:
-
| rstrName | : Name of the shared memory object |
| rData | : Data to copy to the shared memory. Note that all pointers of the T type are just copied as they are. The data behind won't be accessible by other processes |
Destroys the shared memory object
Member Function Documentation
Checks if the shared memory is available
- Return values:
-
| true | : Memory is available |
| false,: | Memory is not available |
Retruns the data pointer
- Return values:
-
| Pointer | : data pointer |
| NULL | : Shared memory is not available |
Retruns the data pointer
- Return values:
-
| Pointer | : data pointer |
| NULL | : Shared memory is not available |
copies new data to the shared memory object
The documentation for this class was generated from the following file: