ad_rss
generated
include
ad
rss
state
LateralResponse.hpp
Go to the documentation of this file.
1
/*
2
* ----------------- BEGIN LICENSE BLOCK ---------------------------------
3
*
4
* Copyright (C) 2018-2020 Intel Corporation
5
*
6
* SPDX-License-Identifier: LGPL-2.1-only
7
*
8
* ----------------- END LICENSE BLOCK -----------------------------------
9
*/
10
18
#pragma once
19
20
#include <iostream>
21
#include <memory>
22
#include <string>
26
namespace
ad
{
30
namespace
rss {
34
namespace
state {
35
43
enum class
LateralResponse
: int32_t
44
{
48
None
= 0,
49
53
BrakeMin
= 1
54
};
55
56
}
// namespace state
57
}
// namespace rss
58
}
// namespace ad
62
std::string
toString
(::
ad::rss::state::LateralResponse
const
e);
63
82
template
<
typename
EnumType> EnumType
fromString
(std::string
const
&str);
83
102
template <>::ad::rss::state::LateralResponse
fromString
(std::string
const
&str);
103
107
#ifndef GEN_GUARD_AD_RSS_STATE_LATERALRESPONSE
108
#define GEN_GUARD_AD_RSS_STATE_LATERALRESPONSE
109
112
namespace
ad
{
116
namespace
rss {
120
namespace
state {
121
131
inline
std::ostream &
operator<<
(std::ostream &os,
LateralResponse
const
&value)
132
{
133
return
os <<
toString
(value);
134
}
135
136
}
// namespace state
137
}
// namespace rss
138
}
// namespace ad
139
140
namespace
std {
144
inline
std::string
to_string
(::
ad::rss::state::LateralResponse
const
&value)
145
{
146
return ::toString
(value);
147
}
148
}
// namespace std
149
#endif // GEN_GUARD_AD_RSS_STATE_LATERALRESPONSE
ad
namespace ad
Definition:
LateralRelativePosition.hpp:26
ad::rss::state::LateralResponse
LateralResponse
DataType LateralResponse.
Definition:
LateralResponse.hpp:43
std::to_string
std::string to_string(::ad::rss::situation::LateralRelativePosition const &value)
overload of the std::to_string for LateralRelativePosition
Definition:
LateralRelativePosition.hpp:160
fromString
EnumType fromString(std::string const &str)
Conversion from std::string to enum type T helper.
toString
std::string toString(::ad::rss::state::LateralResponse const e)
Conversion of ad::rss::state::LateralResponse to std::string helper.
ad::rss::state::LateralResponse::None
@ None
ad::rss::state::operator<<
std::ostream & operator<<(std::ostream &os, AccelerationRestriction const &_value)
standard ostream operator
Definition:
AccelerationRestriction.hpp:164
ad::rss::state::LateralResponse::BrakeMin
@ BrakeMin
Generated by
1.8.17