Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

TrgCmdCounters.py

00001 #!/usr/local/bin/python
00002 #
00003 #                               Copyright 2004
00004 #                                     by
00005 #                        The Board of Trustees of the
00006 #                     Leland Stanford Junior University.
00007 #                            All rights reserved.
00008 #
00009 
00010 __facility__ = "Online"
00011 __abstract__ = "GLAST LAT Coincidence based Trigger System Trigger Counter classes"
00012 __author__   = "Jim Panetta <panetta@slac.stanford.edu> SLAC - GLAST I&T"
00013 __date__     = "2/14/04"
00014 __version__  = "$Revision: 2.1 $"
00015 __release__  = "$Name: R04-12-00 $"
00016 __credits__  = "SLAC"
00017 
00018 import LATTE.copyright_SLAC
00019 
00020 from TrgObject import TrgObject
00021 
00022 """TrgCmdCounters: Interface for Command Response system"""
00023 
00024 class TrgCmdCounters(TrgObject):
00025   """\brief TrgCmdCounters class
00026   
00027      This class controls the counters associated with the commands 
00028      received and the responses sent by the GEM.
00029   """
00030   def __init__(self):
00031     """\brief TrgCmdCounters constructor
00032     """
00033     TrgObject.__init__(self)
00034     pass
00035     
00036   def stats(self):
00037     """\brief stats() method
00038     
00039        Get the command statistics object.
00040        \return a TrgCmdStats object
00041     """
00042     raise NotImplementedError
00043     pass 
00044     
00045   def reset(self):
00046     """\brief reset() method
00047     
00048        Reset the command counters
00049     """
00050     raise NotImplementedError
00051     pass # returns void...
00052 
00053 class TrgCmdStats(TrgObject):
00054   """\brief TrgCmdStats class
00055   
00056      This class specifies the statistics returned by the command counters.
00057      cf: LAT-TD-01545 section 2.3
00058   """
00059   def __init__(self):
00060     """\brief TrgCmdStats constructor
00061     """
00062     TrgObject.__init__(self)
00063     pass
00064     
00065   def command(self):
00066     """\brief command() method
00067        \return an integer
00068     """
00069     raise NotImplementedError
00070     pass 
00071     
00072   def response(self):
00073     """\brief response() method
00074        \return an integer
00075     """
00076     raise NotImplementedError
00077     pass 
00078 
00079 

Generated on Fri Jul 21 13:26:33 2006 for LATTE R04-12-00 by doxygen 1.4.3