Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mantle-api
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Etienne Pellan
mantle-api
Commits
af1a336c
Commit
af1a336c
authored
1 year ago
by
René Paris
Browse files
Options
Downloads
Patches
Plain Diff
Remove virtual inheritance
parent
18b7a9be
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/MantleAPI/Map/i_route.h
+2
-2
2 additions, 2 deletions
include/MantleAPI/Map/i_route.h
include/MantleAPI/Traffic/i_entity.h
+4
-4
4 additions, 4 deletions
include/MantleAPI/Traffic/i_entity.h
with
6 additions
and
6 deletions
include/MantleAPI/Map/i_route.h
+
2
−
2
View file @
af1a336c
/*******************************************************************************
* Copyright (c) 2021, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
* Copyright (c) 2021
-2023
, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
...
...
@@ -23,7 +23,7 @@
namespace
mantle_api
{
class
IRoute
:
public
virtual
IIdentifiable
class
IRoute
:
public
IIdentifiable
{
public:
virtual
IRoute
&
AddWaypoint
(
const
Vec3
<
units
::
length
::
meter_t
>&
inert_pos
)
=
0
;
...
...
This diff is collapsed.
Click to expand it.
include/MantleAPI/Traffic/i_entity.h
+
4
−
4
View file @
af1a336c
/*******************************************************************************
* Copyright (c) 2021-202
2
, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
* Copyright (c) 2021-202
3
, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
...
...
@@ -83,7 +83,7 @@ public:
[[
nodiscard
]]
virtual
EntityVisibilityConfig
GetVisibility
()
const
=
0
;
};
class
IVehicle
:
public
virtual
IEntity
class
IVehicle
:
public
IEntity
{
public:
[[
nodiscard
]]
VehicleProperties
*
GetProperties
()
const
override
=
0
;
...
...
@@ -95,13 +95,13 @@ public:
// virtual void SetHost() = 0;
};
class
IPedestrian
:
public
virtual
IEntity
class
IPedestrian
:
public
IEntity
{
public:
[[
nodiscard
]]
PedestrianProperties
*
GetProperties
()
const
override
=
0
;
};
class
IStaticObject
:
public
virtual
IEntity
class
IStaticObject
:
public
IEntity
{
public:
[[
nodiscard
]]
StaticObjectProperties
*
GetProperties
()
const
override
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment