git-svn-id: svn://db.shs.com.ru/pip@480 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -36,7 +36,6 @@ public:
|
||||
//! Constructs a shared memory object with name "shm_name", size "size" and open mode "mode"
|
||||
explicit PISharedMemory(const PIString & shm_name, int size, DeviceMode mode = ReadWrite);
|
||||
|
||||
PISharedMemory(const PISharedMemory & other);
|
||||
|
||||
virtual ~PISharedMemory() {close();}
|
||||
|
||||
@@ -45,6 +44,9 @@ public:
|
||||
|
||||
//! Returns shared memory object size
|
||||
llong size() const;
|
||||
|
||||
//! Set shared memory object size
|
||||
void setSize(llong s);
|
||||
|
||||
//! Returns if shared memory object is empty
|
||||
bool isEmpty() const {return (size() <= 0);}
|
||||
|
||||
Reference in New Issue
Block a user