F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
RawTime.cpp
Go to the documentation of this file.
1// ======================================================================
2// \title Os/Stub/RawTime.cpp
3// \brief stub implementation for Os::RawTime
4// ======================================================================
5#include "Os/Stub/RawTime.hpp"
6
7namespace Os {
8namespace Stub {
9namespace RawTime {
10
12 return &this->m_handle;
13}
14
18
20 interval.set(0, 0);
21 return Status::OP_OK;
22}
23
27
31} // namespace RawTime
32} // namespace Stub
33} // namespace Os
void set(U32 seconds, U32 useconds)
@ OP_OK
Operation was successful.
Definition RawTime.hpp:28
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer) override
Deserialize the contents of the RawTimeInterface object from a buffer.
Definition RawTime.cpp:28
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const override
Serialize the contents of the RawTimeInterface object into a buffer.
Definition RawTime.cpp:24
Status now() override
Get the current time.
Definition RawTime.cpp:15
RawTimeHandle * getHandle() override
return the underlying RawTime handle (implementation specific)
Definition RawTime.cpp:11
Status getTimeInterval(const Os::RawTime &other, Fw::TimeInterval &interval) const override
Calculate the time interval between this and another raw time.
Definition RawTime.cpp:19
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.