break_handler.hh

Go to the documentation of this file.
00001 
00002 #ifndef BREAK_HANDLER_HH
00003 #define BREAK_HANDLER_HH
00004 
00005 // Copyright (c) 2003 The University of Cincinnati.
00006 // All rights reserved.
00007 
00008 // UC MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
00009 // SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
00010 // IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
00011 // OR NON-INFRINGEMENT.  UC SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY
00012 // LICENSEE AS A RESULT OF USING, RESULT OF USING, MODIFYING OR
00013 // DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
00014 
00015 // By using or copying this Software, Licensee agrees to abide by the
00016 // intellectual property laws, and all other applicable laws of the U.S.,
00017 // and the terms of this license.
00018 
00019 // You may modify, distribute, and use the software contained in this
00020 // package under the terms of the "GNU LIBRARY GENERAL PUBLIC LICENSE"
00021 // version 2, June 1991. A copy of this license agreement can be found in
00022 // the file "LGPL", distributed with this archive.
00023 
00024 // Author: Harish Venkataramani venkath@ececs.uc.edu
00025 
00026 //---------------------------------------------------------------------------
00027 
00028 #include "IIR_BreakElement.hh"
00029 #include "IIR_Designator.hh"
00030 #include "IIR_BreakList.hh"
00031 #include "IIR_DesignatorList.hh"
00032   
00033 class IIR;
00034 
00037 class break_handler {
00038   
00039 public:
00040   break_handler() {};
00041   ~break_handler() {};
00042   
00044   IIR_BreakList*
00045   get_break_list() { 
00046     return break_quantity_list;
00047   }
00048   
00051   IIR_DesignatorList*
00052   get_sensitivity_list() { 
00053     return break_sensitivity_list;
00054   }
00055   
00057   IIR *
00058   get_condition() { 
00059     return break_condition;
00060   }
00061 
00063   void
00064   set_condition(IIR *condition) {
00065     break_condition = condition;
00066   }
00067   
00069   void
00070   set_breaklist(IIR_BreakList *list) {
00071     break_quantity_list = list;
00072   }
00073   
00075   void
00076   set_sensitivitylist(IIR_DesignatorList *designator) {
00077     break_sensitivity_list = designator;
00078   }
00079   
00080 protected:
00081 
00082 private:
00083   IIR_BreakList *break_quantity_list;
00084   IIR_DesignatorList *break_sensitivity_list;
00085   IIR* break_condition;
00086   
00087 };
00088 #endif

Generated on Fri Mar 31 11:04:13 2006 for Savant by  doxygen 1.4.6