34 lines
558 B
C++
34 lines
558 B
C++
/*
|
|
* DeviceFactory.h
|
|
*
|
|
* Created on: 12.06.2014
|
|
* Author: matzman
|
|
*/
|
|
|
|
#ifndef TFDEVICEFACTORY_H_
|
|
#define TFDEVICEFACTORY_H_
|
|
|
|
#include <cstdint>
|
|
|
|
namespace tfcppsimple {
|
|
|
|
class TfDevice;
|
|
class TfConnection;
|
|
|
|
class TfDeviceFactory {
|
|
public:
|
|
static TfDevice* createNewDevice(
|
|
TfConnection& conn,
|
|
const char *uid,
|
|
const char *connected_uid,
|
|
char position,
|
|
uint8_t hardware_version[3],
|
|
uint8_t firmware_version[3],
|
|
uint16_t device_identifier,
|
|
TfDevice* parent);
|
|
};
|
|
|
|
} /* namespace tfcppsimple */
|
|
|
|
#endif /* DEVICEFACTORY_H_ */
|