F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DefaultRawTime.cpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title Os/Posix/DefaultRawTime.cpp
3 // \brief sets default Os::RawTime Posix implementation via linker
4 // ======================================================================
5 #include "Os/Posix/RawTime.hpp"
6 #include "Os/Delegate.hpp"
7 
8 namespace Os {
9 
15  return Os::Delegate::makeDelegate<RawTimeInterface, Os::Posix::RawTime::PosixRawTime, RawTimeHandleStorage>(
16  aligned_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