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 ()
 
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 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 140 of file navutil.h.

Constructor & Destructor Documentation

◆ MyConfig()

MyConfig::MyConfig ( const wxString &  LocalFileName)

Definition at line 498 of file navutil.cpp.

Member Function Documentation

◆ AddNewRoute()

void MyConfig::AddNewRoute ( Route pr)
virtual

Definition at line 1854 of file navutil.cpp.

◆ AddNewTrack()

void MyConfig::AddNewTrack ( Track pt)
virtual

Definition at line 1866 of file navutil.cpp.

◆ AddNewTrackPoint()

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

Definition at line 1890 of file navutil.cpp.

◆ AddNewWayPoint()

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

Definition at line 1878 of file navutil.cpp.

◆ CreateConfigGroups()

void MyConfig::CreateConfigGroups ( ChartGroupArray *  pGroupArray)
virtual

Definition at line 1933 of file navutil.cpp.

◆ CreateRotatingNavObjBackup()

void MyConfig::CreateRotatingNavObjBackup ( )

Definition at line 513 of file navutil.cpp.

◆ DeleteConfigRoute()

void MyConfig::DeleteConfigRoute ( Route pr)
virtual

Definition at line 1862 of file navutil.cpp.

◆ DeleteConfigTrack()

void MyConfig::DeleteConfigTrack ( Track pt)
virtual

Definition at line 1874 of file navutil.cpp.

◆ DeleteWayPoint()

void MyConfig::DeleteWayPoint ( RoutePoint pWP)
virtual

Definition at line 1886 of file navutil.cpp.

◆ DestroyConfigGroups()

void MyConfig::DestroyConfigGroups ( void  )
virtual

Definition at line 1969 of file navutil.cpp.

◆ IsChangesFileDirty()

bool MyConfig::IsChangesFileDirty ( )
virtual

Definition at line 2864 of file navutil.cpp.

◆ LoadCanvasConfigs()

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

Definition at line 2017 of file navutil.cpp.

◆ LoadChartDirArray()

bool MyConfig::LoadChartDirArray ( ArrayOfCDI &  ChartDirArray)
virtual

Definition at line 1796 of file navutil.cpp.

◆ LoadConfigCanvas()

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

Definition at line 2069 of file navutil.cpp.

◆ LoadConfigGroups()

void MyConfig::LoadConfigGroups ( ChartGroupArray *  pGroupArray)
virtual

Definition at line 1973 of file navutil.cpp.

◆ LoadLayers()

bool MyConfig::LoadLayers ( wxString &  path)

Definition at line 1708 of file navutil.cpp.

◆ LoadMyConfig()

int MyConfig::LoadMyConfig ( )

Definition at line 565 of file navutil.cpp.

◆ LoadMyConfigRaw()

int MyConfig::LoadMyConfigRaw ( bool  bAsTemplate = false)

Definition at line 764 of file navutil.cpp.

◆ LoadNavObjects()

void MyConfig::LoadNavObjects ( )

Definition at line 1681 of file navutil.cpp.

◆ LoadS57Config()

void MyConfig::LoadS57Config ( )

Definition at line 1534 of file navutil.cpp.

◆ SaveCanvasConfigs()

void MyConfig::SaveCanvasConfigs ( )
virtual

Definition at line 2159 of file navutil.cpp.

◆ SaveConfigCanvas()

void MyConfig::SaveConfigCanvas ( canvasConfig cc)
virtual

Definition at line 2202 of file navutil.cpp.

◆ UpdateChartDirs()

bool MyConfig::UpdateChartDirs ( ArrayOfCDI &  dirarray)
virtual

Definition at line 1895 of file navutil.cpp.

◆ UpdateNavObj()

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

Definition at line 2809 of file navutil.cpp.

◆ UpdateRoute()

void MyConfig::UpdateRoute ( Route pr)
virtual

Definition at line 1858 of file navutil.cpp.

◆ UpdateSettings()

void MyConfig::UpdateSettings ( )
virtual

Definition at line 2276 of file navutil.cpp.

◆ UpdateTrack()

void MyConfig::UpdateTrack ( Track pt)
virtual

Definition at line 1870 of file navutil.cpp.

◆ UpdateWayPoint()

void MyConfig::UpdateWayPoint ( RoutePoint pWP)
virtual

Definition at line 1882 of file navutil.cpp.

Member Data Documentation

◆ m_pNavObjectChangesSet

NavObjectChanges* MyConfig::m_pNavObjectChangesSet

Definition at line 184 of file navutil.h.

◆ m_pNavObjectInputSet

NavObjectCollection1* MyConfig::m_pNavObjectInputSet

Definition at line 185 of file navutil.h.

◆ m_sNavObjSetChangesFile

wxString MyConfig::m_sNavObjSetChangesFile

Definition at line 182 of file navutil.h.

◆ m_sNavObjSetFile

wxString MyConfig::m_sNavObjSetFile

Definition at line 181 of file navutil.h.


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