Menu

famouso::mw::nl::DistinctNL Class Reference

The base network layer provides functionality for identifying a specific network layer at run-time. More...

#include <DistinctNL.h>

Inheritance diagram for famouso::mw::nl::DistinctNL:
famouso::mw::nl::AWDSNL famouso::mw::nl::BaseNL< A1orSeq, A2, A3, A4, A5, A6, A7, A8, A9, A10 > famouso::mw::nl::CANNL< CAN_Driver, CCP, BP > famouso::mw::nl::IEEE_802_15_4_NL< driver_t > famouso::mw::nl::SerialNL< DRV > famouso::mw::nl::UDPBroadCastNL famouso::mw::nl::UDPMultiCastNL famouso::mw::nl::voidNL

Public Member Functions

const DistinctNLid ()
 get the id of the specific network layer

Detailed Description

The base network layer provides functionality for identifying a specific network layer at run-time.

For example this functionality is needed for the famouso::mw::nal::NetworkAdapter and for the realisation of Gateways (famouso::mw::gwl::Gateway).


Member Function Documentation

const DistinctNL* famouso::mw::nl::DistinctNL::id (  )  [inline]

get the id of the specific network layer

The functionality is realised by returning the this pointer of the network layer that is always unique within a system, and therefore no additional identification facilities or resources have to be wasted.

Returns:
a pointer on "this"

The documentation for this class was generated from the following file: