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

Public Member Functions

 ConnectionParams (const wxString &configStr)
 
std::string GetKey () const
 Return string unique for each instance.
 
wxString Serialize () const
 
void Deserialize (const wxString &configStr)
 
wxString GetSourceTypeStr () const
 
wxString GetAddressStr () const
 
wxString GetParametersStr () const
 
wxString GetIOTypeValueStr () const
 
wxString GetFiltersStr () const
 
wxString GetDSPort () const
 
std::string GetLastDSPort () const
 
NavAddr::Bus GetLastCommProtocol ()
 
wxString GetPortStr () const
 
void SetPortStr (wxString str)
 
std::string GetStrippedDSPort () const
 
NavAddr::Bus GetCommProtocol () const
 
bool SentencePassesFilter (const wxString &sentence, FilterDirection direction) const
 

Public Attributes

ConnectionType Type
 
NetworkProtocol NetProtocol
 
wxString NetworkAddress
 
int NetworkPort
 
wxString LastNetworkAddress
 
int LastNetworkPort
 
NetworkProtocol LastNetProtocol
 
DataProtocol LastDataProtocol
 
DataProtocol Protocol
 
wxString Port
 
wxString socketCAN_port
 
int Baudrate
 
bool NoDataReconnect
 
bool DisableEcho
 
bool ChecksumCheck
 
bool Garmin
 
bool GarminUpload
 
bool FurunoGP3X
 
bool AutoSKDiscover
 
dsPortType IOSelect
 
ListType InputSentenceListType
 
wxArrayString InputSentenceList
 
ListType OutputSentenceListType
 
wxArrayString OutputSentenceList
 
bool bEnabled
 
wxString UserComment
 
wxString AuthToken
 
bool Valid
 
bool b_IsSetup
 
ConnectionParamsPanelm_optionsPanel
 

Detailed Description

Definition at line 75 of file conn_params.h.

Constructor & Destructor Documentation

◆ ConnectionParams() [1/2]

ConnectionParams::ConnectionParams ( )

Definition at line 149 of file conn_params.cpp.

◆ ~ConnectionParams()

ConnectionParams::~ConnectionParams ( )

Definition at line 173 of file conn_params.cpp.

◆ ConnectionParams() [2/2]

ConnectionParams::ConnectionParams ( const wxString &  configStr)

Definition at line 57 of file conn_params.cpp.

Member Function Documentation

◆ Deserialize()

void ConnectionParams::Deserialize ( const wxString &  configStr)

Definition at line 62 of file conn_params.cpp.

◆ GetAddressStr()

wxString ConnectionParams::GetAddressStr ( ) const

Definition at line 192 of file conn_params.cpp.

◆ GetCommProtocol()

NavAddr::Bus ConnectionParams::GetCommProtocol ( ) const

Definition at line 381 of file conn_params.cpp.

◆ GetDSPort()

wxString ConnectionParams::GetDSPort ( ) const

Definition at line 293 of file conn_params.cpp.

◆ GetFiltersStr()

wxString ConnectionParams::GetFiltersStr ( ) const

Definition at line 260 of file conn_params.cpp.

◆ GetIOTypeValueStr()

wxString ConnectionParams::GetIOTypeValueStr ( ) const

Definition at line 236 of file conn_params.cpp.

◆ GetKey()

std::string ConnectionParams::GetKey ( ) const

Return string unique for each instance.

Definition at line 137 of file conn_params.cpp.

◆ GetLastCommProtocol()

NavAddr::Bus ConnectionParams::GetLastCommProtocol ( )

Definition at line 399 of file conn_params.cpp.

◆ GetLastDSPort()

std::string ConnectionParams::GetLastDSPort ( ) const

Definition at line 327 of file conn_params.cpp.

◆ GetParametersStr()

wxString ConnectionParams::GetParametersStr ( ) const

Definition at line 221 of file conn_params.cpp.

◆ GetPortStr()

wxString ConnectionParams::GetPortStr ( ) const
inline

Definition at line 125 of file conn_params.h.

◆ GetSourceTypeStr()

wxString ConnectionParams::GetSourceTypeStr ( ) const

Definition at line 177 of file conn_params.cpp.

◆ GetStrippedDSPort()

