Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (25 sloc) 852 Bytes
#ifndef TTMan_h
#define TTMan_h
* This file is the double threaded (TT) version of man,
* which runs a thread for both the enactor and the image transcriber
#include "Man.h"
#include "ThreadedMotionEnactor.h"
#include "ThreadedImageTranscriber.h"
class TTMan : public Man {
TTMan(boost::shared_ptr<Sensors> _sensors,
boost::shared_ptr<Transcriber> _transcriber,
boost::shared_ptr<ThreadedImageTranscriber> _imageTranscriber,
boost::shared_ptr<ThreadedMotionEnactor> _enactor,
boost::shared_ptr<Synchro> synchro,
boost::shared_ptr<Lights> _lights);
void startSubThreads();
void stopSubThreads();
boost::shared_ptr<ThreadedImageTranscriber> threadedImageTranscriber;
boost::shared_ptr<ThreadedMotionEnactor> threadedEnactor;