![]() |
TSDuck v3.43-4480
MPEG Transport Stream Toolkit
|
A wrapper class for C++ SystemMonitor. More...


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. | |
A wrapper class for C++ SystemMonitor.
| tsduck.SystemMonitor.__init__ | ( | self, | |
| report, | |||
config = None |
|||
| ) |
Constructor.
Create the monitoring object but do not start the monitoring thread yet.
| report | The tsduck.Report object to use. |
| config | The monitoring configuration file name, if different from the default. |
Reimplemented from tsduck.NativeObject.
| 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.
Reimplemented from tsduck.NativeObject.
| tsduck.SystemMonitor.start | ( | self | ) |
Start the monitoring thread.
| 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.
| tsduck.SystemMonitor.waitForTermination | ( | self | ) |
Synchronously wait for the monitoring thread to stop.