std::string ConnectionParams::GetStrippedDSPort ( ) const

Definition at line 306 of file conn_params.cpp.

◆ SentencePassesFilter()

bool ConnectionParams::SentencePassesFilter ( const wxString &  sentence,
FilterDirection  direction 
) const

Definition at line 339 of file conn_params.cpp.

◆ Serialize()

wxString ConnectionParams::Serialize ( ) const

Definition at line 114 of file conn_params.cpp.

◆ SetPortStr()

void ConnectionParams::SetPortStr ( wxString  str)
inline

Definition at line 126 of file conn_params.h.

Member Data Documentation

◆ AuthToken

wxString ConnectionParams::AuthToken

Definition at line 109 of file conn_params.h.

◆ AutoSKDiscover

bool ConnectionParams::AutoSKDiscover

Definition at line 101 of file conn_params.h.

◆ b_IsSetup

bool ConnectionParams::b_IsSetup

Definition at line 133 of file conn_params.h.

◆ Baudrate

int ConnectionParams::Baudrate

Definition at line 94 of file conn_params.h.

◆ bEnabled

bool ConnectionParams::bEnabled

Definition at line 107 of file conn_params.h.

◆ ChecksumCheck

bool ConnectionParams::ChecksumCheck

Definition at line 97 of file conn_params.h.

◆ DisableEcho

bool ConnectionParams::DisableEcho

Definition at line 96 of file conn_params.h.

◆ FurunoGP3X

bool ConnectionParams::FurunoGP3X

Definition at line 100 of file conn_params.h.

◆ Garmin

bool ConnectionParams::Garmin

Definition at line 98 of file conn_params.h.

◆ GarminUpload

bool ConnectionParams::GarminUpload

Definition at line 99 of file conn_params.h.

◆ InputSentenceList

wxArrayString ConnectionParams::InputSentenceList

Definition at line 104 of file conn_params.h.

◆ InputSentenceListType

ListType ConnectionParams::InputSentenceListType

Definition at line 103 of file conn_params.h.

◆ IOSelect

dsPortType ConnectionParams::IOSelect

Definition at line 102 of file conn_params.h.

◆ LastDataProtocol

DataProtocol ConnectionParams::LastDataProtocol

Definition at line 89 of file conn_params.h.

◆ LastNetProtocol

NetworkProtocol ConnectionParams::LastNetProtocol

Definition at line 88 of file conn_params.h.

◆ LastNetworkAddress

wxString ConnectionParams::LastNetworkAddress

Definition at line 86 of file conn_params.h.

◆ LastNetworkPort

int ConnectionParams::LastNetworkPort

Definition at line 87 of file conn_params.h.

◆ m_optionsPanel

ConnectionParamsPanel* ConnectionParams::m_optionsPanel

Definition at line 134 of file conn_params.h.

◆ NetProtocol

NetworkProtocol ConnectionParams::NetProtocol

Definition at line 82 of file conn_params.h.

◆ NetworkAddress

wxString ConnectionParams::NetworkAddress

Definition at line 83 of file conn_params.h.

◆ NetworkPort

int ConnectionParams::NetworkPort

Definition at line 84 of file conn_params.h.

◆ NoDataReconnect

bool ConnectionParams::NoDataReconnect

Definition at line 95 of file conn_params.h.

◆ OutputSentenceList

wxArrayString ConnectionParams::OutputSentenceList

Definition at line 106 of file conn_params.h.

◆ OutputSentenceListType

ListType ConnectionParams::OutputSentenceListType

Definition at line 105 of file conn_params.h.

◆ Port

wxString ConnectionParams::Port

Definition at line 92 of file conn_params.h.

◆ Protocol

DataProtocol ConnectionParams::Protocol

Definition at line 91 of file conn_params.h.

◆ socketCAN_port

wxString ConnectionParams::socketCAN_port

Definition at line 93 of file conn_params.h.

◆ Type

ConnectionType ConnectionParams::Type

Definition at line 81 of file conn_params.h.

◆ UserComment

wxString ConnectionParams::UserComment

Definition at line 108 of file conn_params.h.

◆ Valid

bool ConnectionParams::Valid

Definition at line 132 of file conn_params.h.


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