Libbarrett  1.2.4
tests/systems/abstract/controller_impl.h
00001 /*
00002  * controller_impl.h
00003  *
00004  *  Created on: Oct 20, 2009
00005  *      Author: dc
00006  */
00007 
00008 #ifndef CONTROLLER_IMPL_H_
00009 #define CONTROLLER_IMPL_H_
00010 
00011 
00012 #include <barrett/detail/ca_macro.h>
00013 #include <barrett/systems/abstract/controller.h>
00014 
00015 
00016 template<typename InputType, typename OutputType = InputType>
00017 class ControllerImpl :
00018                 public barrett::systems::Controller<InputType, OutputType> {
00019 public:
00020         ControllerImpl(const std::string& sysName = "ControllerImpl")
00021                 : barrett::systems::Controller<InputType, OutputType>(sysName) {}
00022         virtual ~ControllerImpl() { this->mandatoryCleanUp(); }
00023 
00024 protected:
00025         virtual void operate() {}
00026 
00027 private:
00028         DISALLOW_COPY_AND_ASSIGN(ControllerImpl);
00029 };
00030 
00031 
00032 #endif /* CONTROLLER_IMPL_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines