nl::Inet::InetLayerBasis

#include <src/inet/InetLayerBasis.h>

This is the basis class of reference-counted objects managed by an InetLayer object.

Summary

Inheritance

Inherits from: nl::Weave::System::Object
Direct Known Subclasses:
  nl::Inet::DNSResolver
  nl::Inet::EndPointBasis

Public functions

IsCreatedByInetLayer(const InetLayer & aInetLayer) const
bool
Returns true if the basis object was obtained by the specified INET layer instance.
Layer(void) const
Returns a reference to the Inet layer object that owns this basis object.

Protected functions

InitInetLayerBasis(InetLayer & aInetLayer, void *aAppState)
void

Public functions

IsCreatedByInetLayer

bool IsCreatedByInetLayer(
  const InetLayer & aInetLayer
) const 

Returns true if the basis object was obtained by the specified INET layer instance.

Details
Parameters
[in] aInetLayer
An instance of the INET layer.
Returns
true if owned by aInetLayer, otherwise false.

Layer

InetLayer & Layer(
  void
) const 

Returns a reference to the Inet layer object that owns this basis object.

Protected functions

InitInetLayerBasis

void InitInetLayerBasis(
  InetLayer & aInetLayer,
  void *aAppState
)