00001 #ifndef _MYEVENT_H
00002 #define _MYEVENT_H
00003
00004 #include <sst/core/compEvent.h>
00005
00006 class MyEvent : public SST::CompEvent {
00007 public:
00008 MyEvent() : SST::CompEvent() { }
00009 int duration;
00010
00011 private:
00012 friend class boost::serialization::access;
00013 template<class Archive>
00014 void
00015 serialize(Archive & ar, const unsigned int version )
00016 {
00017 boost::serialization::base_object<CompEvent>(*this);
00018 ar & BOOST_SERIALIZATION_NVP(duration);
00019 }
00020 };
00021
00022 #endif