ad_rss
generated
include
ad
rss
state
UnstructuredSceneResponse.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
39
enum class
UnstructuredSceneResponse
: int32_t
40
{
44
None
= 0,
45
49
ContinueForward
= 1,
50
54
DriveAway
= 2,
55
59
Brake
= 3
60
};
61
62
}
// namespace state
63
}
// namespace rss
64
}
// namespace ad
68
std::string
toString
(::
ad::rss::state::UnstructuredSceneResponse
const
e);
69
88
template
<
typename
EnumType> EnumType
fromString
(std::string
const
&str);
89
108
template <>::ad::rss::state::UnstructuredSceneResponse
fromString
(std::string
const
&str);
109
113
#ifndef GEN_GUARD_AD_RSS_STATE_UNSTRUCTUREDSCENERESPONSE
114
#define GEN_GUARD_AD_RSS_STATE_UNSTRUCTUREDSCENERESPONSE
115
118
namespace
ad
{
122
namespace
rss {
126
namespace
state {
127
137
inline
std::ostream &
operator<<
(std::ostream &os,
UnstructuredSceneResponse
const
&value)
138
{
139
return
os <<
toString
(value);
140
}
141
142
}
// namespace state
143
}
// namespace rss
144
}
// namespace ad
145
146
namespace
std {
150
inline
std::string
to_string
(::
ad::rss::state::UnstructuredSceneResponse
const
&value)
151
{
152
return ::toString
(value);
153
}
154
}
// namespace std
155
#endif // GEN_GUARD_AD_RSS_STATE_UNSTRUCTUREDSCENERESPONSE
ad
namespace ad
Definition:
LateralRelativePosition.hpp:26
ad::rss::state::UnstructuredSceneResponse::DriveAway
@ DriveAway
toString
std::string toString(::ad::rss::state::UnstructuredSceneResponse const e)
Conversion of ad::rss::state::UnstructuredSceneResponse to std::string helper.
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
ad::rss::state::UnstructuredSceneResponse
UnstructuredSceneResponse
DataType UnstructuredSceneResponse.
Definition:
UnstructuredSceneResponse.hpp:39
ad::rss::state::operator<<
std::ostream & operator<<(std::ostream &os, AccelerationRestriction const &_value)
standard ostream operator
Definition:
AccelerationRestriction.hpp:164
ad::rss::state::UnstructuredSceneResponse::Brake
@ Brake
ad::rss::state::UnstructuredSceneResponse::None
@ None
fromString
EnumType fromString(std::string const &str)
Conversion from std::string to enum type T helper.
ad::rss::state::UnstructuredSceneResponse::ContinueForward
@ ContinueForward
Generated by
1.8.17