1 #ifndef LLWORKERBOARD1THREAD_H
2 #define LLWORKERBOARD1THREAD_H
4 #include <carma/util/PthreadMutex.h>
7 #include <carma/linelength/ComediDevice.h>
9 #include <boost/shared_ptr.hpp>
14 namespace linelength {
21 ComediSamplePtr rawData;
24 std::vector<double> antagc;
25 std::vector<double> antopt;
28 std::vector<double> refagc;
29 std::vector<double> refpower;
32 typedef boost::shared_ptr<struct LLBoard1Data> LLBoard1DataPtr;
34 class LLWorkerBoard1Thread
37 LLWorkerBoard1Thread(
const std::string &device);
38 ~LLWorkerBoard1Thread();
41 static void thread(LLWorkerBoard1Thread &This) { This.run(); };
45 LLBoard1DataPtr getNewestData()
const;
49 const std::string device_;
53 LLBoard1DataPtr buffer_;
59 #endif // LLWORKERBOARD1THREAD_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.