Gaudi Framework, version v22r1

Home   Generated: Mon Feb 28 2011
Public Member Functions | Public Attributes

GaudiMP::pTools::SyncMini Class Reference

List of all members.

Public Member Functions

def __init__
def check
def checkLast
def reset
def getTime
def set
def __repr__

Public Attributes

 event
 t
 lastEvent

Detailed Description

Definition at line 525 of file pTools.py.


Constructor & Destructor Documentation

def GaudiMP::pTools::SyncMini::__init__ (   self,
  event,
  lastEvent = None 
)

Definition at line 526 of file pTools.py.

00527                                                 :
00528         self.event  = event
00529         self.t      = 0.0
00530         self.lastEvent = None
00531         if lastEvent :
            self.lastEvent = lastEvent

Member Function Documentation

def GaudiMP::pTools::SyncMini::__repr__ (   self )

Definition at line 543 of file pTools.py.

00544                          :
00545         s  = "---------- SyncMini --------------\n"
00546         s += "    Status : %s\n"%(self.event.is_set())
00547         s += "         t : %5.2f\n"%(self.t)
00548         if self.lastEvent :
00549             s += "Last Event : %s\n"%(self.lastEvent.is_set())
00550         s += "----------------------------------\n"
00551         return s
00552 
00553 # =============================================================================

def GaudiMP::pTools::SyncMini::check (   self )

Definition at line 532 of file pTools.py.

00533                       :
        return self.event.is_set()
def GaudiMP::pTools::SyncMini::checkLast (   self )

Definition at line 534 of file pTools.py.

00535                           :
        return self.lastEvent.is_set()
def GaudiMP::pTools::SyncMini::getTime (   self )

Definition at line 539 of file pTools.py.

00540                         :
        return self.t
def GaudiMP::pTools::SyncMini::reset (   self )

Definition at line 536 of file pTools.py.

00537                       :
00538         self.event.clear()
        self.t = time.time()
def GaudiMP::pTools::SyncMini::set (   self )

Definition at line 541 of file pTools.py.

00542                     :
        self.event.set()

Member Data Documentation

Definition at line 526 of file pTools.py.

Definition at line 526 of file pTools.py.

Definition at line 526 of file pTools.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Feb 28 2011 18:28:44 for Gaudi Framework, version v22r1 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004