![]() |
TSDuck v3.46-4930
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. | |
Protected Member Functions | |
| _getNative (self) | |
| Get the native object. | |
| _setNative (self, obj) | |
| Set the native object. | |
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. |
| 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.
|
protectedinherited |
Set the native object.
This is typically done by subclass constructors.
| obj | Address of the C++ native object to store. |
|
protectedinherited |
Get the native object.
This is typically used by subclasses.