OpenCPN Partial API docs
rest_server.cpp File Reference

Implement rest_server.h. More...

#include <memory>
#include <mutex>
#include <string>
#include <utility>
#include <vector>
#include <wx/event.h>
#include <wx/filename.h>
#include <wx/log.h>
#include <wx/string.h>
#include "config.h"
#include "model/config_vars.h"
#include "model/comm_navmsg_bus.h"
#include "model/logger.h"
#include "model/nav_object_database.h"
#include "model/ocpn_utils.h"
#include "model/pincode.h"
#include "model/rest_server.h"
#include "model/routeman.h"
#include "mongoose.h"
#include "observable_evt.h"

Go to the source code of this file.

Classes

struct  RestIoEvtData
 

Enumerations

enum  { ORS_START_OF_SESSION , ORS_CHUNK_N , ORS_CHUNK_LAST }
 Kind of messages sent from io thread to main code.
 

Functions

 wxDEFINE_EVENT (REST_IO_EVT, ObservedEvt)
 Event from IO thread to main.
 
std::string RestResultText (RestServerResult result)
 RestServerResult string representation.
 

Detailed Description

Implement rest_server.h.

Definition in file rest_server.cpp.