libSDRForge
Loading...
Searching...
No Matches
sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime Class Reference

Hardware-independent execution layer with retry-on-failure semantics. More...

Public Member Functions

None __init__ (self, AuxiliaryReceiverManager scheduler, ReceiverManager receiver, *, dict[ReceiverService, ServiceProfile]|None profiles=None, Callable[[ReceiverService], None]|None on_start=None, Callable[[ReceiverService], None]|None on_stop=None)
 Provide init behavior.
tuple[ReceiverService, int]|None applied_target (self)
 Provide applied target behavior.
dict[str, object] status (self)
 JSON-serializable status for REST or ZMQ telemetry adapters.
ReceiverDecision step (self, float now)
 Provide step behavior.
None close (self)
 Provide close behavior.

Public Attributes

 scheduler = scheduler
 receiver = receiver
 profiles = dict(DEFAULT_PROFILES if profiles is None else profiles)
 on_start = on_start
 on_stop = on_stop

Protected Attributes

tuple[ReceiverService, int]|None _applied = None
 _lock = RLock()
str|None _error = None

Detailed Description

Hardware-independent execution layer with retry-on-failure semantics.

Constructor & Destructor Documentation

◆ __init__()

None sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.__init__ ( self,
AuxiliaryReceiverManager scheduler,
ReceiverManager receiver,
* ,
dict[ReceiverService, ServiceProfile] | None profiles = None,
Callable[[ReceiverService], None] | None on_start = None,
Callable[[ReceiverService], None] | None on_stop = None )

Provide init behavior.

Parameters
selfThe current instance.
schedulerThe scheduler value.
receiverThe receiver value.
profilesThe profiles value.
on_startThe on start value.
on_stopThe on stop value.

Member Function Documentation

◆ applied_target()

tuple[ReceiverService, int] | None sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.applied_target ( self)

Provide applied target behavior.

Parameters
selfThe current instance.
Returns
The operation result.

◆ close()

None sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.close ( self)

Provide close behavior.

Parameters
selfThe current instance.

◆ status()

dict[str, object] sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.status ( self)

JSON-serializable status for REST or ZMQ telemetry adapters.

Parameters
selfThe current instance.
Returns
The operation result.

◆ step()

ReceiverDecision sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.step ( self,
float now )

Provide step behavior.

Parameters
selfThe current instance.
nowThe now value.
Returns
The operation result.

Member Data Documentation

◆ _applied

tuple[ReceiverService, int] | None sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime._applied = None
protected

◆ _error

sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime._error = None
protected

◆ _lock

sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime._lock = RLock()
protected

◆ on_start

sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.on_start = on_start

◆ on_stop

sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.on_stop = on_stop

◆ profiles

sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.profiles = dict(DEFAULT_PROFILES if profiles is None else profiles)

◆ receiver

sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.receiver = receiver

◆ scheduler

sdrforge.weather.receiver_runtime.AuxiliaryReceiverRuntime.scheduler = scheduler

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