From 7611fe7c8d6b37126007ab8ac1acc48db579f7f7 Mon Sep 17 00:00:00 2001 From: Satoshi Ikari Date: Sat, 5 Oct 2024 11:54:08 +0900 Subject: [PATCH] Fix format --- src/simulation/spacecraft/user_components.cpp | 7 ++++--- src/simulation/spacecraft/user_satellite.hpp | 15 +++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/simulation/spacecraft/user_components.cpp b/src/simulation/spacecraft/user_components.cpp index 04793d5..8ce6b24 100644 --- a/src/simulation/spacecraft/user_components.cpp +++ b/src/simulation/spacecraft/user_components.cpp @@ -9,9 +9,10 @@ #include UserComponents::UserComponents(const s2e::dynamics::Dynamics *dynamics, s2e::spacecraft::Structure *structure, - const s2e::environment::LocalEnvironment *local_environment, const s2e::environment::GlobalEnvironment *global_environment, - const s2e::simulation::SimulationConfiguration *configuration, s2e::environment::ClockGenerator *clock_generator, - const unsigned int spacecraft_id) + const s2e::environment::LocalEnvironment *local_environment, + const s2e::environment::GlobalEnvironment *global_environment, + const s2e::simulation::SimulationConfiguration *configuration, s2e::environment::ClockGenerator *clock_generator, + const unsigned int spacecraft_id) : configuration_(configuration), dynamics_(dynamics), structure_(structure), diff --git a/src/simulation/spacecraft/user_satellite.hpp b/src/simulation/spacecraft/user_satellite.hpp index e8b396c..9215a40 100644 --- a/src/simulation/spacecraft/user_satellite.hpp +++ b/src/simulation/spacecraft/user_satellite.hpp @@ -7,24 +7,23 @@ #define S2E_SIMULATION_SPACECRAFT_USER_SATELLITE_HPP_ #include + #include "user_components.hpp" /** * @class UserSatellite * @brief An example of user side spacecraft class */ -class UserSatellite : public s2e::spacecraft::Spacecraft -{ -public: +class UserSatellite : public s2e::spacecraft::Spacecraft { + public: /** * @fn UserSatellite * @brief Constructor */ - UserSatellite(const s2e::simulation::SimulationConfiguration *simulation_configuration, const s2e::environment::GlobalEnvironment *global_environment, - const unsigned int spacecraft_id); + UserSatellite(const s2e::simulation::SimulationConfiguration *simulation_configuration, + const s2e::environment::GlobalEnvironment *global_environment, const unsigned int spacecraft_id); -private: + private: }; -#endif // S2E_SIMULATION_SPACECRAFT_USER_SATELLITE_HPP_ - +#endif // S2E_SIMULATION_SPACECRAFT_USER_SATELLITE_HPP_