TSDuck Version 3.29-2562 (TSDuck - The MPEG Transport Stream Toolkit)
tsduck.SystemMonitor Class Reference

A wrapper class for C++ SystemMonitor. More...

Inheritance diagram for tsduck.SystemMonitor:
Collaboration diagram for tsduck.SystemMonitor:

Public Member Functions

def __init__ (self, report, config=None)
 Constructor. More...
 
def delete (self)
 Explicitly free the underlying C++ object. More...
 
def start (self)
 Start the monitoring thread. More...
 
def stop (self)
 Stop the monitoring thread. More...
 
def waitForTermination (self)
 Synchronously wait for the monitoring thread to stop. More...
 

Detailed Description

A wrapper class for C++ SystemMonitor.

Constructor & Destructor Documentation

◆ __init__()

def tsduck.SystemMonitor.__init__ (   self,
  report,
  config = None 
)

Constructor.

Create the monitoring object but do not start the monitoring thread yet.

Parameters
reportThe tsduck.Report object to use.
configThe monitoring configuration file name, if different from the default.

Member Function Documentation

◆ delete()

def tsduck.SystemMonitor.delete (   self)

Explicitly free the underlying C++ object.

After this call, the object becomes unusable. Most usages are unpredictable but most likely will do nothing.

Returns
None.

Reimplemented from tsduck.NativeObject.

◆ start()

def tsduck.SystemMonitor.start (   self)

Start the monitoring thread.

Returns
None.

◆ stop()

def tsduck.SystemMonitor.stop (   self)

Stop the monitoring thread.

The monitoring thread is requested to stop. This method returns immediately, use waitForTermination() to synchronously wait for its termination.

Returns
None.

◆ waitForTermination()

def tsduck.SystemMonitor.waitForTermination (   self)

Synchronously wait for the monitoring thread to stop.

Returns
None.

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