EventHelix.com: CASE Tools; Real-time and Embedded System Design; Object Oriented Design EventStudio 2.0: System Engineering CASE ToolEventStudio 2.5
Sequence diagram based system design and modeling
Home   What's New   EventStudio 2.5   Real-time Mantra   Thought Projects   Contact Us
Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Protocol_Stack.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 #ifndef PROTOCOL_STACK_H
00010 #define PROTOCOL_STACK_H
00011 
00012 #include <stdio.h>
00013 
00014 class Protocol_Packet;
00015 class Protocol_Layer;
00016 
00035 
00036 class Protocol_Stack
00037 {
00038 public:
00039 
00041     enum Placement
00042     {
00043         TOP,  
00044         ABOVE,
00045         BELOW
00046     };
00047 
00048     void Handle_Transmit(Protocol_Packet *p_Packet);
00049     void Handle_Receive(Protocol_Packet *p_Packet);
00050 
00051     void Add_Layer(Protocol_Layer *p_Layer, Placement placement = TOP, Protocol_Layer *p_Existing_Layer = NULL);
00052     void Remove_Layer(Protocol_Layer *p_Layer);
00053 
00054     Protocol_Stack();
00055 
00056 private:
00057 
00061     Protocol_Layer *m_p_Highest_Layer;
00062 
00066     Protocol_Layer *m_p_Lowest_Layer;
00067 };
00068 #endif

Generated on Sun Feb 13 21:30:17 2005 for Object Oriented Design Examples by doxygen 1.3.4
 Home   What's New   EventStudio 2.5   Real-time Mantra   Thought Projects   Contact Us
Copyright © 2000-2005 EventHelix.com Inc. All Rights Reserved.