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

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

    00001 #ifndef TIMEINFOPKG_H_DEF
    00002 #define TIMEINFOPKG_H_DEF
    00003
    00004 #include "TelepatiPkg.h"
    00005 #include <time.h>
    00006
    00007 using namespace std;
    00008
    00016 class TimeInfoPkg : public TelepatiPkg{
    00017  public:
    00019   TimeInfoPkg(int a, time_t time, bool ack);
    00023   TimeInfoPkg(byte* ptr);
    00024
    00026   virtual ~TimeInfoPkg();
    00027
    00030   virtual TelepatiPkg* clone();
    00031
    00035   byte* getMsg();
    00036
    00039   inline time_t getTime() {return clockTime; }
    00042   inline void setTime(time_t time) { clockTime=time; }
    00043
    00044  protected:
    00046   time_t clockTime;
    00047 };
    00048
    00049 #endif