Commit e243321d authored by Naida Goro's avatar Naida Goro Committed by Raghunandan Netrapalli Madhusudhan
Browse files

Remove opsimulationmanager

parent b07a2b23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ CheckOptions:
  - key: readability-identifier-naming.FunctionCase
    value: CamelCase
  - key: readability-identifier-naming.FunctionIgnoredRegexp
    value: 'OpenPASS_GetVersion|OpenPASS_CreateInstance|OpenPASS_DestroyInstance|OpenPASS_UpdateInput|OpenPASS_UpdateOutput|OpenPASS_Trigger|OpenPASS_OpSimulationManagerPreHook|OpenPASS_OpSimulationManagerPostHook|OpenPASS_OpSimulationPreHook|OpenPASS_OpSimulationPreRunHook|OpenPASS_OpSimulationUpdateHook|OpenPASS_OpSimulationPostRunHook|OpenPASS_OpSimulationPostHook|OpenPASS_OpSimulationResultFile'
    value: 'OpenPASS_GetVersion|OpenPASS_CreateInstance|OpenPASS_DestroyInstance|OpenPASS_UpdateInput|OpenPASS_UpdateOutput|OpenPASS_Trigger|OpenPASS_OpSimulationPreHook|OpenPASS_OpSimulationPreRunHook|OpenPASS_OpSimulationUpdateHook|OpenPASS_OpSimulationPostRunHook|OpenPASS_OpSimulationPostHook'
  - key: readability-identifier-naming.GlobalVariableCase
    value: camelBack
  - key: readability-identifier-naming.GlobalVariablePrefix 
+0 −13
Original line number Diff line number Diff line
<opSimulationManager>
  <logLevel>0</logLevel>
  <logFileSimulationManager>opSimulationManager.log</logFileSimulationManager>
  <simulation>opSimulation</simulation>
  <libraries>modules</libraries>
  <simulationConfigs>
    <simulationConfig>
      <logFileSimulation>opSimulation.log</logFileSimulation>
      <configurations>configs</configurations>
      <results>results</results>
    </simulationConfig>
  </simulationConfigs>
</opSimulationManager>
+1 −21
Original line number Diff line number Diff line
/********************************************************************************
 * Copyright (c) 2016-2018 ITK Engineering GmbH
 *               2017-2021 in-tech GmbH
 *               2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
 *               2023-2024 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
@@ -64,18 +64,6 @@ public:
  ObservationInterface& operator=(ObservationInterface&&) = delete;
  virtual ~ObservationInterface() = default;

  //-----------------------------------------------------------------------------
  //! Called by framework in opSimulationManager before each simulation run starts
  //-----------------------------------------------------------------------------
  virtual void OpSimulationManagerPreHook() = 0;  // currently not implemented

  //-----------------------------------------------------------------------------
  //! Called by framework in opSimulationManager after each simulation run ends
  //!
  //! @param[in]     filename      Name of file containing the simulation run results from the simulation
  //-----------------------------------------------------------------------------
  virtual void OpSimulationManagerPostHook(const std::string& filename) = 0;  // currently not implemented

  //-----------------------------------------------------------------------------
  //! Called by framework in simulation before all simulation runs start
  //!
@@ -109,14 +97,6 @@ public:
  //-----------------------------------------------------------------------------
  virtual void OpSimulationPostHook() = 0;

  //-----------------------------------------------------------------------------
  //! Called by framework in simulation after all simulation runs end to transfer
  //! the observation module results to the opSimulationManager.
  //!
  //! @return                      File to be transferred
  //-----------------------------------------------------------------------------
  virtual const std::string OpSimulationResultFile() = 0;

protected:
  //-----------------------------------------------------------------------------
  //! Retrieves the stochastics functionality
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ public:
  virtual bool FinalizeRun(const RunResult& result) = 0;

  //-----------------------------------------------------------------------------
  //! Finalizes the observation network by calling the OpSimulationManagerPostHook
  //! Finalizes the observation network by calling the SimulationPostHook
  //! pointer of the observation library with each observation module instance
  //! (and its ID) in each network simulation.
  //!
+1 −1
Original line number Diff line number Diff line
################################################################################
# Copyright (c) 2020 HLRS, University of Stuttgart
#               2020 in-tech GmbH
#               2024 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
@@ -14,5 +15,4 @@ set(FOLDER "core")
include_directories(${CMAKE_CURRENT_LIST_DIR})

add_subdirectory(common)
add_subdirectory(opsimulationmanager)
add_subdirectory(opSimulation)
Loading