OpenCPN Partial API docs
ConnectionEditDialog Class Reference
Inheritance diagram for ConnectionEditDialog:

Public Member Functions

 ConnectionEditDialog (options *parent, ConnectionsDialog *client)
 
void Init (void)
 
void SetInitialSettings (void)
 
void PreloadControls (ConnectionParams *cp)
 
ConnectionParamsGetParamsFromControls ()
 
void SetPropsLabel (wxString label)
 
void ApplySettings ()
 
ConnectionParamsCreateConnectionParamsFromSelectedItem ()
 
ConnectionParamsUpdateConnectionParamsFromControls (ConnectionParams *pConnectionParams)
 
void SetSelectedConnectionPanel (ConnectionParamsPanel *panel)
 
void OnSelectDatasource (wxListEvent &event)
 
void OnAddDatasourceClick (wxCommandEvent &event)
 
void OnRemoveDatasourceClick (wxCommandEvent &event)
 
void OnTypeSerialSelected (wxCommandEvent &event)
 
void OnTypeNetSelected (wxCommandEvent &event)
 
void OnTypeGPSSelected (wxCommandEvent &event)
 
void OnTypeBTSelected (wxCommandEvent &event)
 
void OnTypeCANSelected (wxCommandEvent &event)
 
void OnNetProtocolSelected (wxCommandEvent &event)
 
void OnBaudrateChoice (wxCommandEvent &event)
 
void OnProtocolChoice (wxCommandEvent &event)
 
void OnCrcCheck (wxCommandEvent &event)
 
void OnRbAcceptInput (wxCommandEvent &event)
 
void OnRbIgnoreInput (wxCommandEvent &event)
 
void OnBtnIStcs (wxCommandEvent &event)
 
void OnCbInput (wxCommandEvent &event)
 
void OnCbOutput (wxCommandEvent &event)
 
void OnCbMultiCast (wxCommandEvent &event)
 
void OnCbAdvanced (wxCommandEvent &event)
 
void OnClickMore (wxMouseEvent &event)
 
void OnRbOutput (wxCommandEvent &event)
 
void OnBtnOStcs (wxCommandEvent &event)
 
void OnConnValChange (wxCommandEvent &event)
 
void OnValChange (wxCommandEvent &event)
 
void OnUploadFormatChange (wxCommandEvent &event)
 
void OnShowGpsWindowCheckboxClick (wxCommandEvent &event)
 
void EnableConnection (ConnectionParams *conn, bool value)
 
void OnDiscoverButton (wxCommandEvent &event)
 
void UpdateDiscoverStatus (wxString stat)
 
void OnPriorityDialog (wxCommandEvent &event)
 
void SetConnectionParams (ConnectionParams *cp)
 
void SetDefaultConnectionParams (void)
 
void SetDSFormRWStates ()
 
void SetDSFormOptionVizStates ()
 
void FillSourceList ()
 
void UpdateSourceList (bool bResort)
 
bool SortSourceList (void)
 
void SetUDPNetAddressVisiblity (void)
 
bool IsAddressMultiCast (wxString ip)
 
bool IsAddressBroadcast (wxString ip)
 
bool IsDefaultPort (wxString address)
 
void ClearNMEAForm (void)
 
void SetNMEAFormToSerial (void)
 
void SetNMEAFormToNet (void)
 
void SetNMEAFormToGPS (void)
 
void SetNMEAFormToBT (void)
 
void SetNMEAFormToCAN (void)
 
void SetNMEAFormForSerialProtocol ()
 
void SetNMEAFormForNetProtocol ()
 
void ShowTypeCommon (bool visible=true)
 
void ShowNMEACommon (bool visible)
 
void ShowNMEASerial (bool visible)
 
void ShowNMEANet (bool visible)
 
void ShowNMEAGPS (bool visible)
 
void ShowNMEABT (bool visible)
 
void ShowNMEACAN (bool visible)
 
void OnScanBTClick (wxCommandEvent &event)
 
void onBTScanTimer (wxTimerEvent &event)
 
void StopBTScan (void)
 
void OnWheelChoice (wxMouseEvent &event)
 
void ShowInFilter (bool bshow=true)
 
void ShowOutFilter (bool bshow=true)
 
void LayoutDialog ()
 
void CreateControls ()
 
void ConnectControls ()
 

Public Attributes

const wxString DEFAULT_TCP_PORT = "10110"
 
const wxString DEFAULT_UDP_PORT = "10110"
 
const wxString DEFAULT_GPSD_PORT = "2947"
 
const wxString DEFAULT_SIGNALK_PORT = "3000"
 
const wxString DEFAULT_IP_ADDRESS = "localhost"
 
const wxString DEFAULT_UDP_OUT_ADDRESS = "255.255.255.255"
 
