LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp.lasp_atomic.Atomic Class Reference

Implementation of atomic operations on integers and booleans. More...

Public Member Functions

 __init__ (self, val)
 
 checkType (self, val)
 
 __iadd__ (self, toadd)
 
 __isub__ (self, toadd)
 
 __bool__ (self)
 
 __ilshift__ (self, other)
 
 __call__ (self)
 

Protected Attributes

 _val
 
 _lock
 

Detailed Description

Implementation of atomic operations on integers and booleans.

Definition at line 24 of file lasp_atomic.py.

Constructor & Destructor Documentation

◆ __init__()

lasp.lasp_atomic.Atomic.__init__ (   self,
  val 
)

Definition at line 29 of file lasp_atomic.py.

Member Function Documentation

◆ __bool__()

lasp.lasp_atomic.Atomic.__bool__ (   self)

Definition at line 50 of file lasp_atomic.py.

◆ __call__()

lasp.lasp_atomic.Atomic.__call__ (   self)

Definition at line 60 of file lasp_atomic.py.

◆ __iadd__()

lasp.lasp_atomic.Atomic.__iadd__ (   self,
  toadd 
)

Definition at line 38 of file lasp_atomic.py.

◆ __ilshift__()

lasp.lasp_atomic.Atomic.__ilshift__ (   self,
  other 
)

Definition at line 54 of file lasp_atomic.py.

◆ __isub__()

lasp.lasp_atomic.Atomic.__isub__ (   self,
  toadd 
)

Definition at line 44 of file lasp_atomic.py.

◆ checkType()

lasp.lasp_atomic.Atomic.checkType (   self,
  val 
)

Definition at line 34 of file lasp_atomic.py.

Member Data Documentation

◆ _lock

lasp.lasp_atomic.Atomic._lock
protected

Definition at line 32 of file lasp_atomic.py.

◆ _val

lasp.lasp_atomic.Atomic._val
protected

Definition at line 31 of file lasp_atomic.py.


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