From 5c9d4c29c08c1cac2368ffcf7b0847a8ec4732bd Mon Sep 17 00:00:00 2001 From: pixhawk Date: Thu, 19 Aug 2010 08:23:41 +0200 Subject: [PATCH] Documentation improvements --- doc/Doxyfile | 6 +++--- src/uas/UASWaypointManager.cc | 10 ++++++++++ src/uas/UASWaypointManager.h | 7 +++++++ 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/doc/Doxyfile b/doc/Doxyfile index cf2de8e66..28d0c331e 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -297,7 +297,7 @@ SYMBOL_CACHE_SIZE = 0 # Private class members and static file members will be hidden unless # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES -EXTRACT_ALL = NO +EXTRACT_ALL = YES # If the EXTRACT_PRIVATE tag is set to YES all private members of a class # will be included in the documentation. @@ -976,7 +976,7 @@ FORMULA_FONTSIZE = 10 # there is already a search function so this one should typically # be disabled. -SEARCHENGINE = NO +SEARCHENGINE = YES #--------------------------------------------------------------------------- # configuration options related to the LaTeX output @@ -1501,7 +1501,7 @@ DOT_TRANSPARENT = YES # makes dot run faster, but since only newer versions of dot (>1.8.10) # support this, this feature is disabled by default. -DOT_MULTI_TARGETS = NO +DOT_MULTI_TARGETS = YES # If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will # generate a legend page explaining the meaning of the various boxes and diff --git a/src/uas/UASWaypointManager.cc b/src/uas/UASWaypointManager.cc index 9e5ea343b..e7ccdee42 100644 --- a/src/uas/UASWaypointManager.cc +++ b/src/uas/UASWaypointManager.cc @@ -386,6 +386,16 @@ void UASWaypointManager::localLoadWaypoints(const QString &loadFile) emit waypointListChanged(); } +void UASWaypointManager::globalAddWaypoint(Waypoint *wp) +{ + +} + +int UASWaypointManager::globalRemoveWaypoint(quint16 seq) +{ + return 0; +} + void UASWaypointManager::clearWaypointList() { if(current_state == WP_IDLE) diff --git a/src/uas/UASWaypointManager.h b/src/uas/UASWaypointManager.h index e21d4cd6b..e9dce5d6d 100644 --- a/src/uas/UASWaypointManager.h +++ b/src/uas/UASWaypointManager.h @@ -93,6 +93,13 @@ public: void localLoadWaypoints(const QString &loadFile); ///< loads a waypoint list from loadFile /*@}*/ + /** @name Global waypoint list operations */ + /*@{*/ + const QVector &getGlobalWaypointList(void) { return waypoints; } ///< Returns a const reference to the global waypoint list. + void globalAddWaypoint(Waypoint *wp); ///< locally adds a new waypoint to the end of the list and changes its sequence number accordingly + int globalRemoveWaypoint(quint16 seq); ///< locally remove the specified waypoint from the storage + /*@}*/ + private: /** @name Message send functions */ /*@{*/ -- 2.22.0