Getdata Class Reference

#include <network.h>

Collaboration diagram for Getdata:

Collaboration graph
[legend]

Public Member Functions

 Getdata (GMemory *)
bool enq (uint064_t address, uint032_t size)
bool deq ()
bool isfull ()
bool isempty ()
uint032_t nextdata ()

Data Fields

int _head
int _tail
int _num_entry
int nentry

Data Structures

struct  getdata_t

Constructor & Destructor Documentation

Getdata::Getdata ( GMemory mem  ) 


Member Function Documentation

bool Getdata::enq ( uint064_t  address,
uint032_t  size 
)

bool Getdata::deq (  ) 

bool Getdata::isfull (  ) 

check whether the command buffer is full

Returns:
0: not full, 1: full

bool Getdata::isempty (  ) 

check whether the command buffer has one or more commands or not

Returns:
0: there is no command, 1: there are one or more commands

uint032_t Getdata::nextdata (  ) 


Field Documentation


The documentation for this class was generated from the following files:

Generated on Mon Mar 29 19:17:58 2010 for SimMc by  doxygen 1.5.6