00001 // Copyright (C) 2008 Laboratoire de Recherche et Développement 00002 // de l'Epita (LRDE). 00003 // 00004 // This file is part of Spot, a model checking library. 00005 // 00006 // Spot is free software; you can redistribute it and/or modify it 00007 // under the terms of the GNU General Public License as published by 00008 // the Free Software Foundation; either version 2 of the License, or 00009 // (at your option) any later version. 00010 // 00011 // Spot is distributed in the hope that it will be useful, but WITHOUT 00012 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 00013 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 00014 // License for more details. 00015 // 00016 // You should have received a copy of the GNU General Public License 00017 // along with Spot; see the file COPYING. If not, write to the Free 00018 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00019 // 02111-1307, USA. 00020 00021 00022 #ifndef SPOT_IFACE_NIPS_NIPS_HH 00023 # define SPOT_IFACE_NIPS_NIPS_HH 00024 00025 // Do not include nipsvm.h here, or it will polute the user's 00026 // namespace with internal C symbols. 00027 00028 # include <string> 00029 # include "tgba/tgba.hh" 00030 # include "common.hh" 00031 00032 00033 // Fwd declarations. 00034 typedef struct nipsvm_t nipsvm_t; 00035 typedef struct t_bytecode nipsvm_bytecode_t; 00036 00037 namespace spot 00038 { 00039 00052 class nips_interface 00053 { 00054 public: 00055 nips_interface(bdd_dict* dict, const std::string& filename); 00056 ~nips_interface(); 00057 bool has_monitor() const; 00058 tgba* automaton(); 00059 private: 00060 bdd_dict* dict_; 00061 nipsvm_t* nipsvm_; 00062 nipsvm_bytecode_t* bytecode_; 00063 }; 00064 } 00065 00066 #endif // SPOT_IFACE_NIPS_NIPS_HH