Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
IOChannelThread.h
Go to the documentation of this file.
1 /*
2  * IOChannelThread.h
3  *
4  * Created on: Apr 16, 2014
5  * Author: mitycam
6  */
7 
8 #ifndef IOCHANNELTHREAD_H_
9 #define IOCHANNELTHREAD_H_
10 
11 #include "Utility/Thread.h"
12 #include "Utility/Types.h"
13 class tcIOChannel;
14 
16 {
17 public:
18  tcIOChannelThread(tcIOChannel *apChannel);
19  virtual ~tcIOChannelThread();
20 
24  void flush();
25 
29  virtual void stop();
30 
34  virtual void* run();
35 
36  void setEnabled(bool abEnable);
37 
41  void setLimitEnable(bool abEnable, uint64 anNum);
42 
43 private:
44  tcIOChannel* mpChannel;
45  bool mbEnabled;
46 
47  bool mbLimit;
48  uint64 mnLimitNumber;
49 
50  bool mbFlush;
51 };
52 
53 #endif /* IOCHANNELTHREAD_H_ */
uint64
uint64_t uint64
Definition: Types.h:13
Types.h
tcIOChannelThread::stop
virtual void stop()
Definition: IOChannelThread.cpp:33
tcIOChannelThread::setLimitEnable
void setLimitEnable(bool abEnable, uint64 anNum)
Definition: IOChannelThread.cpp:126
tcIOChannel
Camera Output IO channel management class.
Definition: IOChannel.h:34
tcThread
Definition: Thread.h:6
Thread.h
tcIOChannelThread
Definition: IOChannelThread.h:15
tcIOChannelThread::setEnabled
void setEnabled(bool abEnable)
Definition: IOChannelThread.cpp:121
tcIOChannelThread::flush
void flush()
Definition: IOChannelThread.cpp:116
tcIOChannelThread::~tcIOChannelThread
virtual ~tcIOChannelThread()
Definition: IOChannelThread.cpp:28
tcIOChannelThread::tcIOChannelThread
tcIOChannelThread(tcIOChannel *apChannel)
Definition: IOChannelThread.cpp:19
tcIOChannelThread::run
virtual void * run()
Definition: IOChannelThread.cpp:41