TSDuck v3.38-3696
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsduck.AsyncReport Class Reference

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

Inheritance diagram for tsduck.AsyncReport:
Collaboration diagram for tsduck.AsyncReport:

Public Member Functions

 __init__ (self, severity=Report.Info, sync_log=False, timed_log=False, log_msg_count=0)
 Constructor, starts the async log thread.
 
 delete (self)
 Explicitly free the underlying C++ object.
 
 terminate (self)
 Synchronously terminates the async log thread.
 

Detailed Description

A wrapper class for C++ AsyncReport.

Constructor & Destructor Documentation

◆ __init__()

tsduck.AsyncReport.__init__ (   self,
  severity = Report.Info,
  sync_log = False,
  timed_log = False,
  log_msg_count = 0 
)

Constructor, starts the async log thread.

Parameters
severityInitial severity.
sync_logSynchronous log.
timed_logAdd time stamps in log messages.
log_msg_countMaximum buffered log messages.

Reimplemented from tsduck.Report.

Reimplemented in tsduck.AbstractSyncReport, and tsduck.AbstractAsyncReport.

Member Function Documentation

◆ delete()

tsduck.AsyncReport.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.

◆ terminate()

tsduck.AsyncReport.terminate (   self)

Synchronously terminates the async log thread.

Returns
None.

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