GreenCloud Simulator
Public Member Functions | Protected Attributes | Friends | List of all members
PoaBuf Class Reference

#include <provideroutagent.h>

Collaboration diagram for PoaBuf:
Collaboration graph
[legend]

Public Member Functions

 PoaBuf (void *c, int nbytes)
 
 ~PoaBuf ()
 
void * pointer ()
 
int bytes ()
 

Protected Attributes

void * pointer_
 
int nbytes_
 
PoaBufnext_
 

Friends

class PoaBufList
 

Detailed Description

Definition at line 17 of file provideroutagent.h.

Constructor & Destructor Documentation

PoaBuf::PoaBuf ( void *  c,
int  nbytes 
)

Definition at line 63 of file provideroutagent.cc.

64 {
65  nbytes_ = nbytes;
66  pointer_=c;
67  next_ = NULL;
68 }
void * pointer_
PoaBuf * next_
PoaBuf::~PoaBuf ( )
inline

Definition at line 20 of file provideroutagent.h.

20  {
21  }

Member Function Documentation

int PoaBuf::bytes ( )
inline

Definition at line 23 of file provideroutagent.h.

23 { return nbytes_; }
void* PoaBuf::pointer ( )
inline

Definition at line 22 of file provideroutagent.h.

22 { return pointer_; }
void * pointer_

Friends And Related Function Documentation

friend class PoaBufList
friend

Definition at line 27 of file provideroutagent.h.

Member Data Documentation

int PoaBuf::nbytes_
protected

Total length of this transmission

Definition at line 29 of file provideroutagent.h.

PoaBuf* PoaBuf::next_
protected

Definition at line 30 of file provideroutagent.h.

void* PoaBuf::pointer_
protected

Definition at line 28 of file provideroutagent.h.


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