00001 /* 00002 * Unpublished Copyright (c) 2009-2018 AutonomouStuff, LLC, All Rights Reserved. 00003 * 00004 * This file is part of the PACMod ROS 1.0 driver which is released under the MIT license. 00005 * See file LICENSE included with this software or go to https://opensource.org/licenses/MIT for full license details. 00006 */ 00007 00008 #ifndef PUBLISH_CONTROL_FACTORY_H 00009 #define PUBLISH_CONTROL_FACTORY_H 00010 00011 #include "publish_control.h" 00012 #include "publish_control_board_rev2.h" 00013 #include "publish_control_board_rev3.h" 00014 00015 namespace AS 00016 { 00017 namespace Joystick 00018 { 00019 00020 class PublishControlFactory 00021 { 00022 public: 00023 PublishControlFactory(); 00024 static std::unique_ptr<PublishControl> create(int board_rev); 00025 }; 00026 00027 } 00028 } 00029 00030 #endif