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

gNode.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 
00011 __facility__ = "Online"
00012 __abstract__ = "Node class"
00013 __author__   = "Amedeo Perazzo <perazzo@slac.stanford.edu> SLAC - GLAST I&T/Online"
00014 __date__     = ("$Date: 2004/08/24 22:57:25 $").split(' ')[1]
00015 __version__  = "$Revision: 2.2 $"
00016 __release__  = "$Name: R04-12-00 $"
00017 __credits__  = "SLAC"
00018 
00019 import LATTE.copyright_SLAC
00020 
00021 class Node(object):
00022   def __init__(self, client):
00023     self.__client = client
00024 
00025   def client(self):
00026     return self.__client
00027 
00028   def cmdrsp(self, functionname, *arguments):
00029     return self.__client.cmdrsp(functionname, *arguments)
00030 
00031   def read(self, reg):
00032     raise Exception, "*** gNode: read() not implemented for class %s" \
00033           %(self.__class__.__name__)
00034 
00035   def load(self, reg, value):
00036     raise Exception, "*** gNode: load() not implemented for class %s" \
00037           %(self.__class__.__name__)
00038 
00039   def send(self, cmd):
00040     raise Exception, "*** gNode: send() not implemented for class %s" \
00041           %(self.__class__.__name__)
00042 

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