The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::RegisterBase::ReadAccess Struct Reference

Structure containing data for a Register pre- or post-read notification. More...

#include <Register.hpp>

Collaboration diagram for sparta::RegisterBase::ReadAccess:

Public Member Functions

 ReadAccess (const RegisterBase *_reg, const DataView *_value_dview)
 

Public Attributes

const RegisterBase *const reg
 Register on which the read access took place.
 
const DataView *const value
 Value just read from reg. This value can also be retrieved through reg.
 

Detailed Description

Structure containing data for a Register pre- or post-read notification.

The data in this structure is only guaranteed to be valid within a notification callback

Definition at line 450 of file Register.hpp.

Constructor & Destructor Documentation

◆ ReadAccess()

sparta::RegisterBase::ReadAccess::ReadAccess ( const RegisterBase _reg,
const DataView _value_dview 
)
inline

Definition at line 454 of file Register.hpp.

Member Data Documentation

◆ reg

const RegisterBase* const sparta::RegisterBase::ReadAccess::reg

Register on which the read access took place.

Definition at line 462 of file Register.hpp.

◆ value

const DataView* const sparta::RegisterBase::ReadAccess::value

Value just read from reg. This value can also be retrieved through reg.

Definition at line 468 of file Register.hpp.


The documentation for this struct was generated from the following file: