ad_rss
UnstructuredSceneStateInformation.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 <sstream>
27 namespace ad {
31 namespace rss {
35 namespace state {
36 
41 {
45  typedef std::shared_ptr<UnstructuredSceneStateInformation> Ptr;
46 
50  typedef std::shared_ptr<UnstructuredSceneStateInformation const> ConstPtr;
51 
56 
61 
66 
71 
80 
89 
98  {
99  return (brakeTrajectorySet == other.brakeTrajectorySet)
101  }
102 
111  {
112  return !operator==(other);
113  }
114 
119 
124 };
125 
126 } // namespace state
127 } // namespace rss
128 } // namespace ad
129 
133 #ifndef GEN_GUARD_AD_RSS_STATE_UNSTRUCTUREDSCENESTATEINFORMATION
134 #define GEN_GUARD_AD_RSS_STATE_UNSTRUCTUREDSCENESTATEINFORMATION
135 
138 namespace ad {
142 namespace rss {
146 namespace state {
147 
157 inline std::ostream &operator<<(std::ostream &os, UnstructuredSceneStateInformation const &_value)
158 {
159  os << "UnstructuredSceneStateInformation(";
160  os << "brakeTrajectorySet:";
161  os << _value.brakeTrajectorySet;
162  os << ",";
163  os << "continueForwardTrajectorySet:";
164  os << _value.continueForwardTrajectorySet;
165  os << ")";
166  return os;
167 }
168 
169 } // namespace state
170 } // namespace rss
171 } // namespace ad
172 
173 namespace std {
178 {
179  stringstream sstream;
180  sstream << value;
181  return sstream.str();
182 }
183 } // namespace std
184 #endif // GEN_GUARD_AD_RSS_STATE_UNSTRUCTUREDSCENESTATEINFORMATION
ad
namespace ad
Definition: LateralRelativePosition.hpp:26
ad::rss::state::UnstructuredSceneStateInformation::brakeTrajectorySet
::ad::rss::world::UnstructuredTrajectorySet brakeTrajectorySet
Definition: UnstructuredSceneStateInformation.hpp:118
ad::rss::state::UnstructuredSceneStateInformation::operator==
bool operator==(const UnstructuredSceneStateInformation &other) const
standard comparison operator
Definition: UnstructuredSceneStateInformation.hpp:97
ad::rss::state::UnstructuredSceneStateInformation::~UnstructuredSceneStateInformation
~UnstructuredSceneStateInformation()=default
standard destructor
ad::rss::state::UnstructuredSceneStateInformation::operator!=
bool operator!=(const UnstructuredSceneStateInformation &other) const
standard comparison operator
Definition: UnstructuredSceneStateInformation.hpp:110
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
UnstructuredTrajectorySet.hpp
ad::rss::world::UnstructuredTrajectorySet
::ad::physics::Distance2DList UnstructuredTrajectorySet
DataType UnstructuredTrajectorySet.
Definition: UnstructuredTrajectorySet.hpp:39
ad::rss::state::UnstructuredSceneStateInformation
DataType UnstructuredSceneStateInformation.
Definition: UnstructuredSceneStateInformation.hpp:40
ad::rss::state::UnstructuredSceneStateInformation::continueForwardTrajectorySet
::ad::rss::world::UnstructuredTrajectorySet continueForwardTrajectorySet
Definition: UnstructuredSceneStateInformation.hpp:123
ad::rss::state::UnstructuredSceneStateInformation::UnstructuredSceneStateInformation
UnstructuredSceneStateInformation()=default
standard constructor
ad::rss::state::operator<<
std::ostream & operator<<(std::ostream &os, AccelerationRestriction const &_value)
standard ostream operator
Definition: AccelerationRestriction.hpp:164
ad::rss::state::UnstructuredSceneStateInformation::operator=
UnstructuredSceneStateInformation & operator=(const UnstructuredSceneStateInformation &other)=default
standard assignment operator
ad::rss::state::UnstructuredSceneStateInformation::Ptr
std::shared_ptr< UnstructuredSceneStateInformation > Ptr
Smart pointer on UnstructuredSceneStateInformation.
Definition: UnstructuredSceneStateInformation.hpp:45
ad::rss::state::UnstructuredSceneStateInformation::ConstPtr
std::shared_ptr< UnstructuredSceneStateInformation const > ConstPtr
Smart pointer on constant UnstructuredSceneStateInformation.
Definition: UnstructuredSceneStateInformation.hpp:50