phins_ixsea
IODriver.hpp
Go to the documentation of this file.
1 /*
2  * IODriver.h
3  *
4  * Created on: 15.02.2013
5  * Author: jrenken
6  */
7 
8 #ifndef _PHINS_IXSEA__IODRIVER_H_
9 #define _PHINS_IXSEA_IODRIVER_H_
10 
11 #include <iodrivers_base/Driver.hpp>
12 
13 
14 namespace phins_ixsea
15 {
16 
17  /* basic IO driver for sending and reading uninterpreted external sensor rawdata
18  *
19  */
20  class IODriver : public iodrivers_base::Driver
21  {
22  public:
23  IODriver(int max_packet_size = 2048, bool extract_last = false);
24  private:
25  int extractPacket (uint8_t const *buffer, size_t buffer_size) const;
26  };
27 
28 } /* namespace phins_ixsea */
29 #endif /* _PHINS_IXSEA_IODRIVER_H_ */
Definition: IODriver.hpp:20
IODriver(int max_packet_size=2048, bool extract_last=false)
Definition: IODriver.cpp:13
Definition: Driver.hpp:18