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

Callbacks for handling routes and tracks. More...

#include <rest_server.h>

Public Member Functions

 RouteCtx ()
 Dummy stubs constructor.
 

Public Attributes

std::function< Route *(wxString)> find_route_by_guid
 
std::function< Track *(wxString)> find_track_by_guid
 
std::function< RoutePoint *(wxString)> find_wpt_by_guid
 
std::function< void(Route *)> delete_route
 
std::function< void(Track *)> delete_track
 
std::function< void(RoutePoint *)> delete_waypoint
 

Detailed Description

Callbacks for handling routes and tracks.

Definition at line 115 of file rest_server.h.

Constructor & Destructor Documentation

◆ RouteCtx()

RouteCtx::RouteCtx ( )

Dummy stubs constructor.

Definition at line 773 of file rest_server.cpp.

Member Data Documentation

◆ delete_route

std::function<void(Route*)> RouteCtx::delete_route

Definition at line 120 of file rest_server.h.

◆ delete_track

std::function<void(Track*)> RouteCtx::delete_track

Definition at line 121 of file rest_server.h.

◆ delete_waypoint

std::function<void(RoutePoint*)> RouteCtx::delete_waypoint

Definition at line 122 of file rest_server.h.

◆ find_route_by_guid

std::function<Route*(wxString)> RouteCtx::find_route_by_guid

Definition at line 117 of file rest_server.h.

◆ find_track_by_guid

std::function<Track*(wxString)> RouteCtx::find_track_by_guid

Definition at line 118 of file rest_server.h.

◆ find_wpt_by_guid

std::function<RoutePoint*(wxString)> RouteCtx::find_wpt_by_guid

Definition at line 119 of file rest_server.h.


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