OpenCPN Partial API docs
Loading...
Searching...
No Matches
TCMgr Class Reference

Public Member Functions

TC_Error_Code LoadDataSources (wxArrayString &sources)
 
wxArrayString GetDataSet (void)
 
bool IsReady (void)
 
bool GetTideOrCurrent (time_t t, int idx, float &value, float &dir)
 
bool GetTideOrCurrent15 (time_t t, int idx, float &tcvalue, float &dir, bool &bnew_val)
 
bool GetTideFlowSens (time_t t, int sch_step, int idx, float &tcvalue_now, float &tcvalue_prev, bool &w_t)
 
void GetHightOrLowTide (time_t t, int sch_step_1, int sch_step_2, float tide_val, bool w_t, int idx, float &tcvalue, time_t &tctime)
 
int GetStationTimeOffset (IDX_entry *pIDX)
 
int GetNextBigEvent (time_t *tm, int idx)
 
double GetStationLat (IDX_entry *pIDX)
 
double GetStationLon (IDX_entry *pIDX)
 
const IDX_entryGetIDX_entry (int index) const
 
int Get_max_IDX () const
 
std::map< double, const IDX_entry * > GetStationsForLL (double xlat, double xlon) const
 
int GetStationIDXbyName (const wxString &prefix, double xlat, double xlon) const
 
int GetStationIDXbyNameType (const wxString &prefix, double xlat, double xlon, char type) const
 
void ScrubCurrentDepths ()
 

Detailed Description

Definition at line 86 of file tcmgr.h.

Constructor & Destructor Documentation

◆ TCMgr()

TCMgr::TCMgr ( )

Definition at line 632 of file tcmgr.cpp.

◆ ~TCMgr()

TCMgr::~TCMgr ( )

Definition at line 634 of file tcmgr.cpp.

Member Function Documentation

◆ Get_max_IDX()

int TCMgr::Get_max_IDX ( ) const
inline

Definition at line 112 of file tcmgr.h.

◆ GetDataSet()

wxArrayString TCMgr::GetDataSet ( void  )
inline

Definition at line 92 of file tcmgr.h.

◆ GetHightOrLowTide()

void TCMgr::GetHightOrLowTide ( time_t  t,
int  sch_step_1,
int  sch_step_2,
float  tide_val,
bool  w_t,
int  idx,
float &  tcvalue,
time_t &  tctime 
)

Definition at line 898 of file tcmgr.cpp.

◆ GetIDX_entry()

const IDX_entry * TCMgr::GetIDX_entry ( int  index) const

Definition at line 745 of file tcmgr.cpp.

◆ GetNextBigEvent()

int TCMgr::GetNextBigEvent ( time_t *  tm,
int  idx 
)

Definition at line 973 of file tcmgr.cpp.

◆ GetStationIDXbyName()

int TCMgr::GetStationIDXbyName ( const wxString &  prefix,
double  xlat,
double  xlon 
) const

Definition at line 1026 of file tcmgr.cpp.

◆ GetStationIDXbyNameType()

int TCMgr::GetStationIDXbyNameType ( const wxString &  prefix,
double  xlat,
double  xlon,
char  type 
) const

Definition at line 1055 of file tcmgr.cpp.

◆ GetStationLat()

double TCMgr::GetStationLat ( IDX_entry pIDX)

Definition at line 969 of file tcmgr.cpp.

◆ GetStationLon()

double TCMgr::GetStationLon ( IDX_entry pIDX)

Definition at line 971 of file tcmgr.cpp.

◆ GetStationsForLL()

std::map< double, const IDX_entry * > TCMgr::GetStationsForLL ( double  xlat,
double  xlon 
) const

Definition at line 1005 of file tcmgr.cpp.

◆ GetStationTimeOffset()

int TCMgr::GetStationTimeOffset ( IDX_entry pIDX)

Definition at line 967 of file tcmgr.cpp.

◆ GetTideFlowSens()

bool TCMgr::GetTideFlowSens ( time_t  t,
int  sch_step,
int  idx,
float &  tcvalue_now,
float &  tcvalue_prev,
bool &  w_t 
)

Definition at line 865 of file tcmgr.cpp.

◆ GetTideOrCurrent()

bool TCMgr::GetTideOrCurrent ( time_t  t,
int  idx,
float &  value,
float &  dir 
)

Definition at line 752 of file tcmgr.cpp.

◆ GetTideOrCurrent15()

bool TCMgr::GetTideOrCurrent15 ( time_t  t,
int  idx,
float &  tcvalue,
float &  dir,
bool &  bnew_val 
)

Definition at line 796 of file tcmgr.cpp.

◆ IsReady()

bool TCMgr::IsReady ( void  )
inline

Definition at line 94 of file tcmgr.h.

◆ LoadDataSources()

TC_Error_Code TCMgr::LoadDataSources ( wxArrayString &  sources)

Definition at line 648 of file tcmgr.cpp.

◆ ScrubCurrentDepths()

void TCMgr::ScrubCurrentDepths ( )

Definition at line 698 of file tcmgr.cpp.


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