Forked from
Eclipse Projects / Eclipse openpass / mantle-api
337 commits behind the upstream repository.
-
Jupp Tscheak authored
Type "Time" is now an alias to "units::time::millisecond_t". The conversion functions as provided by "time_utils.h" are still present and revised accordingly." Signed-off-by:
Jupp Tscheak <jupp.tscheak@daimler.com>
Jupp Tscheak authoredType "Time" is now an alias to "units::time::millisecond_t". The conversion functions as provided by "time_utils.h" are still present and revised accordingly." Signed-off-by:
Jupp Tscheak <jupp.tscheak@daimler.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
simulation_time.h 971 B
/*******************************************************************************
* Copyright (c) 2021, 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
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
//-----------------------------------------------------------------------------
/** @file simulation_time.h */
//-----------------------------------------------------------------------------
#ifndef MANTLEAPI_COMMON_SIMULATION_TIME_H
#define MANTLEAPI_COMMON_SIMULATION_TIME_H
#include <MantleAPI/Common/time_utils.h>
namespace mantle_api
{
struct SimulationTime
{
Time current_sim_time{0};
Time last_delta_time{0};
};
} // namespace mantle_api
#endif // MANTLEAPI_COMMON_SIMULATION_TIME_H