00001 /********************************************************************* 00002 * Software License Agreement (CC BY-NC-SA 4.0 License) 00003 * 00004 * Copyright (c) 2014, PAL Robotics, S.L. 00005 * All rights reserved. 00006 * 00007 * This work is licensed under the Creative Commons 00008 * Attribution-NonCommercial-ShareAlike 4.0 International License. 00009 * 00010 * To view a copy of this license, visit 00011 * http://creativecommons.org/licenses/by-nc-sa/4.0/ 00012 * or send a letter to 00013 * Creative Commons, 444 Castro Street, Suite 900, 00014 * Mountain View, California, 94041, USA. 00015 *********************************************************************/ 00016 00017 /* 00018 * @author Enrique Fernandez 00019 */ 00020 00021 #ifndef TWIST_MUX_DIAGNOSTICS_STATUS_H 00022 #define TWIST_MUX_DIAGNOSTICS_STATUS_H 00023 00024 #include <twist_mux/twist_mux.h> 00025 #include <twist_mux/topic_handle.h> 00026 00027 #include <ros/time.h> 00028 00029 namespace twist_mux 00030 { 00031 00032 struct TwistMuxDiagnosticsStatus 00033 { 00034 typedef boost::shared_ptr<TwistMuxDiagnosticsStatus> Ptr; 00035 typedef boost::shared_ptr<const TwistMuxDiagnosticsStatus> ConstPtr; 00036 00037 LockTopicHandle::priority_type priority; 00038 00039 boost::shared_ptr<TwistMux::velocity_topic_container> velocity_hs; 00040 boost::shared_ptr<TwistMux::lock_topic_container> lock_hs; 00041 00042 TwistMuxDiagnosticsStatus() 00043 : priority(0) 00044 { 00045 } 00046 }; 00047 00048 typedef TwistMuxDiagnosticsStatus::Ptr TwistMuxDiagnosticsStatusPtr; 00049 typedef TwistMuxDiagnosticsStatus::ConstPtr TwistMuxDiagnosticsStatusConstPtr; 00050 00051 } // namespace twist_mux 00052 00053 #endif // TWIST_MUX_DIAGNOSTICS_STATUS_H