libSDRForge
Loading...
Searching...
No Matches
sdrforge.protocols.rds.tmc_discovery.TmcDiscovery Class Reference

Observe candidate TMC traffic groups without interpreting locations. More...

Public Member Functions

None __init__ (self, *, int max_raw_groups=32)
 Initialize the instance.
None reset (self)
 Reset the component.
None process (self, RdsGroup group)
 Process the component.
TmcDiscoveryStatus status (self)
 Return the status.

Protected Attributes

 _max_raw_groups = max_raw_groups
int|None _pi = None
int _total = 0
Counter[str] _counts = Counter()
int _ta = 0
int _tp = 0
list _raw = []
set[int] _oda_app_ids = set()

Detailed Description

Observe candidate TMC traffic groups without interpreting locations.

Group 8A is the RDS-TMC message group. Group 3A can carry Open Data Applications signalling, including TMC service metadata. Presence of either does not prove that usable traffic data is available.

Constructor & Destructor Documentation

◆ __init__()

None sdrforge.protocols.rds.tmc_discovery.TmcDiscovery.__init__ ( self,
* ,
int max_raw_groups = 32 )

Initialize the instance.

Parameters
selfThe current instance.
max_raw_groupsThe max_raw_groups value.

Member Function Documentation

◆ process()

None sdrforge.protocols.rds.tmc_discovery.TmcDiscovery.process ( self,
RdsGroup group )

Process the component.

Parameters
selfThe current instance.
groupThe group value.

◆ reset()

None sdrforge.protocols.rds.tmc_discovery.TmcDiscovery.reset ( self)

Reset the component.

Parameters
selfThe current instance.

◆ status()

TmcDiscoveryStatus sdrforge.protocols.rds.tmc_discovery.TmcDiscovery.status ( self)

Return the status.

Parameters
selfThe current instance.
Returns
The operation result.

Member Data Documentation

◆ _counts

Counter[str] sdrforge.protocols.rds.tmc_discovery.TmcDiscovery._counts = Counter()
protected

◆ _max_raw_groups

sdrforge.protocols.rds.tmc_discovery.TmcDiscovery._max_raw_groups = max_raw_groups
protected

◆ _oda_app_ids

set[int] sdrforge.protocols.rds.tmc_discovery.TmcDiscovery._oda_app_ids = set()
protected

◆ _pi

int | None sdrforge.protocols.rds.tmc_discovery.TmcDiscovery._pi = None
protected

◆ _raw

list sdrforge.protocols.rds.tmc_discovery.TmcDiscovery._raw = []
protected

◆ _ta

int sdrforge.protocols.rds.tmc_discovery.TmcDiscovery._ta = 0
protected

◆ _total

int sdrforge.protocols.rds.tmc_discovery.TmcDiscovery._total = 0
protected

◆ _tp

int sdrforge.protocols.rds.tmc_discovery.TmcDiscovery._tp = 0
protected

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