F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
c
f
h
i
l
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
c
t
u
w
Enumerations
b
c
d
e
f
g
h
i
m
o
p
q
s
t
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Functions
a
b
c
f
g
h
l
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Functions
f
i
m
s
u
Variables
_
c
f
i
l
p
t
Typedefs
Enumerations
Enumerator
a
c
d
f
i
m
p
r
s
t
w
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
LinuxTimerComponentAc.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title LinuxTimerComponentAc.hpp
3
// \author Auto-generated
4
// \brief hpp file for LinuxTimer component base class
5
//
6
// \copyright
7
// Copyright 2009-2015, by the California Institute of Technology.
8
// ALL RIGHTS RESERVED. United States Government Sponsorship
9
// acknowledged.
10
//
11
// ======================================================================
12
13
#ifndef LINUXTIMER_COMP_HPP_
14
#define LINUXTIMER_COMP_HPP_
15
16
#include <
FpConfig.hpp
>
17
#include <
Fw/Port/InputSerializePort.hpp
>
18
#include <
Fw/Port/OutputSerializePort.hpp
>
19
#include <
Fw/Comp/ActiveComponentBase.hpp
>
20
#include <
Svc/Cycle/TimerVal.hpp
>
21
#include <
Svc/Cycle/CyclePortAc.hpp
>
22
23
namespace
Svc
{
24
28
class
LinuxTimerComponentBase
:
29
public
Fw::PassiveComponentBase
30
{
31
32
// ----------------------------------------------------------------------
33
// Friend classes
34
// ----------------------------------------------------------------------
35
38
friend
class
LinuxTimerComponentBaseFriend
;
39
40
public
:
41
42
// ----------------------------------------------------------------------
43
// Connect typed input ports to typed output ports
44
// ----------------------------------------------------------------------
45
48
void
set_CycleOut_OutputPort
(
49
NATIVE_INT_TYPE
portNum,
50
Svc::InputCyclePort
*port
51
);
52
53
#if FW_PORT_SERIALIZATION
54
55
public
:
56
57
// ----------------------------------------------------------------------
58
// Connect serialization input ports to typed output ports
59
// ----------------------------------------------------------------------
60
63
void
set_CycleOut_OutputPort
(
64
NATIVE_INT_TYPE
portNum,
65
Fw::InputSerializePort *port
66
);
67
68
#endif
69
70
PROTECTED
:
71
72
// ----------------------------------------------------------------------
73
// Component construction, initialization, and destruction
74
// ----------------------------------------------------------------------
75
76
#if FW_OBJECT_NAMES == 1
77
LinuxTimerComponentBase
(
80
const
char
* compName
81
);
82
#else
83
LinuxTimerComponentBase
(
void
);
86
#endif
87
90
void
init
(
91
NATIVE_INT_TYPE
instance = 0
92
);
93
96
virtual
~LinuxTimerComponentBase
(
void
);
97
98
PROTECTED
:
99
100
// ----------------------------------------------------------------------
101
// Invocation functions for typed output ports
102
// ----------------------------------------------------------------------
103
106
void
CycleOut_out(
107
NATIVE_INT_TYPE
portNum,
108
Svc::TimerVal
&
cycleStart
109
);
110
111
PROTECTED
:
112
113
// ----------------------------------------------------------------------
114
// Getters for numbers of output ports
115
// ----------------------------------------------------------------------
116
121
NATIVE_INT_TYPE
getNum_CycleOut_OutputPorts(
void
);
122
123
124
enum
{
125
NUM_CYCLEOUT_OUTPUT_PORTS
= 1,
126
};
127
128
PROTECTED
:
129
130
// ----------------------------------------------------------------------
131
// Connection status queries for output ports
132
// ----------------------------------------------------------------------
133
138
bool
isConnected_CycleOut_OutputPort(
139
NATIVE_INT_TYPE
portNum
140
);
141
142
PROTECTED
:
143
144
// ----------------------------------------------------------------------
145
// Event logging functions
146
// ----------------------------------------------------------------------
147
148
PRIVATE
:
149
150
// ----------------------------------------------------------------------
151
// Typed output ports
152
// ----------------------------------------------------------------------
153
156
Svc::OutputCyclePort
m_CycleOut_OutputPort[
NUM_CYCLEOUT_OUTPUT_PORTS
];
157
158
159
160
};
161
162
}
// end namespace Svc
163
#endif
PRIVATE
#define PRIVATE
overridable private for unit testing
Definition:
BasicTypes.hpp:118
Svc::LinuxTimerComponentBase::~LinuxTimerComponentBase
virtual ~LinuxTimerComponentBase(void)
Definition:
LinuxTimerComponentAc.cpp:108
PROTECTED
#define PROTECTED
overridable protected for unit testing
Definition:
BasicTypes.hpp:114
TimerVal.hpp
InputSerializePort.hpp
Svc::InputCyclePort
Definition:
CyclePortAc.hpp:28
Fw::PassiveComponentBase
Definition:
PassiveComponentBase.hpp:10
Svc::TimerVal
Serializable class for carrying timer values.
Definition:
TimerVal.hpp:22
Fw::ObjBase::init
void init(void)
Object initializer.
Definition:
ObjBase.cpp:26
ActiveComponentBase.hpp
Svc::LinuxTimerComponentBase::NUM_CYCLEOUT_OUTPUT_PORTS
@ NUM_CYCLEOUT_OUTPUT_PORTS
Definition:
LinuxTimerComponentAc.hpp:125
Svc::LinuxTimerComponentBase::set_CycleOut_OutputPort
void set_CycleOut_OutputPort(NATIVE_INT_TYPE portNum, Svc::InputCyclePort *port)
Definition:
LinuxTimerComponentAc.cpp:29
Svc::LinuxTimerComponentBase::cycleStart
PROTECTED Svc::TimerVal & cycleStart
Definition:
LinuxTimerComponentAc.hpp:109
Svc::LinuxTimerComponentBase::LinuxTimerComponentBaseFriend
friend class LinuxTimerComponentBaseFriend
Definition:
LinuxTimerComponentAc.hpp:38
Svc::OutputCyclePort
Definition:
CyclePortAc.hpp:49
CyclePortAc.hpp
FpConfig.hpp
ISF configuration file.
Svc::LinuxTimerComponentBase
Auto-generated base for LinuxTimer component.
Definition:
LinuxTimerComponentAc.hpp:30
Svc
Definition:
ActiveLoggerComponentAc.cpp:22
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition:
BasicTypes.hpp:29
OutputSerializePort.hpp
build-fprime-automatic-native
F-Prime
Svc
LinuxTimer
LinuxTimerComponentAc.hpp
Generated by
1.8.19