LinkedTrans.hpp

Go to the documentation of this file.
00001 #ifndef wali_wpds_CTRANS_GUARD
00002 #define wali_wpds_CTRANS_GUARD 1
00003 
00004 // Disable
00005 //   warning C4250: warning C4250: 'wali::wpds::LinkedTrans' : inherits 'wali::Markable::wali::Markable::mark' via dominance
00006 // for MSVC
00007 #if defined(_MSC_VER)
00008 #  pragma warning(push)
00009 #  pragma warning(disable: 4250)
00010 #endif
00011 
00012 /*!
00013  * @author Nicholas Kidd
00014  */
00015 
00016 #include "wali/Common.hpp"
00017 #include "wali/wfa/Trans.hpp"
00018 
00019 namespace wali
00020 {
00021   namespace wpds
00022   {
00023     class WPDS;
00024     class Config;
00025 
00026     class LinkedTrans : public wali::wfa::Trans
00027     {
00028       public:
00029         friend class WPDS;
00030 
00031       public:
00032         LinkedTrans(  wali_key_t from,
00033             wali_key_t stack,
00034             wali_key_t to,
00035             const sem_elem_t & se,
00036             Config *config
00037             );
00038 
00039         virtual ~LinkedTrans();
00040 
00041         Config *config;
00042     };
00043 
00044   } // namespace wpds
00045 
00046 } // namespace wali
00047 
00048 
00049 // Restore the warning state
00050 #if defined(_MSC_VER)
00051 #  pragma warning(pop)
00052 #endif
00053 
00054 #endif  // wali_wpds_CTRANS_GUARD
00055