Class Receiver¶
Defined in File comms.h
Inheritance Relationships¶
Base Type¶
public lupnt::Device(Class Device)
Derived Type¶
public lupnt::GnssReceiver(Class GnssReceiver)
Class Documentation¶
-
class Receiver : public lupnt::Device¶
Generic radio receiver device: binds to a named
Channeland collects incoming data from it.Used as the base for measurement-generating receivers (e.g.
GnssReceiverinspace_comms.h) attached to a satellite/rover/ ground-stationAgent; received payloads accumulate indata_for downstreammeasurements/processing.Subclassed by lupnt::GnssReceiver
Public Functions
-
Receiver() = default¶
-
Receiver(Config &config)¶
Construct a receiver from a YAML config node (see
Device::Device(Config&)).
-
virtual void Step(Real t) override¶
Receiver device step; currently a no-op placeholder. Overrides
Device::Step.
-
virtual void Setup() override¶
Resolve and bind
channel_fromconfig_["channel"]via the owning agent’sSimulation::GetChannel. OverridesDevice::Setup; logs a warning if no"channel"key is configured.
-
virtual void Receive(Real t)¶
Notify this receiver that the channel has data available, without an explicit payload.
- Parameters:
t – Simulation time of the receive event [s]
-
virtual void Receive(Real t, void *data)¶
Append an incoming payload
data(received viachannel_) todata_at timet.- Parameters:
t – Simulation time of the receive event [s]
data – Pointer to the received payload (ownership/type defined by the specific
Channel/measurement model)
-
Receiver() = default¶