Overte C++ Documentation
Mapping.h
1 //
2 // Created by Bradley Austin Davis 2015/10/09
3 // Copyright 2015 High Fidelity, Inc.
4 //
5 // Distributed under the Apache License, Version 2.0.
6 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7 //
8 
9 #pragma once
10 #ifndef hifi_Controllers_Mapping_h
11 #define hifi_Controllers_Mapping_h
12 
13 #include <map>
14 #include <unordered_map>
15 
16 #include <QtCore/QString>
17 
18 #include "Endpoint.h"
19 #include "Filter.h"
20 #include "Route.h"
21 
22 namespace controller {
23 
24  class Mapping {
25  public:
26  using Pointer = std::shared_ptr<Mapping>;
27  using List = Route::List;
28 
29  Mapping(const QString& name) : name(name) {}
30 
31  List routes;
32  QString name;
33  };
34 
35 }
36 
37 #endif