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 
15 #include <FpConfig.hpp>
16 
17 namespace Drv {
18 
19  // ----------------------------------------------------------------------
20  // Construction, initialization, and destruction
21  // ----------------------------------------------------------------------
22 
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 
36  init(
37  const NATIVE_INT_TYPE instance
38  )
39  {
41  }
42 
43 } // end namespace Drv
PlatformIntType NATIVE_INT_TYPE
Definition: BasicTypes.h:51
C++-compatible configuration header for fprime configuration.
Auto-generated base for LinuxGpioDriver component.
void init()
Object initializer.
Definition: ObjBase.cpp:27