supereight
Loading...
Searching...
No Matches
data_semantics.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021-2022 Smart Robotics Lab, Imperial College London, Technical University of Munich
3 * SPDX-FileCopyrightText: 2021-2022 Nils Funk
4 * SPDX-FileCopyrightText: 2021-2022 Sotiris Papatheodorou
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8#ifndef SE_DATA_SEMANTICS_HPP
9#define SE_DATA_SEMANTICS_HPP
10
13
14namespace se {
15
16// Semantic data
17template<Semantics SemB>
19 struct Config {
20 void readYaml(const std::string& /* yaml_file */)
21 {
22 }
23 };
24};
25
26// Semantic data
27template<>
30
31 struct Config {
35 void readYaml(const std::string& yaml_file);
36 };
37};
38
39std::ostream& operator<<(std::ostream& os, const SemanticData<Semantics::Off>::Config& c);
40std::ostream& operator<<(std::ostream& os, const SemanticData<Semantics::On>::Config& c);
41
42} // namespace se
43
44#endif // SE_DATA_SEMANTICS_HPP
Definition image.hpp:19
Helper wrapper to allocate and de-allocate octants in the octree.
Definition bounded_vector.hpp:14
uint8_t semantics_t
The type of the semantic class.
Definition type_util.hpp:59
Semantics
Definition setup_util.hpp:20
std::ostream & operator<<(std::ostream &os, const ColourData< Colour::Off >::Config &c)
Definition config.hpp:105
Definition data_semantics.hpp:19
void readYaml(const std::string &)
Definition data_semantics.hpp:20
void readYaml(const std::string &yaml_file)
Reads the struct members from the "data" node of a YAML file.
Definition data_semantics.hpp:18