Main Page Class Hierarchy Compound List File List Compound Members File Members

# /home/gilberto/prog/tesi2.31/lib/Packages/CounterPkg.h

    00001 #ifndef COUNTERPKG_H_DEF
    00002 #define COUNTERPKG_H_DEF
    00003
    00004 #include "TelepatiPkg.h"
    00005
    00006 using namespace std;
    00007
    00015 class CounterPkg : public TelepatiPkg{
    00016  public:
    00019   CounterPkg();
    00023   CounterPkg(unsigned int recvData, unsigned int recvTotal, unsigned int send);
    00026   CounterPkg(byte* ptr);
    00028   virtual ~CounterPkg();
    00029
    00032   virtual TelepatiPkg* clone();
    00033
    00039   byte* getMsg();
    00042   inline unsigned int getDataRecvMessage() {return rd;};
    00045   inline unsigned int getTotalRecvMessage() {return rt;};
    00048   inline unsigned int getSendMessage() {return s;};
    00049
    00050  protected:
    00051   unsigned int rd;
    00052   unsigned int rt;
    00053   unsigned int s;
    00054 };
    00055
    00056 #endif