optionsm_parent
 
wxScrolledWindow * m_scrolledwin
 
wxGridSizer * gSizerNetProps
 
wxGridSizer * gSizerSerProps
 
wxGridSizer * gSizerCanProps
 
wxTextCtrl * m_tNetAddress
 
wxTextCtrl * m_tNetPort
 
wxTextCtrl * m_tFilterSec
 
wxTextCtrl * m_tcInputStc
 
wxTextCtrl * m_tcOutputStc
 
wxCheckBox * m_cbCheckCRC
 
wxCheckBox * m_cbGarminHost
 
wxCheckBox * m_cbGarminUploadHost
 
wxCheckBox * m_cbCheckSKDiscover
 
wxCheckBox * m_cbFurunoGP3X
 
wxCheckBox * m_cbNMEADebug
 
wxCheckBox * m_cbFilterSogCog
 
wxCheckBox * m_cbInput
 
wxCheckBox * m_cbMultiCast
 
wxCheckBox * m_cbAdvanced
 
wxCheckBox * m_cbOutput
 
wxCheckBox * m_cbAPBMagnetic
 
wxComboBox * m_comboPort
 
wxStdDialogButtonSizer * m_sdbSizerDlgButtons
 
wxButton * m_ButtonSKDiscover
 
wxButton * m_ButtonPriorityDialog
 
wxStaticText * m_StaticTextSKServerStatus
 
wxButton * m_buttonAdd
 
wxButton * m_buttonRemove
 
wxButton * m_buttonScanBT
 
wxButton * m_btnInputStcList
 
wxButton * m_btnOutputStcList
 
wxButton * m_sdbSizerDlgButtonsOK
 
wxButton * m_sdbSizerDlgButtonsApply
 
wxButton * m_sdbSizerDlgButtonsCancel
 
wxStaticBoxSizer * sbSizerConnectionProps
 
wxStaticBoxSizer * sbSizerInFilter
 
wxStaticBoxSizer * sbSizerOutFilter
 
wxRadioButton * m_rbTypeSerial
 
wxRadioButton * m_rbTypeNet
 
wxRadioButton * m_rbTypeInternalGPS
 
wxRadioButton * m_rbTypeInternalBT
 
wxRadioButton * m_rbNetProtoTCP
 
wxRadioButton * m_rbNetProtoUDP
 
wxRadioButton * m_rbNetProtoGPSD
 
wxRadioButton * m_rbIAccept
 
wxRadioButton * m_rbIIgnore
 
wxRadioButton * m_rbOAccept
 
wxRadioButton * m_rbNetProtoSignalK
 
wxRadioButton * m_rbOIgnore
 
wxRadioButton * m_rbTypeCAN
 
wxStaticText * m_stBTPairs
 
wxStaticText * m_stNetProto
 
wxStaticText * m_stNetAddr
 
wxStaticText * m_stNetPort
 
wxStaticText * m_stSerPort
 
wxStaticText * m_stSerBaudrate
 
wxStaticText * m_stSerProtocol
 
wxStaticText * m_stPriority
 
wxStaticText * m_stFilterSec
 
wxStaticText * m_stPrecision
 
wxStaticText * m_stTalkerIdText
 
wxStaticText * m_stNetComment
 
wxStaticText * m_stSerialComment
 
wxStaticText * m_stCANSource
 
wxStaticText * m_stAuthToken
 
wxTextCtrl * m_tNetComment
 
wxTextCtrl * m_tSerialComment
 
wxTextCtrl * m_tAuthToken
 
wxStaticBox * m_sbConnEdit
 
wxChoice * m_choiceBTDataSources
 
wxChoice * m_choiceBaudRate
 
wxChoice * m_choiceSerialProtocol
 
wxChoice * m_choicePriority
 
wxChoice * m_choicePrecision
 
wxChoice * m_choiceCANSource
 
wxChoice * m_choiceNetDataProtocol
 
wxBoxSizer * boxSizerConnections
 
wxStaticText * m_stNetDataProtocol
 
ConnectionParamsmSelectedConnection
 
wxScrolledWindow * m_scrollWinConnections
 
bool connectionsaved
 
bool m_advanced = false
 
bool m_connection_enabled
 
bool m_bNMEAParams_shown
 
int m_btNoChangeCounter
 
int m_btlastResultCount
 
int m_BTscanning
 
wxArrayString m_BTscan_results
 
wxTimer m_BTScanTimer
 
wxArrayString m_choice_CANSource_choices
 
ObsListener new_device_listener
 

Protected Attributes

wxString MORE
 
wxString LESS
 
wxStaticText * m_more
 

Detailed Description

Definition at line 47 of file connection_edit.h.


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