00001 /* 00002 * Copyright 2012, 2013 Instituto de Sistemas e Robotica, Instituto Superior Tecnico 00003 * 00004 * This file is part of SocRob Multicast. 00005 * 00006 * SocRob Multicast is free software: you can redistribute it and/or modify 00007 * it under the terms of the GNU Lesser General Public License as published by 00008 * the Free Software Foundation, either version 3 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * SocRob Multicast is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public License 00017 * along with SocRob Multicast. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 #ifndef _SOCROB_MULTICAST_COMPRESSOR_H_ 00021 #define _SOCROB_MULTICAST_COMPRESSOR_H_ 00022 00023 #include <cstddef> 00024 #include <stdint.h> 00025 00026 #include <vector> 00027 00028 00029 00030 namespace socrob 00031 { 00032 namespace multicast 00033 { 00041 class Compressor 00042 { 00043 public: 00050 virtual void compress (std::vector<uint8_t> & vec) {} 00051 00058 virtual void decompress (std::vector<uint8_t> & vec) {} 00059 }; 00060 } 00061 } 00062 00063 #endif