#include <Location.h>
string Location::buf2str |
( |
char * |
c | ) |
|
|
private |
convert char[] to string in dex
- Parameters
-
- Returns
- convert result
void Location::doLoop |
( |
| ) |
|
check if reach a new place, do all the time
void Location::initial |
( |
| ) |
|
|
private |
void Location::insertMap |
( |
| ) |
|
|
private |
clear and construct the m_map
bool Location::isWork |
( |
| ) |
|
void Location::searchMap |
( |
const string & |
s | ) |
|
|
private |
void Location::setBlocking |
( |
int |
fd, |
|
|
int |
should_block |
|
) |
| |
|
private |
setter function for port to NFC
- Parameters
-
fd | port open return value |
should_block | whether the post should be block |
- Returns
- error code
int Location::setInterfaceAttribs |
( |
int |
fd, |
|
|
int |
speed, |
|
|
int |
parity |
|
) |
| |
|
private |
setter function for port to NFC
- Parameters
-
fd | port open return value |
speed | communicate speed |
parity | if parity set 0 |
- Returns
- error code
map<string, point> Location::m_map |
|
private |
The documentation for this class was generated from the following files: