DataObject Class Reference
HiCR
|
HiCR::objectStore::DataObject Class Reference
#include <dataObject.hpp>
Public Member Functions | |
DataObject (Instance::instanceId_t instanceId, blockId id, std::shared_ptr< LocalMemorySlot > localSlot) | |
__INLINE__ Instance::instanceId_t | getInstanceId () const |
__INLINE__ blockId | getId () const |
__INLINE__ LocalMemorySlot & | getLocalSlot () const |
Friends | |
class | ObjectStore |
Detailed Description
Encapsulates the concept of a block in the object store.
Constructor & Destructor Documentation
◆ DataObject()
|
inline |
Construct a new data object.
- Parameters
-
instanceId The ID of the instance. id The ID of the data object. localSlot The local memory slot of the data object.
Member Function Documentation
◆ getId()
|
inline |
Get the ID of the data object.
- Returns
- The ID of the data object.
◆ getInstanceId()
|
inline |
Get the owner instance ID of the data object.
- Returns
- The owner instance ID of the data object.
◆ getLocalSlot()
|
inline |
Get the local memory slot of the data object.
- Returns
- The local memory slot of the data object.
The documentation for this class was generated from the following file:
- /home/runner/work/HiCR/HiCR/include/hicr/frontends/objectStore/dataObject.hpp
Generated by