TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsduck.SystemMonitor Class Reference

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

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

Public Member Functions

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

Detailed Description

A wrapper class for C++ SystemMonitor.

Constructor & Destructor Documentation

◆ __init__()

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.

Reimplemented from tsduck.NativeObject.

Member Function Documentation

◆ delete()

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()

tsduck.SystemMonitor.start (   self)

Start the monitoring thread.

Returns
None.

◆ stop()

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()

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: