ad_map_access
|
DataType ConnectingRoute. More...
#include <ad/map/route/ConnectingRoute.hpp>
Public Types | |
typedef std::shared_ptr< ConnectingRoute > | Ptr |
Smart pointer on ConnectingRoute. | |
typedef std::shared_ptr< ConnectingRoute const > | ConstPtr |
Smart pointer on constant ConnectingRoute. | |
Public Member Functions | |
ConnectingRoute ()=default | |
standard constructor | |
~ConnectingRoute ()=default | |
standard destructor | |
ConnectingRoute (const ConnectingRoute &other)=default | |
standard copy constructor | |
ConnectingRoute (ConnectingRoute &&other)=default | |
standard move constructor | |
ConnectingRoute & | operator= (const ConnectingRoute &other)=default |
standard assignment operator More... | |
ConnectingRoute & | operator= (ConnectingRoute &&other)=default |
standard move operator More... | |
bool | operator== (const ConnectingRoute &other) const |
standard comparison operator More... | |
bool | operator!= (const ConnectingRoute &other) const |
standard comparison operator More... | |
Public Attributes | |
::ad::map::route::ConnectingRouteType | type {::ad::map::route::ConnectingRouteType::Invalid} |
::ad::map::route::FullRoute | routeA |
::ad::map::route::FullRoute | routeB |
DataType ConnectingRoute.
A special route connecting two objects, A and B, in the map. The connection route consists of two routes. routeA is non empty, if the shorted path between A and B can be traveled by A in forward direction. routeB is non empty, if the shorted path between A and B can be traveled by B in forward direction. We have the following possibilities: 1: There exists no connecting route (according to the search length/distance restrictions ): both routeA and routeB are empty 2: A and B are driving in same direction: one is able to reach the other with driving forward, but not vice versa 2.1: If A is in front of B: routeA is empty, routeB contains the route part from B towards A 2.2: If B is in front of A: routeB is empty, routeA contains the route part from A towards B
|
inline |
standard comparison operator
[in] | other | Other ConnectingRoute. |
true
if both ConnectingRoute are different
|
default |
standard move operator
[in] | other | Other ConnectingRoute |
|
default |
standard assignment operator
[in] | other | Other ConnectingRoute |
|
inline |
standard comparison operator
[in] | other | Other ConnectingRoute |
true
if both ConnectingRoute are equal ::ad::map::route::FullRoute ad::map::route::ConnectingRoute::routeA |
The route prefix of object A. This part of the connected route is only used by object A to travel towards B. If B is behind A, this part of the connecting route is empty.
::ad::map::route::FullRoute ad::map::route::ConnectingRoute::routeB |
The route prefix of object B. This part of the connected route is only used by object B to travel towards A. If A is behind B, this part of the connecting route is empty.
::ad::map::route::ConnectingRouteType ad::map::route::ConnectingRoute::type {::ad::map::route::ConnectingRouteType::Invalid} |
The type of connecting route.