ad_rss
include
ad
rss
core
RssCheck.hpp
Go to the documentation of this file.
1
// ----------------- BEGIN LICENSE BLOCK ---------------------------------
2
//
3
// Copyright (C) 2018-2022 Intel Corporation
4
//
5
// SPDX-License-Identifier: LGPL-2.1-only
6
//
7
// ----------------- END LICENSE BLOCK -----------------------------------
12
#pragma once
13
14
#include <memory>
15
#include "
ad/rss/core/RssResponseResolving.hpp
"
16
#include "
ad/rss/core/RssSituationChecking.hpp
"
17
#include "
ad/rss/core/RssSituationExtraction.hpp
"
18
22
namespace
ad
{
26
namespace
rss {
27
31
namespace
core {
32
40
class
RssCheck
41
{
42
public
:
46
typedef
std::shared_ptr<RssCheck>
Ptr
;
47
51
typedef
std::shared_ptr<RssCheck const>
ConstPtr
;
52
56
RssCheck
() =
default
;
57
61
RssCheck
(
RssCheck
const
&other) =
default
;
62
66
~RssCheck
() =
default
;
67
71
RssCheck
&
operator=
(
RssCheck
const
&other) =
default
;
72
81
bool
calculateProperResponse
(
world::WorldModel
const
&worldModel,
state::ProperResponse
&properResponse);
82
93
bool
calculateProperResponse
(
world::WorldModel
const
&worldModel,
94
RssSituationSnapshot
&situationSnapshot,
95
state::RssStateSnapshot
&rssStateSnapshot,
96
state::ProperResponse
&properResponse);
97
104
void
registerCalculateTrajectorySetsCallback
(
105
world::ObjectType
objectType,
106
unstructured::RssUnstructuredConstellationChecker::CalculateTrajectorySetsCallbackFunctionType
107
calculateTrajectorySetsCallback);
108
116
void
dropObjectHistory
(
world::ObjectId
const
&object_id);
117
121
RssResponseResolving
mResponseResolving
;
125
RssSituationChecking
mSituationChecking
;
129
RssSituationExtraction
mSituationExtraction
;
130
};
131
132
}
// namespace core
133
}
// namespace rss
134
}
// namespace ad
RssResponseResolving.hpp
RssSituationChecking.hpp
RssSituationExtraction.hpp
ad::rss::core::RssCheck
RssCheck.
Definition:
RssCheck.hpp:41
ad::rss::core::RssCheck::mResponseResolving
RssResponseResolving mResponseResolving
RssResponseResolving member.
Definition:
RssCheck.hpp:121
ad::rss::core::RssCheck::mSituationChecking
RssSituationChecking mSituationChecking
RssSituationChecking member.
Definition:
RssCheck.hpp:125
ad::rss::core::RssCheck::operator=
RssCheck & operator=(RssCheck const &other)=default
default assignment operator
ad::rss::core::RssCheck::calculateProperResponse
bool calculateProperResponse(world::WorldModel const &worldModel, state::ProperResponse &properResponse)
calculateProperResponse
ad::rss::core::RssCheck::RssCheck
RssCheck()=default
constructor
ad::rss::core::RssCheck::RssCheck
RssCheck(RssCheck const &other)=default
default copy constructor
ad::rss::core::RssCheck::calculateProperResponse
bool calculateProperResponse(world::WorldModel const &worldModel, RssSituationSnapshot &situationSnapshot, state::RssStateSnapshot &rssStateSnapshot, state::ProperResponse &properResponse)
calculateProperResponse
ad::rss::core::RssCheck::ConstPtr
std::shared_ptr< RssCheck const > ConstPtr
Smart pointer on constant RssCheck.
Definition:
RssCheck.hpp:51
ad::rss::core::RssCheck::mSituationExtraction
RssSituationExtraction mSituationExtraction
RssSituationExtraction member.
Definition:
RssCheck.hpp:129
ad::rss::core::RssCheck::~RssCheck
~RssCheck()=default
destructor
ad::rss::core::RssCheck::dropObjectHistory
void dropObjectHistory(world::ObjectId const &object_id)
drop the history associated with a given object_id
ad::rss::core::RssCheck::Ptr
std::shared_ptr< RssCheck > Ptr
Smart pointer on RssCheck.
Definition:
RssCheck.hpp:46
ad::rss::core::RssCheck::registerCalculateTrajectorySetsCallback
void registerCalculateTrajectorySetsCallback(world::ObjectType objectType, unstructured::RssUnstructuredConstellationChecker::CalculateTrajectorySetsCallbackFunctionType calculateTrajectorySetsCallback)
Register a callback for unstructured trajectory set calculation.
ad::rss::core::RssResponseResolving
RssResponseResolving.
Definition:
RssResponseResolving.hpp:40
ad::rss::core::RssSituationChecking
class RssSituationChecking
Definition:
RssSituationChecking.hpp:39
ad::rss::core::RssSituationExtraction
class RssSituationExtraction
Definition:
RssSituationExtraction.hpp:38
ad::rss::unstructured::RssUnstructuredConstellationChecker::CalculateTrajectorySetsCallbackFunctionType
std::function< bool(::ad::rss::core::RelativeConstellation const &constellation, ::ad::rss::world::ObjectId const &objectId, ::ad::rss::core::RelativeObjectState const &vehicleState, ::ad::geometry::Polygon &brakePolygon, ::ad::geometry::Polygon &continueForwardPolygon)> CalculateTrajectorySetsCallbackFunctionType
Function callback type for unstructured trajectory set calculation.
Definition:
RssUnstructuredConstellationChecker.hpp:116
ad::rss::world::ObjectType
ObjectType
DataType ObjectType.
Definition:
ObjectType.hpp:44
ad::rss::world::ObjectId
uint64_t ObjectId
DataType ObjectId.
Definition:
ObjectId.hpp:39
ad
namespace ad
Definition:
LateralRelativePosition.hpp:28
ad::rss::core::RssSituationSnapshot
DataType RssSituationSnapshot.
Definition:
RssSituationSnapshot.hpp:46
ad::rss::state::ProperResponse
DataType ProperResponse.
Definition:
ProperResponse.hpp:50
ad::rss::state::RssStateSnapshot
DataType RssStateSnapshot.
Definition:
RssStateSnapshot.hpp:47
ad::rss::world::WorldModel
DataType WorldModel.
Definition:
WorldModel.hpp:47
Generated by
1.9.1