ns-3 PLC model
 All Classes Functions Variables Enumerations
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
ns3::PLC_ValueBase Class Reference

Base class for PLC values types. More...

#include <plc-value.h>

Inheritance diagram for ns3::PLC_ValueBase:
ns3::PLC_ConstValue ns3::PLC_FreqSelectiveValue ns3::PLC_TimeVariantConstValue ns3::PLC_TimeVariantFreqSelectiveValue

List of all members.

Public Types

enum  PLC_ValueType { CONSTANT, FREQ_SELECTIVE, TIMEVARIANT_CONSTANT, TIMEVARIANT_FREQ_SELECTIVE }

Public Member Functions

 PLC_ValueBase (Ptr< const SpectrumModel > sm, PLC_ValueType type)
PLC_ValueType GetValueType (void) const
Ptr< const SpectrumModel > GetSpectrumModel (void) const
size_t GetNumBands (void) const
void Lock (void) const
void Unlock (void) const
bool IsTimeVariant (void) const
Ptr< PLC_ValueBaseCopy (void)

Protected Member Functions

virtual void pureVirtualDummy (void)=0

Protected Attributes

PLC_Mutex m_mutex
Ptr< const SpectrumModel > m_spectrum_model
PLC_ValueType m_value_type

Friends

std::ostream & operator<< (std::ostream &stream, PLC_ValueBase &value)

Detailed Description

Base class for PLC values types.

The PLC value classes are used for efficient operations among different value types. A value is a set of complex numbers which can be constant in time and/or frequency as well as time variant with respect to the main cycle. PLC value classes are used to represent network impedances, channel transfer functions and ABCD parameters for two port networks.


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