Skeleton of application, at least compiles
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef MODBUS_SERVICE_WORKER_H
|
||||
#define MODBUS_SERVICE_WORKER_H
|
||||
|
||||
#include "Thread.h"
|
||||
#include "SynchronousSocket.h"
|
||||
#include "liblog.h"
|
||||
|
||||
using namespace ftc;
|
||||
|
||||
class ModbusServiceWorker : public Thread
|
||||
{
|
||||
int socket;
|
||||
SynchronousSocket s;
|
||||
LogFile *log;
|
||||
|
||||
int GetInt(const std::string &s);
|
||||
protected:
|
||||
virtual void Run();
|
||||
public:
|
||||
ModbusServiceWorker(int socket, LogFile *log);
|
||||
virtual ~ModbusServiceWorker();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user