GATE
gate::tech::WebApi Struct Reference

Classes

struct  Context
 
struct  GeomapRequest
 
struct  GeomapResponse
 
struct  IpwhoisRequest
 
struct  IpwhoisResponse
 
struct  NewsfeedEntry
 
struct  NewsfeedRequest
 
struct  NewsfeedResponse
 
struct  WeatherRequest
 
struct  WeatherResponse
 

Public Types

enum  WeatherRecordTypeEnum {
  WeatherRecord_Temperature_Celsius = GATE_TECH_WEATHER_RECORD_TEMPERATURE_C , WeatherRecord_Humidity_Percent = GATE_TECH_WEATHER_RECORD_HUMIDITY_P , WeatherRecord_Rain_Millimeter = GATE_TECH_WEATHER_RECORD_RAIN_MM , WeatherRecord_Wind_Kmh = GATE_TECH_WEATHER_RECORD_WIND_KMH ,
  WeatherRecord_State = GATE_TECH_WEATHER_RECORD_STATE
}
 
enum  ImageTypeEnum { ImageType_Roadmap = GATE_TECH_GEOMAPS_TYPE_ROADMAP , ImageType_SatelliteMap = GATE_TECH_GEOMAPS_TYPE_SATELLITEMAP , ImageType_SatelliteRoadMap = (GATE_TECH_GEOMAPS_TYPE_ROADMAP | GATE_TECH_GEOMAPS_TYPE_SATELLITEMAP) }
 
enum  ImageFormatEnum { ImageFormat_PNG = GATE_TECH_GEOMAPS_IMAGE_PNG , ImageFormat_JPEG = GATE_TECH_GEOMAPS_IMAGE_JPEG }
 
typedef gate_tech_webapi_weather_record_t WeatherRecord
 

Static Public Member Functions

static void loadIpwhois (Context &context, IpwhoisRequest &request, IpwhoisResponse &response)
 
static void loadNewsfeed (Context &ctx, NewsfeedRequest &request, NewsfeedResponse &response)
 
static void loadWeatherRecord (Context &ctx, WeatherRequest &request, WeatherResponse &response)
 
static void loadGeoMap (Context &ctx, GeomapRequest &request, GeomapResponse &response)
 

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