|
INET Framework for OMNeT++/OMNEST
|
#include <Units.h>
Public Types | |
| typedef Value | value_type |
| typedef Units | unit |
Public Member Functions | |
| value () | |
| value (const value_type &v) | |
| template<typename OtherValue , typename OtherUnits > | |
| value (const value< OtherValue, OtherUnits > &v) | |
| std::string | str () const |
| const value_type & | get () const |
| void | set (const value_type &v) |
| template<typename OtherValue , typename OtherUnits > | |
| value & | operator= (const value< OtherValue, OtherUnits > &other) |
| template<typename OtherValue , typename OtherUnits , typename ResultValue = typename std::remove_cv<decltype(Value() + OtherValue())>::type> | |
| value< ResultValue, Units > | operator+ (const value< OtherValue, OtherUnits > &other) const |
| template<typename OtherValue , typename OtherUnits > | |
| value & | operator+= (const value< OtherValue, OtherUnits > &other) |
| template<typename OtherValue , typename OtherUnits > | |
| value & | operator-= (const value< OtherValue, OtherUnits > &other) |
| template<typename OtherValue , typename OtherUnits , typename ResultValue = typename std::remove_cv<decltype(Value() - OtherValue())>::type> | |
| value< ResultValue, Units > | operator- (const value< OtherValue, OtherUnits > &other) const |
| value | operator- () const |
| template<typename OtherValue , typename OtherUnits , typename ResultValue = typename std::remove_cv<decltype(Value() * OtherValue())>::type> | |
| value< ResultValue, compose< Units, OtherUnits > > | operator* (const value< OtherValue, OtherUnits > &other) const |
| template<typename OtherValue > | |
| value | operator* (OtherValue v) const |
| value & | operator*= (const value_type &v) |
| template<typename OtherValue , typename OtherUnits , typename ResultValue = typename std::remove_cv<decltype(Value() / OtherValue())>::type> | |
| value< ResultValue, compose< Units, pow< OtherUnits, -1 > > > | operator/ (const value< OtherValue, OtherUnits > &other) const |
| value | operator/ (const value_type &v) const |
| value & | operator/= (const value_type &v) |
| template<typename OtherValue , typename OtherUnits > | |
| bool | operator== (const value< OtherValue, OtherUnits > &other) const |
| template<typename OtherValue , typename OtherUnits > | |
| bool | operator!= (const value< OtherValue, OtherUnits > &other) const |
| template<typename OtherValue , typename OtherUnits > | |
| bool | operator< (const value< OtherValue, OtherUnits > &other) const |
| template<typename OtherValue , typename OtherUnits > | |
| bool | operator<= (const value< OtherValue, OtherUnits > &other) const |
| template<typename OtherValue , typename OtherUnits > | |
| bool | operator> (const value< OtherValue, OtherUnits > &other) const |
| template<typename OtherValue , typename OtherUnits > | |
| bool | operator>= (const value< OtherValue, OtherUnits > &other) const |
| value & | operator++ () |
| value | operator++ (int) |
| value & | operator-- () |
| value | operator-- (int) |
Private Attributes | |
| value_type | m_rep |
| typedef Units inet::units::value< Value, Units >::unit |
| typedef Value inet::units::value< Value, Units >::value_type |
|
inline |
Referenced by inet::units::value< Value, Units >::operator!=(), inet::units::value< Value, Units >::operator*(), inet::units::value< Value, Units >::operator+=(), inet::units::value< Value, Units >::operator-(), inet::units::value< Value, Units >::operator-=(), inet::units::value< Value, Units >::operator/(), inet::units::value< Value, Units >::operator<(), inet::units::value< Value, Units >::operator<=(), inet::units::value< Value, Units >::operator=(), inet::units::value< Value, Units >::operator==(), inet::units::value< Value, Units >::operator>(), and inet::units::value< Value, Units >::operator>=().
|
inlineexplicit |
|
inline |
|
inline |
Referenced by inet::SharingRegionTagSet::RegionTag< T >::_getTag(), inet::StreamingTransmitter::abortTx(), inet::StreamThroughTransmitter::abortTx(), inet::Ipv6Header::addExtensionHeader(), inet::SharingRegionTagSet::addTagsWhereAbsent(), inet::physicallayer::MqamModulationBase::calculateBER(), inet::PacketTransmitterBase::calculateClockTimeDuration(), inet::physicallayer::MqamModulationBase::calculateSER(), inet::physicallayer::BpskModulation::calculateSER(), inet::queueing::PeriodicGate::canPacketFlowThrough(), inet::physicallayer::ConstantSpeedPropagation::computeArrival(), inet::physicallayer::ScalarNoise::computeMaxPower(), inet::physicallayer::ScalarNoise::computeMinPower(), inet::physicallayer::IsotropicDimensionalBackgroundNoise::computeNoise(), inet::physicallayer::IsotropicScalarBackgroundNoise::computeNoise(), inet::physicallayer::Ieee80211BerTableErrorModel::computePacketErrorRate(), inet::physicallayer::BreakpointPathLoss::computePathLoss(), inet::physicallayer::BreakpointPathLoss::computeRange(), inet::physicallayer::ScalarAnalogModelBase::computeReceptionPower(), inet::physicallayer::TwoRayInterference::computeTwoRayInterference(), inet::L3NetworkConfiguratorBase::computeWirelessLinkWeight(), inet::physicallayer::ApskLayeredTransmitter::createAnalogModel(), inet::physicallayer::DimensionalTransmitterBase::createGainFunction(), inet::physicallayer::ApskRadio::decapsulate(), inet::physicallayer::ApskPhyHeaderSerializer::deserialize(), inet::GenericAppMsgSerializer::deserialize(), inet::VoipStreamPacketSerializer::deserialize(), inet::PimPacketSerializer::deserialize(), inet::bgp::BgpHeaderSerializer::deserialize(), inet::FieldsChunkSerializer::deserialize(), inet::ospfv2::Ospfv2PacketSerializer::deserialize(), inet::ospfv2::Ospfv2PacketSerializer::deserializeAsExternalLsa(), inet::ospfv2::Ospfv2PacketSerializer::deserializeNetworkLsa(), inet::ospfv2::Ospfv2PacketSerializer::deserializeSummaryLsa(), inet::units::doParsimPacking(), inet::ieee80211::RateControlBase::emitDatarateChangedSignal(), inet::power::SimpleEpEnergyManagement::executeNodeOperation(), inet::physicallayer::Ieee80211ModeSet::findMode(), inet::get_pointer(), inet::physicallayer::Ieee80211YansErrorModel::getBpskBer(), inet::physicallayer::Ieee80211OfdmMode::getCcaTime(), inet::physicallayer::Ieee80211NistErrorModel::getDataSuccessRate(), inet::physicallayer::Ieee80211YansErrorModel::getDataSuccessRate(), inet::physicallayer::Ieee80211NistErrorModel::getDSSSAndHrDSSSChunkSuccessRate(), inet::physicallayer::Ieee80211YansErrorModel::getDSSSAndHrDSSSChunkSuccessRate(), inet::physicallayer::Ieee80211FhssDataMode::getDuration(), inet::physicallayer::Ieee80211DsssDataMode::getDuration(), inet::physicallayer::Ieee80211IrDataMode::getDuration(), inet::physicallayer::Ieee80211HrDsssDataMode::getDuration(), inet::physicallayer::Ieee80211VhtModeBase::getGrossBitrate(), inet::physicallayer::Ieee80211OfdmModeBase::getGrossBitrate(), inet::physicallayer::Ieee80211HtModeBase::getGrossBitrate(), inet::physicallayer::MediumLimitCache::getMaxCommunicationRange(), inet::physicallayer::MediumLimitCache::getMaxInterferenceRange(), inet::physicallayer::Ieee80211ModeSet::getMode(), inet::physicallayer::Ieee80211VhtModeBase::getNetBitrate(), inet::physicallayer::Ieee80211OfdmModeBase::getNetBitrate(), inet::physicallayer::Ieee80211HtModeBase::getNetBitrate(), inet::physicallayer::Ieee80211OfdmMode::getPhyRxStartDelay(), inet::physicallayer::Ieee80211YansErrorModel::getQamBer(), inet::physicallayer::Ieee80211OfdmMode::getSifsTime(), inet::physicallayer::Ieee80211OfdmMode::getSlotTime(), inet::SharingRegionTagSet::getTagIndex(), inet::physicallayer::SpaceAndFrequencyDependentAttenuationFunction::getValue(), inet::physicallayer::SpaceDependentAttenuationFunction::getValue(), inet::physicallayer::PropagatedTransmissionPowerFunction::getValue(), inet::power::SimpleEpEnergyStorage::handleMessage(), inet::physicallayer::FlatRadioBase::handleUpperCommand(), inet::physicallayer::NarrowbandRadioBase::handleUpperCommand(), inet::ieee80211::Ieee80211Mac::handleUpperCommand(), inet::Udp::handleUpperPacket(), inet::physicallayer::ErrorModelBase::hasProbabilisticError(), inet::physicallayer::IsotropicDimensionalBackgroundNoise::initialize(), inet::physicallayer::Ieee80211LayeredOfdmTransmitter::initialize(), inet::physicallayer::FreeSpacePathLoss::initialize(), inet::tcp::TcpReceiveQueue::insertBytesFromSegment(), inet::physicallayer::RadioMedium::isInCommunicationRange(), inet::physicallayer::RadioMedium::isInInterferenceRange(), inet::EulerAngles::isUnspecified(), inet::queueing::FlowMeasurementRecorder::makeMeasurement(), inet::SharingRegionTagSet::mapAllTags(), inet::SharingRegionTagSet::mapAllTagsForUpdate(), inet::queueing::PacketTaggerBase::markPacket(), inet::queueing::StatisticalRateLimiter::matchesPacket(), inet::physicallayer::maxIgnoreNaN(), inet::physicallayer::minIgnoreNaN(), inet::EulerAngles::normalize(), inet::tcp::TcpReceiveQueue::offsetToSeq(), inet::operator!=(), inet::units::value< Value, Units >::operator!=(), inet::units::value< Value, Units >::operator*(), inet::units::operator*(), inet::units::value< Value, Units >::operator+(), inet::units::value< Value, Units >::operator-(), inet::units::value< Value, Units >::operator/(), inet::units::operator/(), inet::operator<(), inet::units::value< Value, Units >::operator<(), inet::operator<<(), inet::units::operator<<(), inet::units::value< Value, Units >::operator<=(), inet::operator==(), inet::units::value< Value, Units >::operator==(), inet::units::value< Value, Units >::operator>(), inet::units::value< Value, Units >::operator>=(), inet::ospfv3::Ospfv3Area::originateInterAreaPrefixLSA(), inet::ospfv3::Ospfv3Area::originateIntraAreaPrefixLSA(), inet::ospfv3::Ospfv3Interface::originateLinkLSA(), inet::ospfv3::Ospfv3Area::originateNetIntraAreaPrefixLSA(), inet::ospfv3::Ospfv3Area::originateNetworkLSA(), inet::ospfv2::Ospfv2Area::originateRouterLSA(), inet::rtp::RtcpPacket::paddingAndSetLength(), inet::FieldsChunk::parsimPack(), inet::Packet::parsimPack(), inet::math::DividedFunction< R, D >::partition(), inet::ByteCountChunk::peekUnchecked(), inet::BytesChunk::peekUnchecked(), inet::ospfv3::Ospfv3Interface::prepareLSUHeader(), inet::ospfv3::Ospfv3Interface::prepareUpdatePacket(), inet::Ipv4ProtocolPrinter::print(), inet::Ipv6ProtocolPrinter::print(), inet::physicallayer::IsotropicDimensionalBackgroundNoise::printToStream(), inet::tcp::TcpConnection::process_RCV_SEGMENT(), inet::tcp::TcpConnection::processSegment1stThru8th(), inet::StreamThroughTransmitter::progressTx(), inet::queueing::PacketBasedTokenGenerator::pushPacket(), inet::PacketStreamer::pushPacket(), inet::PreemptableStreamer::pushPacket(), inet::utils::filters::ReceptionMinSignalPowerFilter::receiveSignal(), inet::utils::filters::FlowPacketLengthFilter::receiveSignal(), inet::power::SimpleEpEnergyManagement::refreshDisplay(), inet::StreamingTransmitterBase::scheduleAt(), inet::power::SimpleEpEnergyManagement::scheduleLifecycleOperationTimer(), inet::power::SimpleEpEnergyStorage::scheduleTimer(), inet::ospfv3::Ospfv3Neighbor::sendDDPacket(), inet::ospfv3::Ospfv3Interface::sendDelayedAcknowledgements(), inet::sctp::SctpAssociation::sendOnPath(), inet::Rip::sendRoutes(), inet::physicallayer::RadioMedium::sendToAffectedRadios(), inet::tcp::TcpConnection::sendToIP(), inet::GenericAppMsgSerializer::serialize(), inet::EtherAppReqSerializer::serialize(), inet::UnitDiskPhyHeaderSerializer::serialize(), inet::VoipStreamPacketSerializer::serialize(), inet::physicallayer::ApskPhyHeaderSerializer::serialize(), inet::ApplicationPacketSerializer::serialize(), inet::AckingMacHeaderSerializer::serialize(), inet::Ipv4HeaderSerializer::serialize(), inet::FieldsChunkSerializer::serialize(), inet::EtherAppRespSerializer::serialize(), inet::power::SimpleCcBattery::setResidualCapacity(), inet::power::SimpleEpEnergyStorage::setResidualCapacity(), inet::MassMobility::setTargetPosition(), inet::units::sqrt(), inet::EthernetCsmaMac::startFrameTransmission(), inet::math::toDouble(), inet::ieee80211::Dcf::transmitControlResponseFrame(), inet::ieee80211::Hcf::transmitControlResponseFrame(), inet::power::IdealEpEnergyStorage::updateEnergyBalance(), inet::power::AlternatingEpEnergyConsumer::updatePowerConsumption(), inet::power::AlternatingEpEnergyGenerator::updatePowerGeneration(), inet::power::CcEnergyStorageBase::updateTotalCurrentConsumption(), inet::power::CcEnergyStorageBase::updateTotalCurrentGeneration(), inet::power::EpEnergyStorageBase::updateTotalPowerConsumption(), and inet::power::EpEnergyStorageBase::updateTotalPowerGeneration().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by inet::units::doParsimUnpacking().
|
inline |
Referenced by inet::IPrintableObject::getCompleteStringRepresentation(), inet::IPrintableObject::getDebugStringRepresentation(), inet::IPrintableObject::getDetailStringRepresentation(), inet::IPrintableObject::getInfoStringRepresentation(), inet::IPrintableObject::getTraceStringRepresentation(), inet::EthernetMac::handleUpperPacket(), inet::EthernetCsmaMac::handleUpperPacket(), inet::physicallayer::ApskLayeredTransmitter::initialize(), inet::ospfv2::Router::printAsExternalLsa(), inet::ospfv2::Ospfv2Area::printLSDB(), inet::ospfv2::Ospfv2Area::printSummaryLsa(), inet::IPrintableObject::printToString(), inet::printToStringIfPossible(), inet::EthernetEncapsulation::processPacketFromHigherLayer(), inet::GroupCountRecorder::receiveSignal(), inet::queueing::PacketBufferBase::resolveDirective(), inet::queueing::PacketQueueBase::resolveDirective(), inet::power::SimpleCcBattery::resolveDirective(), inet::queueing::PacketFilterBase::resolveDirective(), inet::power::SimpleEpEnergyStorage::resolveDirective(), inet::queueing::PacketProcessorBase::resolveDirective(), inet::EtherAppServer::socketDataArrived(), inet::ModuleIdAddress::str(), inet::ModulePathAddress::str(), inet::units::values::unit2string(), and inet::power::AlternatingEpEnergyGenerator::updatePowerGeneration().
|
private |
Referenced by inet::units::value< Value, Units >::get(), inet::units::value< Value, Units >::operator*=(), inet::units::value< Value, Units >::operator++(), inet::units::value< Value, Units >::operator+=(), inet::units::value< Value, Units >::operator--(), inet::units::value< Value, Units >::operator-=(), inet::units::value< Value, Units >::operator/=(), inet::units::value< Value, Units >::operator=(), and inet::units::value< Value, Units >::set().