66#define OS_RAWTIME_HPP_
77
88#include < FpConfig.hpp>
9- #include < Fw/Types/Serializable.hpp>
109#include < Fw/Time/TimeInterval.hpp>
10+ #include < Fw/Types/Serializable.hpp>
1111#include < Os/Os.hpp>
1212
13-
1413namespace Os {
1514
1615struct RawTimeHandle {};
1716
18- class RawTime ; // Forward declaration
17+ class RawTime ; // Forward declaration
1918
2019class RawTimeInterface : public Fw ::Serializable {
21-
2220 public:
23-
2421 // Serialization size for RawTime objects, configured in config/FpConfig.h
2522 static const FwSizeType SERIALIZED_SIZE = FW_RAW_TIME_SERIALIZATION_MAX_SIZE;
2623
2724 enum Status {
28- OP_OK, // !< Operation was successful
29- OP_OVERFLOW, // !< Operation result caused an overflow
30- INVALID_PARAMS, // !< Parameters invalid for current platform
31- OTHER_ERROR // !< All other errors
25+ OP_OK, // !< Operation was successful
26+ OP_OVERFLOW, // !< Operation result caused an overflow
27+ INVALID_PARAMS, // !< Parameters invalid for current platform
28+ NOT_SUPPORTED, // !< RawTime does not support operation
29+ OTHER_ERROR // !< All other errors
3230 };
3331
3432 // ! \brief default constructor
@@ -42,7 +40,8 @@ class RawTimeInterface : public Fw::Serializable {
4240 virtual RawTimeHandle* getHandle () = 0;
4341
4442 // ! \brief provide a pointer to a RawTime delegate object
45- static RawTimeInterface* getDelegate (RawTimeHandleStorage& aligned_new_memory, const RawTimeInterface* to_copy=nullptr );
43+ static RawTimeInterface* getDelegate (RawTimeHandleStorage& aligned_new_memory,
44+ const RawTimeInterface* to_copy = nullptr );
4645
4746 // ------------------------------------------------------------------
4847 // RawTime operations to be implemented by an OSAL implementation
0 commit comments