Line connecting to nodes. More...
#include <plc-edge.h>
Public Member Functions | |
| PLC_Line (Ptr< PLC_Cable > cable_type, Ptr< PLC_Node > from, Ptr< PLC_Node > to) | |
| double | GetIdealPropagationDelay (void) |
| Ptr< const PLC_Cable > | GetCable (void) const |
|
Ptr< const PLC_FreqSelectiveImpedance > | GetCharLineImp (void) const |
|
Ptr< const PLC_FreqSelectiveImpedance > | GetTransLineConst (void) const |
| void | CalculateEdgeTransferFactor (PLC_Node *dst_node) |
| double | GetAttenuationApproxdB (void) |
| void | CalculateInputImpedance (PLC_Node *dst_node) |
| template<typename ImpedanceReturnType , typename LoadImpedanceType > | |
| ImpedanceReturnType | CalcLineInputImpedance (const LoadImpedanceType &z_l) |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
Friends | |
| class | PLC_Node |
Line connecting to nodes.
| ns3::PLC_Line::PLC_Line | ( | Ptr< PLC_Cable > | cable_type, |
| Ptr< PLC_Node > | from, | ||
| Ptr< PLC_Node > | to | ||
| ) |
Constructor of an edge of type line from node to node
| cable_type | Instance of cable model |
| from | First node |
| to | Second node |
| ImpedanceReturnType ns3::PLC_Line::CalcLineInputImpedance | ( | const LoadImpedanceType & | z_l | ) |
Template function for the calculation of input impedance of line heading to the load impedance of type LoadImpedanceType If LoadImpedanceType if time variant ImpedanceReturnType has to be PLC_TimeVariantFrequencySelectiveValue
| z_l | load impedance |
| void ns3::PLC_Line::CalculateEdgeTransferFactor | ( | PLC_Node * | dst_node | ) | [virtual] |
Triggers the calculation of the so called edge transfer factor which is the transfer function representation of a two port network
| dst_node | Output destination node |
Implements ns3::PLC_Edge.
| void ns3::PLC_Line::CalculateInputImpedance | ( | PLC_Node * | dst_node | ) | [virtual] |
Triggers calculation of the input impedance of this node This function is recursive
| dst_node | Output destination node |
Implements ns3::PLC_Edge.
| double ns3::PLC_Line::GetAttenuationApproxdB | ( | void | ) | [virtual] |
Approximation of the damping through this edge. This function is not used yet, but meant to reduce the computational effort in order to mask non reachable nodes
Implements ns3::PLC_Edge.
| double ns3::PLC_Line::GetIdealPropagationDelay | ( | void | ) | [inline, virtual] |
Propagation delay for signals running through this node Ideal because the calculated delay is non dispersive
Implements ns3::PLC_Edge.
1.7.6.1