00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef SRECEVENT_H
00017 #define SRECEVENT_H
00018
00019 #include "STaskSystem.h"
00020 #include "../general/SUtil.h"
00021 #include "../general/SEvent.h"
00022
00029 class SRecEvent : public SEvent
00030 {
00031 NOCOPY(SRecEvent);
00032
00033
00034 public:
00040 SRecEvent(const SEvent& ev, const STaskSystem& ts);
00041
00046 SRecEvent(const SEvent& ev);
00047
00048
00049
00050 virtual ~SRecEvent();
00051
00056 virtual void write(std::ostream& os) const;
00057
00063 double getTimeStamp() const
00064 { return _timeStamp; };
00065
00070 void setTimeStamp(double time)
00071 { _timeStamp = time; }
00072
00077 const SEvent& getEvent() const
00078 { return *_ev; }
00079
00080 private:
00081
00082
00084 SEvent* _ev;
00085 double _timeStamp;
00086
00087 void copyNstore(const SEvent&);
00088 };
00089
00090 #endif