F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
DefaultRawTime.cpp
Go to the documentation of this file.
1// ======================================================================
2// \title Os/Stub/DefaultRawTime.cpp
3// \brief sets default Os::RawTime to no-op stub implementation via linker
4// ======================================================================
5#include "Os/Stub/RawTime.hpp"
6#include "Os/Delegate.hpp"
7
8namespace Os {
9
14RawTimeInterface *RawTimeInterface::getDelegate(RawTimeHandleStorage& aligned_placement_new_memory, const RawTimeInterface* to_copy) {
15 return Os::Delegate::makeDelegate<RawTimeInterface, Os::Stub::RawTime::StubRawTime, RawTimeHandleStorage>(
16 aligned_placement_new_memory, to_copy
17 );
18}
19
20} // namespace Os
U8 RawTimeHandleStorage[FW_RAW_TIME_HANDLE_MAX_SIZE]
Definition Os.hpp:20
static RawTimeInterface * getDelegate(RawTimeHandleStorage &aligned_new_memory, const RawTimeInterface *to_copy=nullptr)
provide a pointer to a RawTime delegate object