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

Public Member Functions

 ConnectionParams (const wxString &configStr)
 
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 ()
 
NavAddr::Bus GetCommProtocol ()
 
bool SentencePassesFilter (const wxString &sentence, FilterDirection direction)
 

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 ChecksumCheck
 
bool Garmin
 
bool GarminUpload
 
bool FurunoGP3X
 
bool AutoSKDiscover
 
dsPortType IOSelect
 
ListType InputSentenceListType
 
wxArrayString InputSentenceList
 
ListType OutputSentenceListType
 
wxArrayString OutputSentenceList
 
int Priority
 
bool bEnabled
 
wxString UserComment
 
bool Valid
 
bool b_IsSetup
 
ConnectionParamsPanelm_optionsPanel
 

Detailed Description

Definition at line 77 of file conn_params.h.

Constructor & Destructor Documentation

◆ ConnectionParams() [1/2]

ConnectionParams::ConnectionParams ( )

Definition at line 131 of file conn_params.cpp.

◆ ~ConnectionParams()

ConnectionParams::~ConnectionParams ( )

Definition at line 153 of file conn_params.cpp.

◆ ConnectionParams() [2/2]

ConnectionParams::ConnectionParams ( const wxString &  configStr)

Definition at line 61 of file conn_params.cpp.

Member Function Documentation

◆ Deserialize()

void ConnectionParams::Deserialize ( const wxString &  configStr)

Definition at line 66 of file conn_params.cpp.

◆ GetAddressStr()

wxString ConnectionParams::GetAddressStr ( ) const

Definition at line 172 of file conn_params.cpp.

◆ GetCommProtocol()

NavAddr::Bus ConnectionParams::GetCommProtocol ( )

Definition at line 378 of file conn_params.cpp.

◆ GetDSPort()

wxString ConnectionParams::GetDSPort ( ) const

Definition at line 273 of file conn_params.cpp.

◆ GetFiltersStr()

wxString ConnectionParams::GetFiltersStr ( ) const

Definition at line 240 of file conn_params.cpp.

◆ GetIOTypeValueStr()

wxString ConnectionParams::GetIOTypeValueStr ( ) const

Definition at line 216 of file conn_params.cpp.

◆ GetLastCommProtocol()

NavAddr::Bus ConnectionParams::GetLastCommProtocol ( )

Definition at line 400 of file conn_params.cpp.

◆ GetLastDSPort()

std::string ConnectionParams::GetLastDSPort ( ) const

Definition at line 312 of file conn_params.cpp.

◆ GetParametersStr()

wxString ConnectionParams::GetParametersStr ( ) const

Definition at line 201 of file conn_params.cpp.

◆ GetPortStr()

wxString ConnectionParams::GetPortStr ( ) const
inline

Definition at line 122 of file conn_params.h.

◆ GetSourceTypeStr()

wxString ConnectionParams::GetSourceTypeStr ( ) const

Definition at line 157 of file conn_params.cpp.

◆ GetStrippedDSPort()

std::string ConnectionParams::GetStrippedDSPort ( )

Definition at line 286 of file conn_params.cpp.

◆ SentencePassesFilter()

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

Definition at line 325 of file conn_params.cpp.

◆ Serialize()

wxString ConnectionParams::Serialize ( ) const

Definition at line 110 of file conn_params.cpp.

◆ SetPortStr()

void ConnectionParams::SetPortStr ( wxString  str)
inline

Definition at line 123 of file conn_params.h.

Member Data Documentation

◆ AutoSKDiscover

bool ConnectionParams::AutoSKDiscover

Definition at line 101 of file conn_params.h.

◆ b_IsSetup

bool ConnectionParams::b_IsSetup

Definition at line 130 of file conn_params.h.

◆ Baudrate

int ConnectionParams::Baudrate

Definition at line 96 of file conn_params.h.

◆ bEnabled

bool ConnectionParams::bEnabled

Definition at line 108 of file conn_params.h.

◆ ChecksumCheck

bool ConnectionParams::ChecksumCheck

Definition at line 97 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 91 of file conn_params.h.

◆ LastNetProtocol

NetworkProtocol ConnectionParams::LastNetProtocol

Definition at line 90 of file conn_params.h.

◆ LastNetworkAddress

wxString ConnectionParams::LastNetworkAddress

Definition at line 88 of file conn_params.h.

◆ LastNetworkPort

int ConnectionParams::LastNetworkPort

Definition at line 89 of file conn_params.h.

◆ m_optionsPanel

ConnectionParamsPanel* ConnectionParams::m_optionsPanel

Definition at line 131 of file conn_params.h.

◆ NetProtocol

NetworkProtocol ConnectionParams::NetProtocol

Definition at line 84 of file conn_params.h.

◆ NetworkAddress

wxString ConnectionParams::NetworkAddress

Definition at line 85 of file conn_params.h.

◆ NetworkPort

int ConnectionParams::NetworkPort

Definition at line 86 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 94 of file conn_params.h.

◆ Priority

int ConnectionParams::Priority

Definition at line 107 of file conn_params.h.

◆ Protocol

DataProtocol ConnectionParams::Protocol

Definition at line 93 of file conn_params.h.

◆ socketCAN_port

wxString ConnectionParams::socketCAN_port

Definition at line 95 of file conn_params.h.

◆ Type

ConnectionType ConnectionParams::Type

Definition at line 83 of file conn_params.h.

◆ UserComment

wxString ConnectionParams::UserComment

Definition at line 109 of file conn_params.h.

◆ Valid

bool ConnectionParams::Valid

Definition at line 129 of file conn_params.h.


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