1 #ifndef LLWORKERBOARD0THREAD_H
2 #define LLWORKERBOARD0THREAD_H
5 #include <carma/util/PthreadMutex.h>
8 #include <carma/linelength/ComediDevice.h>
10 #include <boost/shared_ptr.hpp>
16 namespace linelength {
22 ComediSamplePtr rawData;
29 std::vector< std::complex<double> > antComplex;
30 std::vector<double> antPhaseRMS;
33 std::vector< std::complex<double> > refComplex;
34 std::vector<double> refPhaseRMS;
37 std::vector<bool> refLockInfo;
40 typedef boost::shared_ptr<LLBoard0Data> LLBoard0DataPtr;
42 class LLWorkerBoard0Thread
45 LLWorkerBoard0Thread(
const std::string &device);
46 ~LLWorkerBoard0Thread();
49 static void thread(LLWorkerBoard0Thread &This) { This.run(); };
53 LLBoard0DataPtr getNewestData()
const;
56 const std::string device_;
60 LLBoard0DataPtr data_;
66 #endif // LLWORKERBOARD0THREAD_H
unsigned int frameType
Half second frames since Jan 1, 2000.
A simple wrapper class that makes use of ::pthread_mutex_t easier in a C++ world. ...
Various type definitions for util classes.