Gaudi Framework, version v23r4

Home   Generated: Mon Sep 17 2012
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 535 of file pTools.py.


Constructor & Destructor Documentation

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

Definition at line 536 of file pTools.py.

00537                                                 :
00538         self.event  = event
00539         self.t      = 0.0
00540         self.lastEvent = None
00541         if lastEvent :
            self.lastEvent = lastEvent

Member Function Documentation

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

Definition at line 553 of file pTools.py.

00554                          :
00555         s  = "---------- SyncMini --------------\n"
00556         s += "    Status : %s\n"%(self.event.is_set())
00557         s += "         t : %5.2f\n"%(self.t)
00558         if self.lastEvent :
00559             s += "Last Event : %s\n"%(self.lastEvent.is_set())
00560         s += "----------------------------------\n"
00561         return s
00562 
00563 # =============================================================================

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

Definition at line 542 of file pTools.py.

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

Definition at line 544 of file pTools.py.

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

Definition at line 549 of file pTools.py.

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

Definition at line 546 of file pTools.py.

00547                       :
00548         self.event.clear()
        self.t = time.time()
def GaudiMP::pTools::SyncMini::set (   self )

Definition at line 551 of file pTools.py.

00552                     :
        self.event.set()

Member Data Documentation

Definition at line 536 of file pTools.py.

Definition at line 536 of file pTools.py.

Definition at line 536 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 Sep 17 2012 13:49:57 for Gaudi Framework, version v23r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004