OpenCPN Partial API docs
Loading...
Searching...
No Matches
MyConfig Class Reference
Inheritance diagram for MyConfig:

Public Member Functions

 MyConfig (const wxString &LocalFileName)
 
int LoadMyConfig ()
 
void LoadS57Config ()
 
wxString FindNewestUsableBackup () const
 
void LoadNavObjects ()
 
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)
 
virtual void CreateConfigGroups (ChartGroupArray *pGroupArray)
 
virtual void DestroyConfigGroups (void)
 
virtual void LoadConfigGroups (ChartGroupArray *pGroupArray)
 
virtual void LoadCanvasConfigs (bool bApplyAsTemplate=false)
 
virtual void LoadConfigCanvas (canvasConfig *cConfig, bool bApplyAsTemplate)
 
virtual void SaveCanvasConfigs ()
 
virtual void SaveConfigCanvas (canvasConfig *cc)
 
virtual bool UpdateChartDirs (ArrayOfCDI &dirarray)
 
virtual bool LoadChartDirArray (ArrayOfCDI &ChartDirArray)
 
virtual void UpdateSettings ()
 
virtual void UpdateNavObj (bool bRecreate=false)
 
virtual void UpdateNavObjOnly ()
 
virtual bool IsChangesFileDirty ()
 
bool LoadLayers (wxString &path)
 
int LoadMyConfigRaw (bool bAsTemplate=false)
 
void CreateRotatingNavObjBackup ()
 

Public Attributes

wxString m_sNavObjSetFile
 
wxString m_sNavObjSetChangesFile
 
NavObjectChangesm_pNavObjectChangesSet
 
NavObjectCollection1m_pNavObjectInputSet
 

Detailed Description

Definition at line 161 of file navutil.h.

Constructor & Destructor Documentation

◆ MyConfig()

MyConfig::MyConfig ( const wxString &  LocalFileName)

Definition at line 398 of file navutil.cpp.

◆ ~MyConfig()

MyConfig::~MyConfig ( )

Definition at line 412 of file navutil.cpp.

Member Function Documentation

◆ AddNewRoute()

void MyConfig::AddNewRoute ( Route pr)
virtual

Definition at line 1948 of file navutil.cpp.

◆ AddNewTrack()

void MyConfig::AddNewTrack ( Track pt)
virtual

Definition at line 1956 of file navutil.cpp.

◆ AddNewTrackPoint()

void MyConfig::AddNewTrackPoint ( TrackPoint pWP,
const wxString &  parent_GUID 
)
virtual

Definition at line 1980 of file navutil.cpp.

◆ AddNewWayPoint()

void MyConfig::AddNewWayPoint ( RoutePoint pWP,
int  ConfigRouteNum = -1 
)
virtual

Definition at line 1968 of file navutil.cpp.

◆ CreateConfigGroups()

void MyConfig::CreateConfigGroups ( ChartGroupArray *  pGroupArray)
virtual

Definition at line 2022 of file navutil.cpp.

◆ CreateRotatingNavObjBackup()

void MyConfig::CreateRotatingNavObjBackup ( )

Definition at line 414 of file navutil.cpp.

◆ DeleteConfigRoute()

void MyConfig::DeleteConfigRoute ( Route pr)
virtual

Definition at line 1952 of file navutil.cpp.

◆ DeleteConfigTrack()

void MyConfig::DeleteConfigTrack ( Track pt)
virtual

Definition at line 1964 of file navutil.cpp.

◆ DeleteWayPoint()

void MyConfig::DeleteWayPoint ( RoutePoint pWP)
virtual

Definition at line 1976 of file navutil.cpp.

◆ DestroyConfigGroups()

void MyConfig::DestroyConfigGroups ( void  )
virtual

Definition at line 2058 of file navutil.cpp.

◆ FindNewestUsableBackup()

wxString MyConfig::FindNewestUsableBackup ( ) const

Definition at line 1687 of file navutil.cpp.

◆ IsChangesFileDirty()

bool MyConfig::IsChangesFileDirty ( )
virtual

Definition at line 3002 of file navutil.cpp.

◆ LoadCanvasConfigs()

void MyConfig::LoadCanvasConfigs ( bool  bApplyAsTemplate = false)
virtual

Definition at line 2106 of file navutil.cpp.

◆ LoadChartDirArray()

bool MyConfig::LoadChartDirArray ( ArrayOfCDI &  ChartDirArray)
virtual

Definition at line 1890 of file navutil.cpp.

◆ LoadConfigCanvas()

void MyConfig::LoadConfigCanvas ( canvasConfig cConfig,
bool  bApplyAsTemplate 
)
virtual

Definition at line 2158 of file navutil.cpp.

◆ LoadConfigGroups()

void MyConfig::LoadConfigGroups ( ChartGroupArray *  pGroupArray)
virtual

Definition at line 2062 of file navutil.cpp.

◆ LoadLayers()

bool MyConfig::LoadLayers ( wxString &  path)

Definition at line 1798 of file navutil.cpp.

◆ LoadMyConfig()

int MyConfig::LoadMyConfig ( )

Definition at line 524 of file navutil.cpp.

◆ LoadMyConfigRaw()

int MyConfig::LoadMyConfigRaw ( bool  bAsTemplate = false)

Definition at line 731 of file navutil.cpp.

◆ LoadNavObjects()

void MyConfig::LoadNavObjects ( )

Definition at line 1702 of file navutil.cpp.

◆ LoadS57Config()

void MyConfig::LoadS57Config ( )

Definition at line 1537 of file navutil.cpp.

◆ SaveCanvasConfigs()

void MyConfig::SaveCanvasConfigs ( )
virtual

Definition at line 2249 of file navutil.cpp.

◆ SaveConfigCanvas()

void MyConfig::SaveConfigCanvas ( canvasConfig cc)
virtual

Definition at line 2294 of file navutil.cpp.

◆ UpdateChartDirs()

bool MyConfig::UpdateChartDirs ( ArrayOfCDI &  dirarray)
virtual

Definition at line 1984 of file navutil.cpp.

◆ UpdateNavObj()

void MyConfig::UpdateNavObj ( bool  bRecreate = false)
virtual

Definition at line 2933 of file navutil.cpp.

◆ UpdateNavObjOnly()

void MyConfig::UpdateNavObjOnly ( )
virtual

Definition at line 2923 of file navutil.cpp.

◆ UpdateRoute()

void MyConfig::UpdateRoute ( Route pr)
virtual

Definition at line 1950 of file navutil.cpp.

◆ UpdateSettings()

void MyConfig::UpdateSettings ( )
virtual

Definition at line 2364 of file navutil.cpp.

◆ UpdateTrack()

void MyConfig::UpdateTrack ( Track pt)
virtual

Definition at line 1960 of file navutil.cpp.

◆ UpdateWayPoint()

void MyConfig::UpdateWayPoint ( RoutePoint pWP)
virtual

Definition at line 1972 of file navutil.cpp.

Member Data Documentation

◆ m_pNavObjectChangesSet

NavObjectChanges* MyConfig::m_pNavObjectChangesSet

Definition at line 208 of file navutil.h.

◆ m_pNavObjectInputSet

NavObjectCollection1* MyConfig::m_pNavObjectInputSet

Definition at line 209 of file navutil.h.

◆ m_sNavObjSetChangesFile

wxString MyConfig::m_sNavObjSetChangesFile

Definition at line 206 of file navutil.h.

◆ m_sNavObjSetFile

wxString MyConfig::m_sNavObjSetFile

Definition at line 205 of file navutil.h.


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