summaryrefslogtreecommitdiff
path: root/src/eFilePumpThread.h
blob: 1e8136dd81dd46082b773db1e2549b2a5e076ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * eFilePumpThread.h
 *
 *  Created on: 2013. 9. 12.
 *      Author: kos
 */

#ifndef EFILEPUMPTHREAD_H_
#define EFILEPUMPTHREAD_H_

#include "uThread.h"
//-------------------------------------------------------------------------------

class eFilePumpThread : public uThread
{
private:
	bool mTermFlag;
	int mDeviceFd;
	std::string mFileName;
protected:
	void Run();
	void Terminate();

public:
	eFilePumpThread(int aDeviceFd, std::string aFileName);
	~eFilePumpThread();
};
//-------------------------------------------------------------------------------

#endif /* EFILEPUMPTHREAD_H_ */