Initial commit.

This commit is contained in:
matzman
2014-06-16 11:16:21 +02:00
commit 1768f7b41c
42 changed files with 2656 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
/*
* 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_ */