sensorfw: OaktrailAccelAdaptor Class Reference

sensorfw

Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OaktrailAccelAdaptor Class Reference

`#include <oaktrailaccelerometeradaptor.h>`

Inheritance diagram for OaktrailAccelAdaptor:

## Public Member Functions
| OaktrailAccelAdaptor (const QString &id)
| ~OaktrailAccelAdaptor ()
bool | startSensor ()
void | stopSensor ()

## Static Public Member Functions
static DeviceAdaptor * | factoryMethod (const QString &id)

## Protected Member Functions
void | processSample (int pathId, int fd)

## Detailed Description

Definition at line 11 of file oaktrailaccelerometeradaptor.h.

## Constructor & Destructor Documentation

## ◆ OaktrailAccelAdaptor()

OaktrailAccelAdaptor::OaktrailAccelAdaptor | ( | const QString & | id | ) |

## ◆ ~OaktrailAccelAdaptor()

OaktrailAccelAdaptor::~OaktrailAccelAdaptor | ( |  | ) |

## Member Function Documentation

## ◆ factoryMethod()

static DeviceAdaptor * OaktrailAccelAdaptor::factoryMethod | ( | const QString & | id | ) |
| inlinestatic

Definition at line 15 of file oaktrailaccelerometeradaptor.h.

## ◆ processSample()

void OaktrailAccelAdaptor::processSample | ( | int | pathId,
|  | int | fd )
| protected

## ◆ startSensor()

bool OaktrailAccelAdaptor::startSensor | ( |  | ) |

## ◆ stopSensor()

void OaktrailAccelAdaptor::stopSensor | ( |  | ) |

The documentation for this class was generated from the following file:

- adaptors/oaktrailaccelerometer/oaktrailaccelerometeradaptor.h