F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
RawTimeUserInterface.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title Os/Interfaces/RawTimeUserInterface.hpp
3
// \brief types shared by Os::RawTime users and implementations
4
//
5
// Includes no other Os service header, so both Os/RawTime.hpp and the Os::RawTime implementations may include it.
6
// ======================================================================
7
#ifndef OS_INTERFACES_RAWTIMEUSERINTERFACE_HPP_
8
#define OS_INTERFACES_RAWTIMEUSERINTERFACE_HPP_
9
10
#include <
Fw/FPrimeBasicTypes.hpp
>
11
#include <
Fw/Time/TimeInterval.hpp
>
12
#include <
Fw/Types/Serializable.hpp
>
13
#include <
Os/Os.hpp
>
14
#include <limits>
15
#include "
config/RawTimeSource.hpp
"
16
17
namespace
Os
{
18
19
struct
RawTimeHandle
{};
20
22
struct
RawTimeUserInterface
{
23
// Serialization size for RawTime objects, configured in config/FpConfig.h
24
static
const
FwSizeType
SERIALIZED_SIZE
=
FW_RAW_TIME_SERIALIZATION_MAX_SIZE
;
25
26
enum
Status
{
27
OP_OK
,
28
OP_OVERFLOW
,
29
INVALID_PARAMS
,
30
NOT_SUPPORTED
,
31
OTHER_ERROR
32
};
33
};
34
35
}
// namespace Os
36
37
#endif // OS_INTERFACES_RAWTIMEUSERINTERFACE_HPP_
Os::RawTimeHandle
Definition:
RawTimeUserInterface.hpp:19
FwSizeType
PlatformSizeType FwSizeType
Definition:
FwSizeTypeAliasAc.h:15
FPrimeBasicTypes.hpp
RawTimeSource.hpp
FW_RAW_TIME_SERIALIZATION_MAX_SIZE
Definition:
FppConstantsAc.hpp:700
Os::RawTimeUserInterface::OP_OVERFLOW
Operation result caused an overflow.
Definition:
RawTimeUserInterface.hpp:28
Os
Definition:
LocklessQueueCfg.hpp:16
Os::RawTimeUserInterface::SERIALIZED_SIZE
static const FwSizeType SERIALIZED_SIZE
Definition:
RawTimeUserInterface.hpp:24
Os::RawTimeUserInterface::OP_OK
Operation was successful.
Definition:
RawTimeUserInterface.hpp:27
Os::RawTimeUserInterface::NOT_SUPPORTED
RawTime does not support operation.
Definition:
RawTimeUserInterface.hpp:30
Os::RawTimeUserInterface::OTHER_ERROR
All other errors.
Definition:
RawTimeUserInterface.hpp:31
Os.hpp
Os::RawTimeUserInterface::Status
Status
Definition:
RawTimeUserInterface.hpp:26
Os::RawTimeUserInterface
types shared by Os::RawTime users and implementations
Definition:
RawTimeUserInterface.hpp:22
Os::RawTimeUserInterface::INVALID_PARAMS
Parameters invalid for current platform.
Definition:
RawTimeUserInterface.hpp:29
TimeInterval.hpp
Serializable.hpp
Os
Interfaces
RawTimeUserInterface.hpp
Generated by
1.8.14