/Users/fpy/titan-1-5-MBARI/Mers/Generators/BFIG/BFIGConflictDB.h

00001 
00002 //
00003 // Copyright (c) 2004           Model-based Embedded and Robotic Systems Group
00004 // All Rights Reserved          Massachusetts Institute of Technology
00005 //
00006 // This software is provided as is. Model-based Embedded and Robotic Systems
00007 // (MERS) group does not assume any responsibility.
00008 //
00009 // Organization:        Model-based Embedded and Robotic Systems Group
00010 //                                      Massachusetts Institute of Technology
00011 //
00013 //# CHECKED MJP 08-07-2002
00014 
00015 #ifndef __CONFLCITDB__
00016 #define __CONFLICTDB__
00017 
00018 #include <cstdlib>
00019 #include <list>
00020 
00021 class BFIGConflict;
00022 
00023 namespace Mers {
00024         namespace Generators {
00025                 namespace BFIG {
00032                         class BFIGConflictDB
00033                         {
00034                         public:
00035                                 //--------------------------------------------
00036                                 //      CONSTRUCTOR
00037                                 //--------------------------------------------
00038 
00039                                 BFIGConflictDB();
00040 
00041                                 BFIGConflictDB(list<BFIGConflict const *> initialConflictSet);
00042         
00043 
00044                                 //--------------------------------------------
00045                                 //      PUBLIC FUNCTION METHODS
00046                                 //--------------------------------------------
00047 
00048                                 void                     addConflict(BFIGConflict const * newConflict);
00049         
00050                                 list<BFIGConflict const *>   getConflictSet(); //abs-const
00051         
00052 
00053                         private:
00054                                 //--------------------------------------------
00055                                 //      PRIVATE DATA MEMBERS
00056                                 //--------------------------------------------
00057 
00058                                 list<BFIGConflict const *>   conflictSet;
00059 
00060                                 //--------------------------------------------
00061                                 //      PRIVATE FUNCTION METHODS
00062                                 //--------------------------------------------
00063         
00064                                 void                     clearConflicts();
00065                                 void                     sortConflicts();
00066         
00067                         };
00068                 }
00069         }
00070 }
00071 
00072 #endif //ndef __CONFLICTDB__
00073 

Generated on Mon Dec 4 14:16:50 2006 for Mers by  doxygen 1.5.0