D2dAmc< Base > Class Template Reference

Simu5G: D2dAmc< Base > Class Template Reference
Simu5G
D2dAmc< Base > Class Template Reference

#include <D2dAmc.h>

Detailed Description

template<class Base>
class simu5g::D2dAmc< Base >

CRTP mixin that adds device-to-device (D2D) support to an AMC.

The core AMCs (LteAmc and its NR subclass NrAmc) carry no D2D code; this mixin layers the D2D feedback and transmission-parameter machinery on top of either of them. The D2D state and heavy logic live in the shared D2dAmcHelper; the mixin only overrides the base *ForDirection routing seams and the ID2dAmc surface to delegate to it.

The concrete Define_Module'd AMCs are: LteAmcD2D = D2dAmc<LteAmc> NrAmcD2D = D2dAmc<NrAmc> (+ the NR-specific getNrMcsTableForDirection override, see NrAmcD2D.h)