00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 #include "jaus/mobility/drivers/waypoint.h" 00042 00043 using namespace JAUS; 00044 00050 Waypoint::Waypoint() : mActiveFlag(false), mFinishedFlag(false) 00051 { 00052 } 00053 00054 00060 Waypoint::~Waypoint() {} 00061 00062 00071 void Waypoint::SetCurrentWaypoint(const bool onFlag) 00072 { 00073 mActiveFlag = onFlag; 00074 } 00075 00076 00088 void Waypoint::SetWaypointAcheived(const bool flag) 00089 { 00090 mFinishedFlag = flag; 00091 } 00092 00093 00100 bool Waypoint::IsCurrentWaypoint() const { return mActiveFlag; } 00101 00108 bool Waypoint::IsWaypointAcheived() const { return mFinishedFlag; } 00109 00110 00111 /* End of File */