F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
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
~BlockDriverImpl
();
16
// a little hack to get the reference running
17
void
callIsr
();
18
19
private
:
20
21
// downcalls for input ports
22
void
InterruptReport_internalInterfaceHandler(U32 ip);
23
void
BufferIn_handler(
NATIVE_INT_TYPE
portNum,
Drv::DataBuffer
& buffer);
24
void
Sched_handler(
NATIVE_INT_TYPE
portNum, U32 context);
27
void
PingIn_handler(
28
const
NATIVE_INT_TYPE
portNum,
29
U32 key
30
);
31
32
// static ISR callback
33
static
void
s_driverISR(
void
* arg);
34
35
// cycle count
36
U32 m_cycles;
37
38
};
39
}
40
41
#endif
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition:
BasicTypes.h:55
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:36
Drv::BlockDriverImpl::~BlockDriverImpl
~BlockDriverImpl()
Definition:
BlockDriverImpl.cpp:13
Drv::BlockDriverImpl::BlockDriverImpl
BlockDriverImpl(const char *compName)
Definition:
BlockDriverImpl.cpp:7
Drv::DataBuffer
Definition:
DataBuffer.hpp:9
Drv
Definition:
BlockDriverComponentAc.cpp:14
Drv
BlockDriver
BlockDriverImpl.hpp
Generated by
1.9.1