00001
00002
00003
00004
00005
00006
00007
00008 #ifndef POSITIONEVENT_H_
00009 #define POSITIONEVENT_H_
00010
00011 #include <string>
00012 #include "core/Node.h"
00013 #include "core/Event.h"
00014
00015 using namespace dtn::core;
00016 using namespace std;
00017
00018 namespace emma
00019 {
00020 class PositionEvent : public Event
00021 {
00022 public:
00023 PositionEvent(const pair<double,double> position);
00024 ~PositionEvent();
00025
00026 pair<double,double> getPosition() const;
00027
00028 const string getName() const;
00029
00030 #ifdef DO_DEBUG_OUTPUT
00031 string toString();
00032 #endif
00033
00034 static const string className;
00035
00036 private:
00037 const pair<double,double> &m_position;
00038 };
00039 }
00040
00041 #endif