OpenCPN Partial API docs
PeerData Struct Reference

Public Member Functions

 PeerData (EventVar &p)
 

Public Attributes

std::string dest_ip_address
 
std::string server_name
 
SemanticVersion api_version
 server API version
 
std::vector< Route * > routes
 
std::vector< RoutePoint * > routepoints
 
std::vector< Track * > tracks
 
bool overwrite
 API parameter, force overwrite w/o server dialogs.
 
bool activate
 API parameter, activate route after transfer.
 
EventVarprogress
 Notified with transfer percent progress (0-100).
 
std::function< PeerDlgResult(PeerDlg, int)> run_status_dlg
 Dialog displaying status (good, bad, ...)
 
std::function< std::pair< PeerDlgResult, std::string >)> run_pincode_dlg
 Pin confirm dialog, returns new {0, user_pin} or {error_code, error msg)
 

Detailed Description

Definition at line 52 of file peer_client.h.


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