00001 #ifndef BUNDLESCHEDULE_H_ 00002 #define BUNDLESCHEDULE_H_ 00003 00004 #include "data/Bundle.h" 00005 00006 using namespace dtn::data; 00007 00008 namespace dtn 00009 { 00010 namespace core 00011 { 00016 class BundleSchedule 00017 { 00018 public: 00019 BundleSchedule(); 00020 BundleSchedule(const Bundle &b, unsigned int dtntime, string eid); 00021 BundleSchedule(const BundleSchedule &k); 00022 00023 ~BundleSchedule(); 00024 00025 const Bundle& getBundle() const; 00026 unsigned int getTime() const; 00027 string getEID() const; 00028 00029 static const unsigned int MAX_TIME; 00030 00031 private: 00032 string m_eid; 00033 unsigned int m_time; 00034 Bundle *m_bundle; 00035 }; 00036 } 00037 } 00038 00039 #endif /*BUNDLESCHEDULE_H_*/
1.5.6