Class for sharing data between spaces. More...
#include <shared-data.hpp>
Classes | |
class | SDO |
The object storing the actual data. More... | |
Public Member Functions | |
SharedData (const Data &d) | |
Initialize with data d. More... | |
SharedData (void) | |
Create as uninitialized. More... | |
SharedData (const SharedData &sd) | |
Copy constructor. More... | |
SharedData & | operator= (const SharedData &sd) |
Assignment operator. More... | |
const Data & | operator() (void) const |
Provide access to data. More... | |
void | update (Space &home, bool share, SharedHandle &sh) |
Update during cloning. More... | |
~SharedData (void) | |
Destructors. More... | |
![]() | |
SharedHandle (void) | |
Create shared handle with no object pointing to. More... | |
SharedHandle (SharedHandle::Object *so) | |
Create shared handle that points to shared object so. More... | |
SharedHandle (const SharedHandle &sh) | |
Copy constructor maintaining reference count. More... | |
SharedHandle & | operator= (const SharedHandle &sh) |
Assignment operator maintaining reference count. More... | |
void | update (Space &home, bool share, SharedHandle &sh) |
Updating during cloning. More... | |
~SharedHandle (void) | |
Destructor that maintains reference count. More... | |
Additional Inherited Members | |
![]() | |
SharedHandle::Object * | object (void) const |
Access to the shared object. More... | |
void | object (SharedHandle::Object *n) |
Modify shared object. More... | |
Class for sharing data between spaces.
Definition at line 42 of file shared-data.hpp.
|
inline |
Initialize with data d.
Definition at line 99 of file shared-data.hpp.
|
inline |
Create as uninitialized.
Definition at line 104 of file shared-data.hpp.
|
inline |
Copy constructor.
Definition at line 108 of file shared-data.hpp.
|
inline |
Destructors.
Definition at line 131 of file shared-data.hpp.
|
inline |
Assignment operator.
Definition at line 113 of file shared-data.hpp.
|
inline |
Provide access to data.
Definition at line 119 of file shared-data.hpp.
|
inline |
Update during cloning.
Definition at line 125 of file shared-data.hpp.