SMS_BP
Single Molecule Simulations -BP
Loading...
Searching...
No Matches
SMS_BP.decorators.CountCalls Class Reference

Public Member Functions

 __init__ (self, func)
 
 __call__ (self, *args, **kwargs)
 

Public Attributes

 func
 
 num_calls
 

Detailed Description

Count how many times a function is called

Constructor & Destructor Documentation

◆ __init__()

SMS_BP.decorators.CountCalls.__init__ ( self,
func )

Member Function Documentation

◆ __call__()

SMS_BP.decorators.CountCalls.__call__ ( self,
* args,
** kwargs )

Member Data Documentation

◆ func

SMS_BP.decorators.CountCalls.func

◆ num_calls

SMS_BP.decorators.CountCalls.num_calls

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