ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
action.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2017-2020 German Aerospace Center (DLR).
3  * Eclipse ADORe, Automated Driving Open Research https://eclipse.org/adore
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License 2.0 which is available at
7  * http://www.eclipse.org/legal/epl-2.0.
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  * Matthias Nichting
13  ********************************************************************************/
14 
15 #pragma once
16 #include <cstdint>
17 
18 namespace adore
19 {
20  namespace sim
21  {
22  struct Action
23  {
24  private:
25  uint32_t action_;
26  public:
27  uint32_t getAction() const
28  {
29  return action_;
30  }
31  void setAction (uint32_t action)
32  {
33  action_=action;
34  }
35  };
36  }
37 }
Definition: areaofeffectconverter.h:20
Definition: action.h:23
uint32_t action_
Definition: action.h:25
uint32_t getAction() const
Definition: action.h:27
void setAction(uint32_t action)
Definition: action.h:31