Initial commit.
This commit is contained in:
@@ -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_ */
|
||||
Reference in New Issue
Block a user