discoverpixy
chirpreceiver.hpp
1 //
2 // begin license header
3 //
4 // This file is part of Pixy CMUcam5 or "Pixy" for short
5 //
6 // All Pixy source code is provided under the terms of the
7 // GNU General Public License v2 (http://www.gnu.org/licenses/gpl-2.0.html).
8 // Those wishing to use Pixy source code, software and/or
9 // technologies under different licensing terms should contact us at
10 // cmucam@cs.cmu.edu. Such licensing terms are available for
11 // all portions of the Pixy codebase presented here.
12 //
13 // end license header
14 //
15 
16 #ifndef __CHIRPRECEIVER_HPP__
17 #define __CHIRPRECEIVER_HPP__
18 
19 #include "chirp.hpp"
20 #include "usblink.h"
21 #include "interpreter.hpp"
22 
23 class ChirpReceiver : public Chirp
24 {
25  public:
26 
27  ChirpReceiver(USBLink * link, Interpreter * interpreter);
28  virtual ~ChirpReceiver();
29 
30  private:
31 
32  Interpreter * interpreter_;
33 
40  void handleXdata(const void * data[]);
41 };
42 
43 #endif
Definition: chirp.hpp:203
Definition: chirpreceiver.hpp:23
Definition: interpreter.hpp:19