knx
ETS configurable knx-stack
NetworkLayerCoupler Class Reference

#include <network_layer_coupler.h>

Inheritance diagram for NetworkLayerCoupler:
[legend]
Collaboration diagram for NetworkLayerCoupler:
[legend]

Public Member Functions

 NetworkLayerCoupler (DeviceObject &deviceObj, TransportLayer &layer)
 
NetworkLayerEntitygetPrimaryInterface ()
 
NetworkLayerEntitygetSecondaryInterface ()
 
bool isRoutedIndividualAddress (uint16_t individualAddress, uint8_t srcIfIndex)
 
bool isRoutedGroupAddress (uint16_t groupAddress, uint8_t sourceInterfaceIndex)
 
void rtObjPrimary (RouterObject &rtObjPrimary)
 
void rtObjSecondary (RouterObject &rtObjSecondary)
 
void rtObj (RouterObject &rtObj)
 
void dataIndividualRequest (AckType ack, uint16_t destination, HopCountType hopType, Priority priority, TPDU &tpdu) override
 
void dataGroupRequest (AckType ack, uint16_t destination, HopCountType hopType, Priority priority, TPDU &tpdu) override
 
void dataBroadcastRequest (AckType ack, HopCountType hopType, Priority priority, TPDU &tpdu) override
 
void dataSystemBroadcastRequest (AckType ack, HopCountType hopType, Priority priority, TPDU &tpdu) override
 
- Public Member Functions inherited from NetworkLayer
 NetworkLayer (DeviceObject &deviceObj, TransportLayer &layer)
 
uint8_t hopCount () const
 
bool isApciSystemBroadcast (APDU &apdu)
 

Friends

class NetworkLayerEntity
 

Additional Inherited Members

- Protected Attributes inherited from NetworkLayer
DeviceObject_deviceObj
 
TransportLayer_transportLayer
 

Detailed Description

Definition at line 13 of file network_layer_coupler.h.

Constructor & Destructor Documentation

◆ NetworkLayerCoupler()

NetworkLayerCoupler::NetworkLayerCoupler ( DeviceObject deviceObj,
TransportLayer layer 
)

Definition at line 9 of file network_layer_coupler.cpp.

Member Function Documentation

◆ dataBroadcastRequest()

void NetworkLayerCoupler::dataBroadcastRequest ( AckType  ack,
HopCountType  hopType,
Priority  priority,
TPDU tpdu 
)
overridevirtual

Implements NetworkLayer.

Definition at line 612 of file network_layer_coupler.cpp.

Here is the call graph for this function:

◆ dataGroupRequest()

void NetworkLayerCoupler::dataGroupRequest ( AckType  ack,
uint16_t  destination,
HopCountType  hopType,
Priority  priority,
TPDU tpdu 
)
overridevirtual

Implements NetworkLayer.

Definition at line 593 of file network_layer_coupler.cpp.

Here is the call graph for this function:

◆ dataIndividualRequest()

void NetworkLayerCoupler::dataIndividualRequest ( AckType  ack,
uint16_t  destination,
HopCountType  hopType,
Priority  priority,
TPDU tpdu 
)
overridevirtual

Implements NetworkLayer.

Definition at line 576 of file network_layer_coupler.cpp.

Here is the call graph for this function:

◆ dataSystemBroadcastRequest()

void NetworkLayerCoupler::dataSystemBroadcastRequest ( AckType  ack,
HopCountType  hopType,
Priority  priority,
TPDU tpdu 
)
overridevirtual

Implements NetworkLayer.

Definition at line 627 of file network_layer_coupler.cpp.

Here is the call graph for this function:

◆ getPrimaryInterface()

NetworkLayerEntity & NetworkLayerCoupler::getPrimaryInterface ( )

Definition at line 18 of file network_layer_coupler.cpp.

Here is the caller graph for this function:

◆ getSecondaryInterface()

NetworkLayerEntity & NetworkLayerCoupler::getSecondaryInterface ( )

Definition at line 23 of file network_layer_coupler.cpp.

Here is the caller graph for this function:

◆ isRoutedGroupAddress()

bool NetworkLayerCoupler::isRoutedGroupAddress ( uint16_t  groupAddress,
uint8_t  sourceInterfaceIndex 
)

Definition at line 90 of file network_layer_coupler.cpp.

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

◆ isRoutedIndividualAddress()

bool NetworkLayerCoupler::isRoutedIndividualAddress ( uint16_t  individualAddress,
uint8_t  srcIfIndex 
)

Definition at line 169 of file network_layer_coupler.cpp.

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

◆ rtObj()

void NetworkLayerCoupler::rtObj ( RouterObject rtObj)

Definition at line 28 of file network_layer_coupler.cpp.

Here is the caller graph for this function:

◆ rtObjPrimary()

void NetworkLayerCoupler::rtObjPrimary ( RouterObject rtObjPrimary)

Definition at line 34 of file network_layer_coupler.cpp.

Here is the caller graph for this function:

◆ rtObjSecondary()

void NetworkLayerCoupler::rtObjSecondary ( RouterObject rtObjSecondary)

Definition at line 39 of file network_layer_coupler.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ NetworkLayerEntity

friend class NetworkLayerEntity
friend

Definition at line 15 of file network_layer_coupler.h.


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