forked from northern-bites/nao-man
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TMan.h
35 lines (23 loc) · 793 Bytes
/
TMan.h
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
31
32
33
34
35
#ifndef _TMan_h
#define _TMan_h
/**
* This class represents the single extra thread variant of the TMan/TTMan pair.
* It only manages one thread, which is the imageThread. See also TTMan
*/
#include "Man.h"
#include "ThreadedImageTranscriber.h"
class TMan : public Man {
public:
TMan(boost::shared_ptr<Sensors> _sensors,
boost::shared_ptr<Transcriber> _transcriber,
boost::shared_ptr<ThreadedImageTranscriber> _imageTranscriber,
boost::shared_ptr<MotionEnactor> _enactor,
boost::shared_ptr<Synchro> synchro,
boost::shared_ptr<Lights> _lights);
virtual ~TMan();
virtual void startSubThreads();
virtual void stopSubThreads();
private:
boost::shared_ptr<ThreadedImageTranscriber> threadedImageTranscriber;
};
#endif