F´ Flight Software - C/C++ Documentation  NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RateGroupDriverImpl.hpp
Go to the documentation of this file.
1 
18 #ifndef SVC_RATEGROUPDRIVER_IMPL_HPP
19 #define SVC_RATEGROUPDRIVER_IMPL_HPP
20 
21 #include <Svc/RateGroupDriver/RateGroupDriverComponentAc.hpp>
22 #include <Fw/Types/BasicTypes.hpp>
23 
24 namespace Svc {
25 
32 
33  class RateGroupDriverImpl : public RateGroupDriverComponentBase {
34 
35  public:
36 
47  RateGroupDriverImpl(const char* compName, NATIVE_INT_TYPE dividers[], NATIVE_INT_TYPE numDividers);
48 
52 
53  void init(void);
54 
56 
58 
59  PRIVATE:
60 
63  void CycleIn_handler(NATIVE_INT_TYPE portNum, Svc::TimerVal& cycleStart);
64 
66  NATIVE_INT_TYPE m_dividers[NUM_CYCLEOUT_OUTPUT_PORTS];
67 
69  NATIVE_INT_TYPE m_ticks;
71  NATIVE_INT_TYPE m_rollover;
72  public:
74  static const NATIVE_UINT_TYPE DIVIDER_SIZE = NUM_CYCLEOUT_OUTPUT_PORTS;
75  };
76 
77 }
78 
79 #endif
Svc::RateGroupDriverImpl::init
void init(void)
RateGroupDriverImpl initialization function.
Definition: RateGroupDriverImpl.cpp:40
Svc::TimerVal
Serializable class for carrying timer values.
Definition: TimerVal.hpp:22
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition: BasicTypes.hpp:30
Svc::RateGroupDriverImpl::~RateGroupDriverImpl
~RateGroupDriverImpl(void)
RateGroupDriverImpl destructor.
Definition: RateGroupDriverImpl.cpp:36
Svc
Definition: ActiveRateGroupImplCfg.hpp:18
Svc::RateGroupDriverImpl::RateGroupDriverImpl
RateGroupDriverImpl(const char *compName, NATIVE_INT_TYPE dividers[], NATIVE_INT_TYPE numDividers)
RateGroupDriverImpl constructor.
Definition: RateGroupDriverImpl.cpp:9
Svc::RateGroupDriverImpl
Implementation class for RateGroupDriver.
Definition: RateGroupDriverImpl.hpp:33
Svc::RateGroupDriverImpl::DIVIDER_SIZE
static const NATIVE_UINT_TYPE DIVIDER_SIZE
Size of the divider table, provided as a constants to users passing the table in.
Definition: RateGroupDriverImpl.hpp:74
BasicTypes.hpp
Declares ISF basic types.
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition: BasicTypes.hpp:29