• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

sst/elements/resil/myEvent.h

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;  //in number of cycles for a job
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

Generated on Fri Oct 22 2010 11:02:21 for SST by  doxygen 1.7.1