Base class for PLC values types. More...
#include <plc-value.h>
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_ValueBase > | Copy (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) |
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.