F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
LinuxGpioDriverComponentImplCommon.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title LinuxGpioDriverImpl.cpp
3
// \author tcanham
4
// \brief cpp file for LinuxGpioDriver component implementation 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
14
#include <
Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.hpp
>
15
#include <
FpConfig.hpp
>
16
17
namespace
Drv
{
18
19
// ----------------------------------------------------------------------
20
// Construction, initialization, and destruction
21
// ----------------------------------------------------------------------
22
23
LinuxGpioDriverComponentImpl ::
24
LinuxGpioDriverComponentImpl
(
25
const
char
*
const
compName
26
) :
LinuxGpioDriverComponentBase
(compName),
27
m_gpio(-1),
28
m_direction(GPIO_IN),
29
m_fd(-1),
30
m_quitThread(false)
31
{
32
33
}
34
35
void
LinuxGpioDriverComponentImpl ::
36
init
(
37
const
NATIVE_INT_TYPE
instance
38
)
39
{
40
LinuxGpioDriverComponentBase::init
(instance);
41
}
42
43
}
// end namespace Drv
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition:
BasicTypes.h:51
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
LinuxGpioDriverComponentImpl.hpp
Drv::LinuxGpioDriverComponentBase
Auto-generated base for LinuxGpioDriver component.
Definition:
LinuxGpioDriverComponentAc.hpp:30
Drv::LinuxGpioDriverComponentImpl::LinuxGpioDriverComponentImpl
LinuxGpioDriverComponentImpl(const char *const compName)
Definition:
LinuxGpioDriverComponentImplCommon.cpp:24
Fw::ObjBase::init
void init()
Object initializer.
Definition:
ObjBase.cpp:27
Drv
Definition:
BlockDriverComponentAc.cpp:15
Drv
LinuxGpioDriver
LinuxGpioDriverComponentImplCommon.cpp
Generated by
1.9.1