sc_except.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002 
00003   The following code is derived, directly or indirectly, from the SystemC
00004   source code Copyright (c) 1996-2005 by all Contributors.
00005   All Rights reserved.
00006 
00007   The contents of this file are subject to the restrictions and limitations
00008   set forth in the SystemC Open Source License Version 2.4 (the "License");
00009   You may not use this file except in compliance with such restrictions and
00010   limitations. You may obtain instructions on how to receive a copy of the
00011   License at http://www.systemc.org/. Software distributed by Contributors
00012   under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
00013   ANY KIND, either express or implied. See the License for the specific
00014   language governing rights and limitations under the License.
00015 
00016  *****************************************************************************/
00017 
00018 /*****************************************************************************
00019 
00020   sc_except.h - Exception classes to be handled by SystemC.
00021 
00022   Original Author: Stan Y. Liao, Synopsys, Inc.
00023 
00024  *****************************************************************************/
00025 
00026 /*****************************************************************************
00027 
00028   MODIFICATION LOG - modifiers, enter your name, affiliation, date and
00029   changes you are making here.
00030 
00031       Name, Affiliation, Date: Gene Bushuyev. Synopsys, Inc.
00032   Description of Modification: - Had to add empty public default and copy
00033                                  constructors to satisfy VC6.0.
00034     
00035       Name, Affiliation, Date:
00036   Description of Modification:
00037 
00038  *****************************************************************************/
00039 
00040 #ifndef SC_EXCEPT_H
00041 #define SC_EXCEPT_H
00042 
00043 
00044 namespace sc_core {
00045 
00046 /*
00047  *  These classes are intentionally empty. Their raison d'etre is for
00048  *  the implemetation of `watching'.
00049  */
00050 
00051 class sc_user
00052 {
00053     /*EMPTY*/
00054 public:
00055     sc_user() {}
00056     sc_user( const sc_user& ) {}
00057 };
00058 
00059 class sc_halt
00060 {
00061     /*EMPTY*/
00062 public:
00063     sc_halt() {}
00064     sc_halt( const sc_halt& ) {}
00065 };
00066 
00067 } // namespace sc_core
00068 
00069 #endif
Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page