DataObject Class Reference

HiCR: HiCR::objectStore::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__ LocalMemorySlotgetLocalSlot () const
 

Friends

class ObjectStore
 

Detailed Description

Encapsulates the concept of a block in the object store.

Constructor & Destructor Documentation

◆ DataObject()

HiCR::objectStore::DataObject::DataObject ( Instance::instanceId_t  instanceId,
blockId  id,
std::shared_ptr< LocalMemorySlot localSlot 
)
inline

Construct a new data object.

Parameters
instanceIdThe ID of the instance.
idThe ID of the data object.
localSlotThe local memory slot of the data object.

Member Function Documentation

◆ getId()

__INLINE__ blockId HiCR::objectStore::DataObject::getId ( ) const
inline

Get the ID of the data object.

Returns
The ID of the data object.

◆ getInstanceId()

__INLINE__ Instance::instanceId_t HiCR::objectStore::DataObject::getInstanceId ( ) const
inline

Get the owner instance ID of the data object.

Returns
The owner instance ID of the data object.

◆ getLocalSlot()

__INLINE__ LocalMemorySlot & HiCR::objectStore::DataObject::getLocalSlot ( ) const
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