Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

PacketCallbacks Class Reference

#include <packet-callbacks.h>

List of all members.

Public Types

typedef bool(* Function_t )(Layer_t, Proto_t, Type_t, Packet *, Node *, Interface *)
enum  Type_t { TX, RX }

Public Member Functions

 PacketCallbacks ()
 ~PacketCallbacks ()
void Add (Layer_t, Proto_t, Type_t, Interface *, Function_t)
void AddHead (Layer_t, Proto_t, Type_t, Interface *, Function_t)
void Delete (Layer_t, Proto_t, Type_t, Interface *)
bool Call (Layer_t, Proto_t, Type_t, Packet *, Node *, Interface *=0)

Private Types

typedef std::list< PacketCallbackCallbackList_t

Private Attributes

CallbackList_tcallbacks


Member Typedef Documentation

typedef std::list<PacketCallback> PacketCallbacks::CallbackList_t [private]
 

typedef bool(* PacketCallbacks::Function_t)(Layer_t, Proto_t, Type_t, Packet *, Node *, Interface *)
 


Member Enumeration Documentation

enum PacketCallbacks::Type_t
 

Enumeration values:
TX 
RX 


Constructor & Destructor Documentation

PacketCallbacks::PacketCallbacks  ) 
 

PacketCallbacks::~PacketCallbacks  ) 
 


Member Function Documentation

void PacketCallbacks::Add Layer_t  ,
Proto_t  ,
Type_t  ,
Interface ,
Function_t 
 

void PacketCallbacks::AddHead Layer_t  ,
Proto_t  ,
Type_t  ,
Interface ,
Function_t 
 

bool PacketCallbacks::Call Layer_t  ,
Proto_t  ,
Type_t  ,
Packet ,
Node ,
Interface = 0
 

void PacketCallbacks::Delete Layer_t  ,
Proto_t  ,
Type_t  ,
Interface
 


Member Data Documentation

CallbackList_t* PacketCallbacks::callbacks [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Aug 27 16:17:31 2008 for Georgia Tech Network Simulator (GTNetS) by  doxygen 1.3.9.1