F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
u
v
w
Variables
b
c
f
g
k
l
m
o
p
r
s
t
u
w
z
Typedefs
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
f
h
i
k
n
o
p
s
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
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
e
f
i
m
r
s
t
w
Enumerations
b
c
d
f
g
h
m
o
q
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
:
a
b
c
d
f
g
h
l
p
q
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
f
g
i
m
p
r
s
t
u
Variables
_
b
c
f
g
i
l
p
r
s
w
Typedefs
a
b
c
e
f
i
n
p
s
t
u
Enumerations
Enumerator
a
b
c
f
g
h
p
r
s
t
Macros
_
a
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
►
F´ Flight Software - C/C++ Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
BlockDriverImpl.hpp
Go to the documentation of this file.
1
#ifndef DRV_BLOCK_DRIVER_IMPL_HPP
2
#define DRV_BLOCK_DRIVER_IMPL_HPP
3
4
#include <
Drv/BlockDriver/BlockDriverComponentAc.hpp
>
5
6
namespace
Drv
{
7
8
class
BlockDriverImpl
:
public
BlockDriverComponentBase
{
9
10
public
:
11
12
// Only called by derived class
13
BlockDriverImpl
(
const
char
* compName);
14
15
void
init
(
NATIVE_INT_TYPE
queueDepth,
NATIVE_INT_TYPE
instanceId = 0);
16
~BlockDriverImpl
();
17
// a little hack to get the reference running
18
void
callIsr
();
19
20
private
:
21
22
// downcalls for input ports
23
void
InterruptReport_internalInterfaceHandler(U32 ip);
24
void
BufferIn_handler(
NATIVE_INT_TYPE
portNum,
Drv::DataBuffer
& buffer);
25
void
Sched_handler(
NATIVE_INT_TYPE
portNum,
NATIVE_UINT_TYPE
context);
28
void
PingIn_handler(
29
const
NATIVE_INT_TYPE
portNum,
30
U32 key
31
);
32
33
// static ISR callback
34
static
void
s_driverISR(
void
* arg);
35
36
// cycle count
37
U32 m_cycles;
38
39
};
8
class
BlockDriverImpl
:
public
BlockDriverComponentBase
{
…
};
40
}
41
42
#endif
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition
BasicTypes.h:51
NATIVE_UINT_TYPE
PlatformUIntType NATIVE_UINT_TYPE
Definition
BasicTypes.h:52
BlockDriverComponentAc.hpp
Drv::BlockDriverComponentBase
Auto-generated base for BlockDriver component.
Definition
BlockDriverComponentAc.hpp:31
Drv::BlockDriverImpl
Definition
BlockDriverImpl.hpp:8
Drv::BlockDriverImpl::callIsr
void callIsr()
Definition
BlockDriverImpl.cpp:40
Drv::BlockDriverImpl::~BlockDriverImpl
~BlockDriverImpl()
Definition
BlockDriverImpl.cpp:17
Drv::BlockDriverImpl::BlockDriverImpl
BlockDriverImpl(const char *compName)
Definition
BlockDriverImpl.cpp:7
Drv::DataBuffer
Definition
DataBuffer.hpp:9
Fw::ObjBase::init
void init()
Object initializer.
Definition
ObjBase.cpp:27
Drv
Definition
BlockDriverComponentAc.cpp:15
Drv
BlockDriver
BlockDriverImpl.hpp
Generated by
1.10.0