ns-3 PLC model
 All Classes Functions Variables Enumerations
Public Member Functions | Static Public Member Functions | Friends
ns3::PLC_Line Class Reference

Line connecting to nodes. More...

#include <plc-edge.h>

Inheritance diagram for ns3::PLC_Line:
ns3::PLC_Edge

List of all members.

Public Member Functions

 PLC_Line (Ptr< PLC_Cable > cable_type, Ptr< PLC_Node > from, Ptr< PLC_Node > to)
double GetIdealPropagationDelay (void)
Ptr< const PLC_CableGetCable (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

Detailed Description

Line connecting to nodes.


Constructor & Destructor Documentation

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

Parameters:
cable_typeInstance of cable model
fromFirst node
toSecond node

Member Function Documentation

template<typename ImpedanceReturnType , typename LoadImpedanceType >
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

Parameters:
z_lload impedance
Returns:
Input 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

Parameters:
dst_nodeOutput 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

Parameters:
dst_nodeOutput 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

Returns:
Approximation of the node attenuation

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

Returns:

Implements ns3::PLC_Edge.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations