Belle II Software light-2406-ragdoll
CalculationQueueItem Class Reference

Public Member Functions

def __init__ (self, name, item)
 
def __eq__ (self, other)
 

Public Attributes

 name
 Name of the item.
 
 item
 Item to store.
 

Detailed Description

A placeholder for a tuple string, object.
Do not create them by yourself.

Definition at line 76 of file calculation_queue.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  item 
)
Create a new queue item

Definition at line 82 of file calculation_queue.py.

82 def __init__(self, name, item):
83 """
84 Create a new queue item
85 """
86
87 self.name = name
88
89 self.item = item
90

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)
Equality operator needed for tests.

Definition at line 91 of file calculation_queue.py.

91 def __eq__(self, other):
92 """
93 Equality operator needed for tests.
94 """
95 return other.name == self.name and other.item == self.item

Member Data Documentation

◆ item

item

Item to store.

Definition at line 89 of file calculation_queue.py.

◆ name

name

Name of the item.

Definition at line 87 of file calculation_queue.py.


The documentation for this class was generated from the following file: