EMANE  1.2.1
shimlayerimpl.h File Reference

Go to the source code of this file.

Classes

class  EMANE::ShimLayerImplementor
 Interface used to create a Shim layer plugin implementation. More...
 

Namespaces

 EMANE
 

Macros

#define DECLARE_SHIM_LAYER(X)
 

Typedefs

typedef ShimLayerImplementor *(* EMANE::createShimFunc) (NEMId id, PlatformServiceProvider *p, RadioServiceProvider *r)
 
typedef void(* EMANE::destroyShimFunc) (ShimLayerImplementor *)
 

Macro Definition Documentation

◆ DECLARE_SHIM_LAYER

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

Definition at line 72 of file shimlayerimpl.h.