F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
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
14
RawTimeInterface
*
RawTimeInterface::getDelegate
(
RawTimeHandleStorage
& aligned_new_memory,
const
RawTimeInterface
* to_copy) {
15
return
Os::Delegate::makeDelegate<RawTimeInterface, Os::Posix::RawTime::PosixRawTime, RawTimeHandleStorage>(
16
aligned_new_memory, to_copy
17
);
18
}
19
20
}
// namespace Os
Delegate.hpp
RawTimeHandleStorage
U8 RawTimeHandleStorage[FW_RAW_TIME_HANDLE_MAX_SIZE]
Definition:
Os.hpp:20
RawTime.hpp
Os::RawTimeInterface
Definition:
RawTime.hpp:20
Os::RawTimeInterface::getDelegate
static RawTimeInterface * getDelegate(RawTimeHandleStorage &aligned_new_memory, const RawTimeInterface *to_copy=nullptr)
provide a pointer to a RawTime delegate object
Definition:
DefaultRawTime.cpp:14
Os
Definition:
DirectoryOpenModeEnumAc.cpp:13
Os
Posix
DefaultRawTime.cpp
Generated by
1.9.1