F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RateGroupDriver.hpp
Go to the documentation of this file.
1
18#ifndef SVC_RATEGROUPDRIVER_HPP
19#define SVC_RATEGROUPDRIVER_HPP
20
22#include <FpConfig.hpp>
23
24namespace Svc {
25
32
34
35 public:
36
44 RateGroupDriver(const char* compName);
45
49
50 void init(NATIVE_INT_TYPE instanceId = 0);
51
55
56 void configure(NATIVE_INT_TYPE dividers[], NATIVE_INT_TYPE numDividers);
57
59
61
62 PRIVATE:
63
66 void CycleIn_handler(NATIVE_INT_TYPE portNum, Svc::TimerVal& cycleStart);
67
70
72 NATIVE_INT_TYPE m_numDividers;
73
75 NATIVE_INT_TYPE m_ticks;
77 NATIVE_INT_TYPE m_rollover;
78 public:
81 };
82
83}
84
85#endif
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:51
PlatformUIntType NATIVE_UINT_TYPE
Definition BasicTypes.h:52
C++-compatible configuration header for fprime configuration.
void init()
Object initializer.
Definition ObjBase.cpp:27
Auto-generated base for RateGroupDriver component.
Implementation class for RateGroupDriver.
void configure(NATIVE_INT_TYPE dividers[], NATIVE_INT_TYPE numDividers)
RateGroupDriver configuration function.
~RateGroupDriver()
RateGroupDriverImpl destructor.
RateGroupDriver(const char *compName)
RateGroupDriver constructor.
static const NATIVE_UINT_TYPE DIVIDER_SIZE
Size of the divider table, provided as a constants to users passing the table in.
Serializable class for carrying timer values.
Definition TimerVal.hpp:22