#ifndef CLUSTER_DEPTH_UPDATER_HH
# define CLUSTER_DEPTH_UPDATER_HH

# include "../Updater.hh"

# include "DepthSensorIF.h"

# define DepthType "Depth"

struct DepthOutput {
  double depth;
  double temp;
  double pressure;
}; // DepthOutput

class DepthUpdater
  :public AbstractUpdater<DepthSensorIF, DepthOutput> {
public:
  DepthUpdater() {}
  ~DepthUpdater() {}

private:
  bool isDataReady(data_type const &d) const {
    return true;
  }

  bool update(device_type &dev, data_type &data);
  void initDB(ValDB &db, data_type const &data);

}; // DepthUpdater

#endif // CLUSTER_DEPTH_UPDATER_HH
