demo/demo/src/engine.hpp Source File# Demo: demo/demo/src/engine.hpp Source File Demo demodemosrc engine.hpp 1// ===================================================================================== 2// C O P Y R I G H T 3// ------------------------------------------------------------------------------------- 4// Copyright (c) 2022 by Robert Bosch GmbH. All rights reserved. 5// 6// Author(s): 7// - Markus Braun, :em engineering methods AG (contracted by Robert Bosch GmbH) 8// ===================================================================================== 9#ifndef DEMO__ENGINE_INCLUDED 10#define DEMO__ENGINE_INCLUDED 11 12namespace doxysphinx { 13 14namespace rst { 15 24class Engine : public TopSecretPrototype<MaterialProps::HighDurablePlastics, PowerProps::Nm5000> 25{ 26 public: 30 Engine() {}; 31 33 void turn_on(); 34 35 37 void turn_off(); 38 40 float current_umin(); 41 42}; // Engine 43 44} // rst 45} // doxysphinx 46 47#endif doxysphinx::rst::EngineAn engine.Definition engine.hpp:25 doxysphinx::rst::Engine::turn_offvoid turn_off()turns the engine on doxysphinx::rst::Engine::EngineEngine()Creates a new instance of the Engine.Definition engine.hpp:30 doxysphinx::rst::Engine::current_uminfloat current_umin()gets the current u/min. doxysphinx::rst::Engine::turn_onvoid turn_on()turns the engine off doxysphinxThe namespace doxysphinx contains all demo code that we need for demonstration of doxysphinx.Definition block_rst.hpp:13 Generated by 1.9.8