SOLA
Loading...
Searching...
No Matches
move_order_step.h
1// Copyright 2023 The SOLA authors
2//
3// This file is part of DAISI.
4//
5// DAISI is free software: you can redistribute it and/or modify it under the terms of the GNU
6// General Public License as published by the Free Software Foundation; version 2.
7//
8// DAISI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
9// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10// Public License for more details.
11//
12// You should have received a copy of the GNU General Public License along with DAISI. If not, see
13// <https://www.gnu.org/licenses/>.
14//
15// SPDX-License-Identifier: GPL-2.0-only
16
17#ifndef DAISI_MATERIAL_FLOW_MOVE_ORDER_STEP_H_
18#define DAISI_MATERIAL_FLOW_MOVE_ORDER_STEP_H_
19
20#include <string>
21#include <unordered_map>
22
23#include "location.h"
24#include "solanet/serializer/serialize.h"
25
26namespace daisi::material_flow {
27
29 MoveOrderStep() = default;
30
31 MoveOrderStep(std::string name, std::unordered_map<std::string, std::string> parameters,
32 Location location);
33
34 const std::string &getName() const;
35 const std::unordered_map<std::string, std::string> &getParameters() const;
36 const Location &getLocation() const;
37
38 SERIALIZE(name_, parameters_, location_);
39
40private:
41 std::string name_;
42 std::unordered_map<std::string, std::string> parameters_;
43 Location location_;
44};
45
46} // namespace daisi::material_flow
47
48#endif
Definition location.h:27
Definition move_order_step.h:28