F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
PosixTime.hpp
Go to the documentation of this file.
1 /*
2  * PosixTime.hpp
3  *
4  * Created on: Mar 28, 2014
5  * Author: tcanham
6  */
7 
8 #ifndef POSIX_TIME_HPP_
9 #define POSIX_TIME_HPP_
10 
12 
13 namespace Svc {
14 
15 class PosixTime final : public PosixTimeComponentBase {
16  public:
17  explicit PosixTime(const char* compName);
18  virtual ~PosixTime();
19  void setTimeContext(FwTimeContextStoreType timeContext);
20 
21  protected:
22  void timeGetPort_handler(FwIndexType portNum,
23  Fw::Time& time
24  );
25 
26  private:
27  FwTimeContextStoreType m_timeContext;
28 };
29 
30 } // namespace Svc
31 
32 #endif /* POSIX_TIME_HPP_ */
void setTimeContext(FwTimeContextStoreType timeContext)
Definition: PosixTime.cpp:18
virtual ~PosixTime()
Definition: PosixTime.cpp:16
Auto-generated base for PosixTime component.
U8 FwTimeContextStoreType
The type used to serialize a time context value.
void timeGetPort_handler(FwIndexType portNum, Fw::Time &time)
Handler for input port timeGetPort.
Definition: PosixTime.cpp:22
PosixTime(const char *compName)
Definition: PosixTime.cpp:14
PlatformIndexType FwIndexType
RateGroupDivider component implementation.