EMANE  1.2.1
maclayerimpl.h File Reference

Go to the source code of this file.

Classes

class  EMANE::MACLayerImplementor
 Interface used to create a MAC layer plugin implementation. More...
 

Namespaces

 EMANE
 

Macros

#define DECLARE_MAC_LAYER(X)
 

Typedefs

typedef MACLayerImplementor *(* EMANE::createMACFunc) (NEMId id, PlatformServiceProvider *p)
 
typedef void(* EMANE::destroyMACFunc) (MACLayerImplementor *)
 

Macro Definition Documentation

◆ DECLARE_MAC_LAYER

#define DECLARE_MAC_LAYER (   X)
Value:
extern "C" EMANE::MACLayerImplementor * create(EMANE::NEMId id, \
{return new X{id,p,r};} \
extern "C" void destroy(EMANE::MACLayerImplementor * p) \
{delete p;}
The PlatformServiceProvider interface provides access to emulator services.
std::uint16_t NEMId
Definition: types.h:52
The RadioServiceProvider interface provides access to radio (RF) model specific services.
Interface used to create a MAC layer plugin implementation.
Definition: maclayerimpl.h:48

Definition at line 104 of file maclayerimpl.h.