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

BspGetReply Class Reference

#include <BspGetReply.hpp>

List of all members.

Public Member Functions

BspGetReplydst (void *aDst)
BspGetReplynBytes (const int &aNBytes)
BspGetReplysuperstep (const int &aSuperstep)
void * dst () const
int nBytes () const
int superstep () const
const unsigned char * memArea () const
void writeInMem (const void *src)
void dump (bool dumpMem) const

Private Attributes

int nBytes_
int superstep_
void * dst_
vector< unsigned char > memArea_


Detailed Description

BspGetReply - Contaais data relevant to a bsp_get reply

Author:
Andrei Goldchleger
Date:
January, 2004


Member Function Documentation

void* BspGetReply::dst  )  const [inline]
 

Returns the destination address of a BspGetReply object.

BspGetReply& BspGetReply::dst void *  aDst  )  [inline]
 

Sets the destination address of a recently created BspGetReply object (Named Parameter Idiom)..

void BspGetReply::dump bool  dumpMem  )  const [inline]
 

Dumps the object's contents to stderr. Used only for debugging.

Parameters:
dumpMem - if true, dumps the memory contents.

const unsigned char* BspGetReply::memArea  )  const [inline]
 

Returns a pointer to the memory contents of a BspGetReply object.

int BspGetReply::nBytes  )  const [inline]
 

Returns the number of bytes destination of a BspGetReply object.

BspGetReply& BspGetReply::nBytes const int &  aNBytes  )  [inline]
 

Sets the number of bytes of a recently created BspGetReply object (Named Parameter Idiom)..

int BspGetReply::superstep  )  const [inline]
 

Returns the superstep of a BspGetReply object.

BspGetReply& BspGetReply::superstep const int &  aSuperstep  )  [inline]
 

Sets the superstep of a recently created BspGetReply object (Named Parameter Idiom).

void BspGetReply::writeInMem const void *  src  )  [inline]
 

Copies a memory area into the BspGetReply object that will be then copied to dst at the requesting task. nBytes will be copied from src to memArea.

Parameters:
src - address of the memory source to be copied into memArea


Member Data Documentation

void* BspGetReply::dst_ [private]
 

Physical destination address of the bsp_get request

vector<unsigned char> BspGetReply::memArea_ [private]
 

Contents to be written at dst

int BspGetReply::nBytes_ [private]
 

Number of bytes read

int BspGetReply::superstep_ [private]
 

The superstep in which the corresponding bsp_get request was issued


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