OpenCPN Partial API docs
NavObjectChanges Class Reference
Inheritance diagram for NavObjectChanges:
NavObjectCollection1

Public Member Functions

void Init (const wxString &path)
 
 NavObjectChanges (const NavObjectChanges &)=delete
 
void operator= (const NavObjectChanges &)=delete
 
void AddRoute (Route *pr, const char *action)
 
void AddTrack (Track *pr, const char *action)
 
void AddWP (RoutePoint *pr, const char *action)
 
void AddTrackPoint (TrackPoint *pWP, const char *action, const wxString &parent_GUID)
 
virtual void AddNewRoute (Route *pr)
 
virtual void UpdateRoute (Route *pr)
 
virtual void DeleteConfigRoute (Route *pr)
 
virtual void AddNewTrack (Track *pt)
 
virtual void UpdateTrack (Track *pt)
 
virtual void DeleteConfigTrack (Track *pt)
 
virtual void AddNewWayPoint (RoutePoint *pWP, int ConfigRouteNum=-1)
 
virtual void UpdateWayPoint (RoutePoint *pWP)
 
virtual void DeleteWayPoint (RoutePoint *pWP)
 
virtual void AddNewTrackPoint (TrackPoint *pWP, const wxString &parent_GUID)
 
bool ApplyChanges (void)
 
bool IsDirty ()
 
- Public Member Functions inherited from NavObjectCollection1
bool CreateNavObjGPXPoints (void)
 
bool CreateNavObjGPXRoutes (void)
 
bool CreateNavObjGPXTracks (void)
 
void AddGPXRoutesList (RouteList *pRoutes)
 
void AddGPXTracksList (std::vector< Track * > *pTracks)
 
bool AddGPXPointsList (RoutePointList *pRoutePoints)
 
bool AddGPXRoute (Route *pRoute)
 
bool AddGPXTrack (Track *pTrk)
 
bool AddGPXWaypoint (RoutePoint *pWP)
 
bool CreateAllGPXObjects ()
 
bool LoadAllGPXObjects (bool b_full_viz, int &wpt_duplicates, bool b_compute_bbox=false)
 
int LoadAllGPXObjectsAsLayer (int layer_id, bool b_layerviz, wxCheckBoxState b_namesviz)
 
bool SaveFile (const wxString filename)
 
void SetRootGPXNode (void)
 
bool IsOpenCPN ()
 
LLBBox & GetBBox ()
 

Static Public Member Functions

static std::unique_ptr< NavObjectChangesgetTempInstance ()
 
static NavObjectChangesgetInstance ()
 

Public Attributes

EventVar evt_delete_track
 Notified when Routeman (?) should delete a track. More...
 
EventVar evt_delete_route
 Notified when Routeman (?) should delete a Route*. More...
 
- Public Attributes inherited from NavObjectCollection1
LLBBox BBox
 
bool m_bSkipChangeSetUpdate
 

Friends

class MyConfig
 

Detailed Description

Definition at line 144 of file nav_object_database.h.

Member Data Documentation

◆ evt_delete_route

EventVar NavObjectChanges::evt_delete_route

Notified when Routeman (?) should delete a Route*.

Event contains a shared_ptr<Route>

Definition at line 198 of file nav_object_database.h.

◆ evt_delete_track

EventVar NavObjectChanges::evt_delete_track

Notified when Routeman (?) should delete a track.

Event contains a shared_ptr<Track>

Definition at line 193 of file nav_object_database.h.


The documentation for this class was generated from the following files: