F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
PassiveRateGroup.hpp
Go to the documentation of this file.
1/*
2 * \author: Tim Canham
3 * \file:
4 * \brief
5 *
6 * This file implements the PassiveRateGroup component,
7 * which invokes a set of components the comprise the rate group.
8 *
9 * Copyright 2014-2015, by the California Institute of Technology.
10 * ALL RIGHTS RESERVED. United States Government Sponsorship
11 * acknowledged.
12 */
13
14#ifndef SVC_PASSIVERATEGROUP_IMPL_HPP
15#define SVC_PASSIVERATEGROUP_IMPL_HPP
16
17#include <Svc/PassiveRateGroup/PassiveRateGroupComponentAc.hpp>
18
19namespace Svc {
20
29
30class PassiveRateGroup : public PassiveRateGroupComponentBase {
31 public:
38 explicit PassiveRateGroup(const char* compName);
39
49 void configure(NATIVE_INT_TYPE contexts[], NATIVE_INT_TYPE numContexts);
50
55
56 PRIVATE:
65 void CycleIn_handler(NATIVE_INT_TYPE portNum, Svc::TimerVal& cycleStart);
66
67 U32 m_cycles;
68 U32 m_maxTime;
69 NATIVE_INT_TYPE m_numContexts;
70 NATIVE_INT_TYPE m_contexts[NUM_RATEGROUPMEMBEROUT_OUTPUT_PORTS];
71};
72
73} // namespace Svc
74
75#endif
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:51
~PassiveRateGroup()
PassiveRateGroupImpl destructor.
void configure(NATIVE_INT_TYPE contexts[], NATIVE_INT_TYPE numContexts)
PassiveRateGroupImpl initialization function.
Serializable class for carrying timer values.
Definition TimerVal.hpp:22