Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

Registration Class Reference

#include <Registration.hpp>

List of all members.

Public Member Functions

 Registration (void *ptr, int size, int superstep)
void * ptr ()
int size ()
int superstep ()

Private Attributes

void * ptr_
int size_
int superstep_


Detailed Description

Registration - Holds a BSP registration.

A BSP registration is a pair (pointer,size), where pointer is a memory address of any given structure and size denotes the space it occupies, in bytes. This is needed by BSP DRMA to create logical addresses from physical one. A logical address is the same at each BSP task, while it may refer to a different physical address at each BSP task.

Author:
Andrei Goldchleger
Date:
november/2003


Constructor & Destructor Documentation

Registration::Registration void *  ptr,
int  size,
int  superstep
[inline]
 

Creates a Registration Object

Parameters:
ptr - pointer to a memory region
size - size of the memory region, in bytes
superstep - The superstep in which this registration was issued


Member Function Documentation

void* Registration::ptr  )  [inline]
 

Returns the pointer of this registration

int Registration::size  )  [inline]
 

Returns the size ofthe memory object represented by this registration

int Registration::superstep  )  [inline]
 

Returns the superstep in which this registration was issued


Member Data Documentation

void* Registration::ptr_ [private]
 

pointer to the memory area being registered

int Registration::size_ [private]
 

size of the memory area being registered

int Registration::superstep_ [private]
 

The superstep in which this registration was issued


The documentation for this class was generated from the following file:
Generated on Mon Sep 6 16:13:21 2004 by doxygen 1.3.3