API Documentation
Loading...
Searching...
No Matches
ElevationService.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/UUID.h>
4#include <NDEVR/Polyline.h>
5#include <functional>
6namespace NDEVR
7{
8 class ProgressInfo;
26 {
27 public:
28 virtual void postRequest(const ElevationRequest& request) = 0;
29 static ElevationService* PrimaryService();
30 static void SetPrimaryService(ElevationService* elevation_service);
31 static ElevationRequest ConvertToLatLon(const ElevationRequest& request);
32 static Buffer<LineElevationRequest> SplitRequestsIfNeeded(const Buffer<LineElevationRequest>& requests, uint04 max_samples);
33 protected:
35
36 };
37}
#define NDEVR_DESIGN_API
Definition DLLInfo.h:77
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition ElevationService.h:26
virtual void postRequest(const ElevationRequest &request)=0
static ElevationService * s_primary_service
Definition ElevationService.h:34
A polyline which stores vertex information for many points along a given path.
Definition CoordinateProjectionManager.h:44
Definition ProgressInfo.hpp:43
Definition UUID.h:66
Definition ACIColor.h:37
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition ElevationService.h:15
UUID request_id
Definition ElevationService.h:17
UUID coordinate_plane_id
Definition ElevationService.h:18
Buffer< Vertex< 2, fltp08 > > elevation_locations
Definition ElevationService.h:19
Buffer< LineElevationRequest > elevation_polylines
Definition ElevationService.h:20
std::function< void(const ElevationRequest &request)> finished_callback
Definition ElevationService.h:23
Buffer< fltp08 > elevations
Definition ElevationService.h:21
Definition ElevationService.h:10
Polyline< 2, fltp08 > polyline
Definition ElevationService.h:11
uint04 sample_count
Definition ElevationService.h:12