@@ -49,16 +49,27 @@ class DownlinkHandling : public DataNodeBase {
4949
5050 BSKLogger bskLogger; // !< BSK logging interface
5151
52+ /* ! @brief Return 1 if link-quality inputs were valid on the last update, else 0 */
5253 uint32_t getCurrentLinkActive () const {return this ->downlinkOutBuffer .linkActive ;}
54+ /* ! @brief Return selected receiver index on the last update (0=no receiver, 1/2=receiver path) */
5355 uint32_t getCurrentReceiverIndex () const {return this ->downlinkOutBuffer .receiverIndex ;}
56+ /* ! @brief Return last module time step [s] */
5457 double getCurrentTimeStep () const {return this ->downlinkOutBuffer .timeStep ;}
58+ /* ! @brief Return last computed bit-error-rate (BER) [-] */
5559 double getCurrentBer () const {return this ->downlinkOutBuffer .ber ;}
60+ /* ! @brief Return last computed packet-error-rate (PER) [-] */
5661 double getCurrentPer () const {return this ->downlinkOutBuffer .per ;}
62+ /* ! @brief Return last packet drop probability within retry cap [-] */
5763 double getCurrentPacketDropProb () const {return this ->downlinkOutBuffer .packetDropProb ;}
64+ /* ! @brief Return last expected attempts per packet under retry cap [-] */
5865 double getCurrentExpectedAttemptsPerPacket () const {return this ->downlinkOutBuffer .expectedAttemptsPerPacket ;}
66+ /* ! @brief Return last data-removal rate from storage [bit/s] */
5967 double getCurrentStorageRemovalRate () const {return this ->downlinkOutBuffer .storageRemovalRate ;}
68+ /* ! @brief Return last successfully delivered data rate [bit/s] */
6069 double getCurrentDeliveredDataRate () const {return this ->downlinkOutBuffer .deliveredDataRate ;}
70+ /* ! @brief Return last dropped data rate after retries [bit/s] */
6171 double getCurrentDroppedDataRate () const {return this ->downlinkOutBuffer .droppedDataRate ;}
72+ /* ! @brief Return estimated remaining bits in selected data partition [bit] */
6273 double getCurrentEstimatedRemainingDataBits () const {return this ->downlinkOutBuffer .estimatedRemainingDataBits ;}
6374
6475private:
0 commit comments