F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
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
19
namespace
Svc
{
20
29
30
class
PassiveRateGroup
:
public
PassiveRateGroupComponentBase
{
31
public
:
38
explicit
PassiveRateGroup
(
const
char
* compName);
39
49
void
configure
(
NATIVE_INT_TYPE
contexts[],
NATIVE_INT_TYPE
numContexts);
50
54
~PassiveRateGroup
();
55
56
PRIVATE:
65
void
CycleIn_handler(
NATIVE_INT_TYPE
portNum,
Os::RawTime
& cycleStart);
66
67
U32 m_cycles;
68
U32 m_maxTime;
69
NATIVE_INT_TYPE
m_numContexts;
70
U32 m_contexts[
NUM_RATEGROUPMEMBEROUT_OUTPUT_PORTS
];
71
};
72
73
}
// namespace Svc
74
75
#endif
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition:
BasicTypes.h:55
PassiveRateGroupComponentAc.hpp
Os::RawTime
Definition:
RawTime.hpp:99
Svc::PassiveRateGroupComponentBase
Auto-generated base for PassiveRateGroup component.
Definition:
PassiveRateGroupComponentAc.hpp:28
Svc::PassiveRateGroupComponentBase::NUM_RATEGROUPMEMBEROUT_OUTPUT_PORTS
@ NUM_RATEGROUPMEMBEROUT_OUTPUT_PORTS
Definition:
PassiveRateGroupComponentAc.hpp:56
Svc::PassiveRateGroup
Definition:
PassiveRateGroup.hpp:30
Svc::PassiveRateGroup::~PassiveRateGroup
~PassiveRateGroup()
PassiveRateGroupImpl destructor.
Definition:
PassiveRateGroup.cpp:24
Svc::PassiveRateGroup::configure
void configure(NATIVE_INT_TYPE contexts[], NATIVE_INT_TYPE numContexts)
PassiveRateGroupImpl initialization function.
Definition:
PassiveRateGroup.cpp:26
Svc::PassiveRateGroup::PassiveRateGroup
PassiveRateGroup(const char *compName)
PassiveRateGroupImpl constructor.
Definition:
PassiveRateGroup.cpp:20
Svc
Definition:
ActiveRateGroupCfg.hpp:18
Svc
PassiveRateGroup
PassiveRateGroup.hpp
Generated by
1.9.1