zyonz_tof_color_driver.cpp
Go to the documentation of this file.
00001 #include "zyonz_tof_color_driver.h"
00002 
00003 ZyonzTofColorDriver::ZyonzTofColorDriver()
00004 {
00005   //setDriverId(driver string id);
00006 }
00007 
00008 bool ZyonzTofColorDriver::openDriver(void)
00009 {
00010   //setDriverId(driver string id);
00011 
00012   return true;
00013 }
00014 
00015 bool ZyonzTofColorDriver::closeDriver(void)
00016 {
00017   return true;
00018 }
00019 
00020 bool ZyonzTofColorDriver::startDriver(void)
00021 {
00022   return true;
00023 }
00024 
00025 bool ZyonzTofColorDriver::stopDriver(void)
00026 {
00027   return true;
00028 }
00029 
00030 void ZyonzTofColorDriver::config_update(const Config& new_cfg, uint32_t level)
00031 {
00032   this->lock();
00033   
00034   // depending on current state
00035   // update driver with new_cfg data
00036   switch(this->getState())
00037   {
00038     case ZyonzTofColorDriver::CLOSED:
00039       break;
00040 
00041     case ZyonzTofColorDriver::OPENED:
00042       break;
00043 
00044     case ZyonzTofColorDriver::RUNNING:
00045       break;
00046   }
00047 
00048   // save the current configuration
00049   this->config_=new_cfg;
00050 
00051   this->unlock();
00052 }
00053 
00054 ZyonzTofColorDriver::~ZyonzTofColorDriver()
00055 {
00056 }


zyonz_tof_color
Author(s): Guillem AlenyĆ  - IRI Robotics Lab
autogenerated on Fri Dec 6 2013 21:08:56