OpenCPN Partial API docs
Loading...
Searching...
No Matches
comm_appmsg.cpp File Reference

Implement comm_appmsg.h – Decoded application messages. More...

#include <wx/wxprec.h>
#include <wx/wx.h>
#include <sstream>
#include <iomanip>
#include "model/comm_appmsg.h"
#include "model/ocpn_utils.h"

Go to the source code of this file.

Functions

std::string TimeToString (const time_t t)
 
std::string DegreesToString (double degrees)
 
double PosPartsToDegrees (float degrees, float minutes, float percent_of_minute)
 

Detailed Description

Implement comm_appmsg.h – Decoded application messages.

Definition in file comm_appmsg.cpp.

Function Documentation

◆ DegreesToString()

std::string DegreesToString ( double  degrees)

Definition at line 55 of file comm_appmsg.cpp.

◆ PosPartsToDegrees()

double PosPartsToDegrees ( float  degrees,
float  minutes,
float  percent_of_minute 
)

Definition at line 64 of file comm_appmsg.cpp.

◆ TimeToString()

std::string TimeToString ( const time_t  t)

Definition at line 42 of file comm_appmsg.cpp.