|
Embedded Artistry Framework
Embedded Systems C++ Framework
|
Components to control the system/program boot process. More...
|
Classes | |
| class | embvm::BootSequencer< TBootStrategy > |
| Boot sequencer with customizable boot strategy. More... | |
Functions | |
| void | entry () |
| Prototype for our function entry point; can also be an asm symbol. More... | |
| void | CRTStartup () |
| We declare this function here because we don't want to include crt.h and Add a dependency on our libc for the test code. More... | |
| template<class TPlatform > | |
| void | main_thread_func () noexcept |
| void | bootSystem () |
| Each platform declares this to control the boot sequence. More... | |
| template<class TPlatform > | |
| void | DefaultBootStrategy () noexcept |
| Default Framework Boot Strategy. More... | |
| template<class TPlatform > | |
| void | BootOSWithMainThreadStrategy () noexcept |
| Continue Setup in Main Thread Framework Boot Strategy. More... | |
| template<class TPlatform > | |
| void | OSXSimulatorBootStrategy () noexcept |
| OSX Simulator Boot Strategy. More... | |
Components to control the system/program boot process.
| class embvm::BootSequencer |
Boot sequencer with customizable boot strategy.
The boot sequencer is a static class which handles booting logic supplied by a strategy function. You do not need to declare an instance. Instead, define a PlatformBootSequencer in your platform's platform.hpp file:
The framework will take care of the rest.
| TBootStrategy | The function which describes the platform's boot sequence. See DefaultBootStrategy() for an example. |
Public Member Functions | |
| BootSequencer ()=delete | |
| Deleted Default Constructor. More... | |
| ~BootSequencer ()=delete | |
| Deleted Default Destructor. More... | |
| BootSequencer (const BootSequencer &)=delete | |
| Deleted copy constructor. More... | |
| const BootSequencer & | operator= (const BootSequencer &)=delete |
| Deleted copy assignment operator. More... | |
| BootSequencer (BootSequencer &&)=delete | |
| Deleted move constructor. More... | |
| BootSequencer & | operator= (BootSequencer &&)=delete |
| Deleted move assignment operator. More... | |
Static Public Member Functions | |
| static void | boot () noexcept |
| Execute the boot strategy to boot the system. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| void | bootSystem () |
| Each platform declares this to control the boot sequence. More... | |
| template<class TPlatform > | |
| void | DefaultBootStrategy () noexcept |
| Default Framework Boot Strategy. More... | |
| template<class TPlatform > | |
| void | BootOSWithMainThreadStrategy () noexcept |
| Continue Setup in Main Thread Framework Boot Strategy. More... | |
| template<class TPlatform > | |
| void | OSXSimulatorBootStrategy () noexcept |
| OSX Simulator Boot Strategy. More... | |
|
delete |
Deleted Default Constructor.
|
delete |
Deleted Default Destructor.
|
delete |
Deleted copy constructor.
|
delete |
Deleted move constructor.
|
inlinestaticnoexcept |
Execute the boot strategy to boot the system.
Referenced by bootSystem().
|
delete |
Deleted copy assignment operator.
|
delete |
Deleted move assignment operator.
|
related |
Continue Setup in Main Thread Framework Boot Strategy.
References CRTStartup().
|
related |
Each platform declares this to control the boot sequence.
Referenced by __attribute__(), and entry().
| void CRTStartup | ( | ) |
We declare this function here because we don't want to include crt.h and Add a dependency on our libc for the test code.
Referenced by embvm::BootSequencer< TBootStrategy >::BootOSWithMainThreadStrategy(), and embvm::BootSequencer< TBootStrategy >::DefaultBootStrategy().

|
related |
Default Framework Boot Strategy.
References CRTStartup(), and main().
| void entry | ( | ) |
Prototype for our function entry point; can also be an asm symbol.
References embvm::BootSequencer< TBootStrategy >::bootSystem().
Referenced by embvm::TimerManager< 0, std::mutex >::clearExpiredTimers(), and list_del().

|
noexcept |
References main().
Referenced by nRF52DK_FrameworkDemoPlatform::initOS_().
|
related |
OSX Simulator Boot Strategy.
Boots framework pieces, but lets OSX take care of CRT & OS initialization during the dynamic loading process.
References main().
1.8.15