Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SIO_recordManager.h

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------------
00002 // CVS $Id: SIO_recordManager.h,v 1.1 2003/03/06 11:01:23 gaede Exp $
00003 // ----------------------------------------------------------------------------
00004 // => Manager for a list of SIO records.                          
00005 // ----------------------------------------------------------------------------
00006 //
00007 // General Description:
00008 //
00009 // SIO_recordManager manages a list of SIO records.
00010 //
00011 // ----------------------------------------------------------------------------
00012 
00013 #ifndef SIO_RECORDMANAGER_H
00014 #define SIO_RECORDMANAGER_H 1
00015 
00016 #include <map>
00017 #include <string>
00018 
00019 #include "SIO_definitions.h"
00020 
00021 class SIO_record;
00022 
00023 typedef std::map< std::string, SIO_record* >           recordMap_c;
00024 typedef std::map< std::string, SIO_record* >::iterator recordMap_i;
00025 
00026 class SIO_recordManager
00027 {
00028 public:
00029     static SIO_record*     add( const char* );
00030     static SIO_record*     get( const char* );
00031     static SIO_verbosity   getVerbosity();
00032     static unsigned int    remove( const char* );
00033     static unsigned int    remove( SIO_record* );
00034     static SIO_verbosity   setVerbosity( SIO_verbosity );
00035 
00036 private:
00037     static void            disconnect( const char* );
00038     static recordMap_c*    recordMap;
00039     static SIO_verbosity   verbosity;
00040 
00041 friend class SIO_blockManager;            // Disconnect all a block's connect's
00042 }; 
00043 #endif
00044 
00045 

Generated on Sun Jun 3 06:32:01 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1