IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Public Member Functions | List of all members
NonNegative Class Reference

Class that triggers a report when the state is non-negative. More...

Inheritance diagram for NonNegative:
Inheritance graph
[legend]
Collaboration diagram for NonNegative:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, theConfig=None)
 Constructor for onMatch trigger class. More...
 
def test (self, theSig)
 Report triggered when the passed signal is non-negative. More...
 

Additional Inherited Members

- Public Attributes inherited from Trigger
 config
 

Detailed Description

Class that triggers a report when the state is non-negative.

Typically the input signal will be an integer, but nothing prevents it from being any other signal for which greater than or equal to 0 binary operation works.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  theConfig = None 
)

Constructor for onMatch trigger class.

Reimplemented from Trigger.

Member Function Documentation

◆ test()

def test (   self,
  theSig 
)

Report triggered when the passed signal is non-negative.

Parameters
[in]theSigThe passed signal.

Reimplemented from Trigger.


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