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:
Public Member Functions | |
const DistinctNL * | id () |
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:
- include/mw/nl/DistinctNL.h