|
UniSet
2.6.0
|
00001 /* 00002 * Copyright (c) 2015 Pavel Vainerman. 00003 * 00004 * This program is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU Lesser General Public License as 00006 * published by the Free Software Foundation, version 2.1. 00007 * 00008 * This program is distributed in the hope that it will be useful, but 00009 * WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Lesser General Lesser Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public License 00014 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00015 */ 00016 //-------------------------------------------------------------------------------- 00017 #ifndef _SMVIEWER_H 00018 #define _SMVIEWER_H 00019 //-------------------------------------------------------------------------------- 00020 #include <string> 00021 #include <memory> 00022 #include "SViewer.h" 00023 #include "SMInterface.h" 00024 //-------------------------------------------------------------------------------- 00025 class SMViewer: 00026 public uniset::SViewer 00027 { 00028 public: 00029 SMViewer( uniset::ObjectId shmID ); 00030 virtual ~SMViewer(); 00031 00032 void run(); 00033 00034 protected: 00035 00036 std::shared_ptr<uniset::SMInterface> shm; 00037 private: 00038 }; 00039 // -------------------------------------------------------------------------- 00040 #endif 00041 // --------------------------------------------------------------------------
1.7.6.1