knx
ETS configurable knx-stack
NetworkLayer Class Referenceabstract

#include <network_layer.h>

Inheritance diagram for NetworkLayer:
Collaboration diagram for NetworkLayer:

Public Member Functions

 NetworkLayer (DeviceObject &deviceObj, TransportLayer &layer)
 
uint8_t hopCount () const
 
bool isApciSystemBroadcast (APDU &apdu)
 
virtual void dataIndividualRequest (AckType ack, uint16_t destination, HopCountType hopType, Priority priority, TPDU &tpdu)=0
 
virtual void dataGroupRequest (AckType ack, uint16_t destination, HopCountType hopType, Priority priority, TPDU &tpdu)=0
 
virtual void dataBroadcastRequest (AckType ack, HopCountType hopType, Priority priority, TPDU &tpdu)=0
 
virtual void dataSystemBroadcastRequest (AckType ack, HopCountType hopType, Priority priority, TPDU &tpdu)=0
 

Protected Member Functions

virtual void dataIndication (AckType ack, AddressType addType, uint16_t destination, FrameFormat format, NPDU &npdu, Priority priority, uint16_t source, uint8_t srcIfIdx)=0
 
virtual void dataConfirm (AckType ack, AddressType addressType, uint16_t destination, FrameFormat format, Priority priority, uint16_t source, NPDU &npdu, bool status, uint8_t srcIfIdx)=0
 
virtual void broadcastIndication (AckType ack, FrameFormat format, NPDU &npdu, Priority priority, uint16_t source, uint8_t srcIfIdx)=0
 
virtual void broadcastConfirm (AckType ack, FrameFormat format, Priority priority, uint16_t source, NPDU &npdu, bool status, uint8_t srcIfIdx)=0
 
virtual void systemBroadcastIndication (AckType ack, FrameFormat format, NPDU &npdu, Priority priority, uint16_t source, uint8_t srcIfIdx)=0
 
virtual void systemBroadcastConfirm (AckType ack, FrameFormat format, Priority priority, uint16_t source, NPDU &npdu, bool status, uint8_t srcIfIdx)=0
 

Protected Attributes

DeviceObject_deviceObj
 
TransportLayer_transportLayer
 

Friends

class NetworkLayerEntity
 

Detailed Description

Definition at line 12 of file network_layer.h.

Constructor & Destructor Documentation

◆ NetworkLayer()

NetworkLayer::NetworkLayer ( DeviceObject deviceObj,
TransportLayer layer 
)

Definition at line 9 of file network_layer.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ broadcastConfirm()

virtual void NetworkLayer::broadcastConfirm ( AckType  ack,
FrameFormat  format,
Priority  priority,
uint16_t  source,
NPDU npdu,
bool  status,
uint8_t  srcIfIdx 
)
protectedpure virtual
Here is the caller graph for this function:

◆ broadcastIndication()

virtual void NetworkLayer::broadcastIndication ( AckType  ack,
FrameFormat  format,
NPDU npdu,
Priority  priority,
uint16_t  source,
uint8_t  srcIfIdx 
)
protectedpure virtual
Here is the caller graph for this function:

◆ dataBroadcastRequest()

virtual void NetworkLayer::dataBroadcastRequest ( AckType  ack,
HopCountType  hopType,
Priority  priority,
TPDU tpdu 
)
pure virtual

Implemented in NetworkLayerDevice, and NetworkLayerCoupler.

Here is the caller graph for this function:

◆ dataConfirm()

virtual void NetworkLayer::dataConfirm ( AckType  ack,
AddressType  addressType,
uint16_t  destination,
FrameFormat  format,
Priority  priority,
uint16_t  source,
NPDU npdu,
bool  status,
uint8_t  srcIfIdx 
)
protectedpure virtual
Here is the caller graph for this function:

◆ dataGroupRequest()

virtual void NetworkLayer::dataGroupRequest ( AckType  ack,
uint16_t  destination,
HopCountType  hopType,
Priority  priority,
TPDU tpdu 
)
pure virtual

Implemented in NetworkLayerDevice, and NetworkLayerCoupler.

Here is the caller graph for this function:

◆ dataIndication()

virtual void NetworkLayer::dataIndication ( AckType  ack,
AddressType  addType,
uint16_t  destination,
FrameFormat  format,
NPDU npdu,
Priority  priority,
uint16_t  source,
uint8_t  srcIfIdx 
)
protectedpure virtual
Here is the caller graph for this function:

◆ dataIndividualRequest()

virtual void NetworkLayer::dataIndividualRequest ( AckType  ack,
uint16_t  destination,
HopCountType  hopType,
Priority  priority,
TPDU tpdu 
)
pure virtual

Implemented in NetworkLayerDevice, and NetworkLayerCoupler.

Here is the caller graph for this function:

◆ dataSystemBroadcastRequest()

virtual void NetworkLayer::dataSystemBroadcastRequest ( AckType  ack,
HopCountType  hopType,
Priority  priority,
TPDU tpdu 
)
pure virtual

Implemented in NetworkLayerDevice, and NetworkLayerCoupler.

Here is the caller graph for this function:

◆ hopCount()

uint8_t NetworkLayer::hopCount ( ) const

Definition at line 16 of file network_layer.cpp.

Here is the caller graph for this function:

◆ isApciSystemBroadcast()

bool NetworkLayer::isApciSystemBroadcast ( APDU apdu)

Definition at line 21 of file network_layer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ systemBroadcastConfirm()

virtual void NetworkLayer::systemBroadcastConfirm ( AckType  ack,
FrameFormat  format,
Priority  priority,
uint16_t  source,
NPDU npdu,
bool  status,
uint8_t  srcIfIdx 
)
protectedpure virtual
Here is the caller graph for this function:

◆ systemBroadcastIndication()

virtual void NetworkLayer::systemBroadcastIndication ( AckType  ack,
FrameFormat  format,
NPDU npdu,
Priority  priority,
uint16_t  source,
uint8_t  srcIfIdx 
)
protectedpure virtual
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ NetworkLayerEntity

friend class NetworkLayerEntity
friend

Definition at line 14 of file network_layer.h.

Member Data Documentation

◆ _deviceObj

DeviceObject& NetworkLayer::_deviceObj
protected

Definition at line 29 of file network_layer.h.

◆ _transportLayer

TransportLayer& NetworkLayer::_transportLayer
protected

Definition at line 30 of file network_layer.h.


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