#include <memory.hh>
Public Types | |
typedef enum hcalDCC::Memory::_MEMTYPE | MEMTYPE |
enum | _MEMTYPE |
Public Member Functions | |
Memory (MEMTYPE type, unsigned int barOffs, unsigned int size, unsigned int memAlnt, bool debug=0) | |
~Memory () | |
const char * | getType_s () const |
const MEMTYPE | getType () const |
const unsigned int | getBarOffset () const |
const unsigned int | getOffset () const |
const unsigned int | getSize () const |
const unsigned int | getAlignment () const |
void | setOffset (unsigned int offs) |
void | setSize (unsigned int size) |
|
Definition of the memory types:
|
|
Definition of the memory types:
|
|
Memory class constructor to set up memory objects
|
|
Memory class destructor |
|
These methods return the alignment of the memory region
|
|
These methods provide the PCI BAR offset of the current memory region
|
|
These methods return the memory region offset with respect to the corresponding VSI base address
|
|
These methods return the size of the memory region
|
|
Returns the memory type as MEMTYPE
|
|
Returns the memory type as char * (string)
|
|
This methods sets the offset of the memory region w.r.t the corresponding VSI VME base address
|
|
This method sets the size of the memory region
|