EEROS
1.0.0.0
API for the EEROS Real-Time Robotics Framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
SysFsDigIn.hpp
Go to the documentation of this file.
1
#ifndef ORG_EEROS_HAL_SYSFSDIGIN_HPP_
2
#define ORG_EEROS_HAL_SYSFSDIGIN_HPP_
3
4
#include <
eeros/hal/Input.hpp
>
5
#include <fstream>
6
#include <string>
7
8
namespace
eeros
{
9
namespace
hal {
10
class
SysFsDigIn
:
public
Input
<bool> {
11
public
:
12
SysFsDigIn
(std::string
id
,
void
* libHandle,
unsigned
int
gpio,
bool
inverted =
false
);
13
~SysFsDigIn
();
14
virtual
bool
get
();
15
16
private
:
17
bool
inverted;
18
std::string basePath;
19
std::fstream valueFile;
20
};
21
22
};
23
};
24
25
#endif
/* ORG_EEROS_HAL_SYSFSDIGIN_HPP_ */
eeros::hal::SysFsDigIn::~SysFsDigIn
~SysFsDigIn()
Definition:
SysFsDigIn.cpp:33
eeros::hal::Input
Definition:
Input.hpp:17
eeros
Definition:
Config.hpp:14
eeros::hal::SysFsDigIn
Definition:
SysFsDigIn.hpp:10
eeros::hal::SysFsDigIn::SysFsDigIn
SysFsDigIn(std::string id, void *libHandle, unsigned int gpio, bool inverted=false)
Definition:
SysFsDigIn.cpp:6
Input.hpp
home
markus
github
eeros-project
eeros-framework
includes
eeros
hal
SysFsDigIn.hpp
Generated on Tue Feb 19 2019 10:49:30 for EEROS by
1.8.11