/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes | Private Member Functions
RootIOTest::TestFileStatSvc::PollFileStatSvc Class Reference
Inheritance diagram for RootIOTest::TestFileStatSvc::PollFileStatSvc:
Inheritance graph
[legend]
Collaboration diagram for RootIOTest::TestFileStatSvc::PollFileStatSvc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def initialize
def execute

Public Attributes

 fss
 closed
 opened

Private Member Functions

def _listify

Detailed Description

Definition at line 7 of file TestFileStatSvc.py.


Constructor & Destructor Documentation

def RootIOTest::TestFileStatSvc::PollFileStatSvc::__init__ (   self,
  name = 'PollFileStatSvc' 
)

Definition at line 8 of file TestFileStatSvc.py.

00009                                              :
00010         GaudiAlgo.__init__(self,name)
00011         self.fss = None
00012         self.closed = []
00013         self.opened = []
00014         return


Member Function Documentation

def RootIOTest::TestFileStatSvc::PollFileStatSvc::initialize (   self)

Definition at line 15 of file TestFileStatSvc.py.

00016                         :
00017         self.fss = self.svc('IRootIOFileStateSvc','RootIOFileStateSvc')
00018         return SUCCESS

def RootIOTest::TestFileStatSvc::PollFileStatSvc::_listify (   self,
  vector 
) [private]

Definition at line 19 of file TestFileStatSvc.py.

00020                              :
00021         l = []
00022         siz = vector.size()
00023         print siz
00024         for ind in range(siz):
00025             l.append(vector[ind])
00026         return l

def RootIOTest::TestFileStatSvc::PollFileStatSvc::execute (   self)

Definition at line 27 of file TestFileStatSvc.py.

00028                      :
00029         closed = self._listify(self.fss.closedOutput())
00030         opened = self._listify(self.fss.openOutput())
00031 
00032         for fn in closed:
00033             if fn not in self.closed:
00034                 print 'Got new closed file:',fn
00035                 self.closed.append(fn)
00036                 pass
00037             continue
00038         
00039         for fn in opened:
00040             if fn not in self.opened:
00041                 print 'Got new opened file:',fn
00042                 pass
00043             continue
00044         self.opened = opened
00045 
00046         return SUCCESS


Member Data Documentation

Definition at line 8 of file TestFileStatSvc.py.

Definition at line 8 of file TestFileStatSvc.py.

Definition at line 8 of file TestFileStatSvc.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:20:12 for RootIOTest by doxygen 1.7.4