A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
Time Attribute

AttributeValue implementation for Time. More...

+ Collaboration diagram for Time Attribute:

Classes

class  TimeChecker
 AttributeChecker implementation for TimeValue. More...
 
class  ns3::TimeValue
 AttributeValue implementation for Time. More...
 

Functions

Ptr< const AttributeCheckerns3::MakeTimeChecker ()
 Helper to make an unbounded Time checker.
 
Ptr< const AttributeCheckerns3::MakeTimeChecker (const Time min)
 Helper to make a Time checker with a lower bound.
 
Ptr< const AttributeCheckerns3::MakeTimeChecker (const Time min, const Time max)
 Helper to make a Time checker with bounded range.
 

Detailed Description

AttributeValue implementation for Time.

See also
ns3::Time

Function Documentation

◆ MakeTimeChecker() [1/3]

ns3::Ptr< const ns3::AttributeChecker > ns3::MakeTimeChecker ( )
inline

Helper to make an unbounded Time checker.

Returns
The AttributeChecker
The AttributeChecker.
See also
AttributeChecker

Definition at line 1452 of file nstime.h.

References ns3::MakeTimeChecker(), ns3::Time::Max(), and ns3::Time::Min().

Referenced by ns3::ApWifiMac::GetTimeAccessParamsChecker(), ns3::aodv::RoutingProtocol::GetTypeId(), ns3::QKDApp004::GetTypeId(), ns3::QKDApp014::GetTypeId(), ns3::ThreeGppHttpVariables::GetTypeId(), ns3::UdpClient::GetTypeId(), ns3::UdpEchoClient::GetTypeId(), ns3::BridgeNetDevice::GetTypeId(), ns3::RandomWalk2dOutdoorMobilityModel::GetTypeId(), ns3::RealtimeSimulatorImpl::GetTypeId(), AttributeObjectTest::GetTypeId(), ns3::CsmaChannel::GetTypeId(), ns3::dsdv::RoutingProtocol::GetTypeId(), ns3::dsr::DsrRouting::GetTypeId(), ns3::energy::BasicEnergyHarvester::GetTypeId(), ns3::energy::BasicEnergySource::GetTypeId(), ns3::energy::GenericBatteryModel::GetTypeId(), ns3::energy::LiIonEnergySource::GetTypeId(), ns3::energy::RvBatteryModel::GetTypeId(), ns3::DpdkNetDevice::GetTypeId(), ns3::FdNetDevice::GetTypeId(), ns3::FlowMonitor::GetTypeId(), ns3::DhcpClient::GetTypeId(), ns3::DhcpServer::GetTypeId(), ns3::Ping::GetTypeId(), ns3::V4TraceRoute::GetTypeId(), ns3::ArpCache::GetTypeId(), ns3::Icmpv6L4Protocol::GetTypeId(), ns3::Ipv4L3Protocol::GetTypeId(), ns3::Ipv6ExtensionFragment::GetTypeId(), ns3::Ipv6PmtuCache::GetTypeId(), ns3::Rip::GetTypeId(), ns3::RipNg::GetTypeId(), ns3::RttEstimator::GetTypeId(), ns3::TcpBbr::GetTypeId(), ns3::TcpCubic::GetTypeId(), ns3::TcpHtcp::GetTypeId(), ns3::TcpHybla::GetTypeId(), ns3::TcpLedbat::GetTypeId(), ns3::TcpSocketBase::GetTypeId(), ns3::TcpSocket::GetTypeId(), ns3::NoBackhaulEpcHelper::GetTypeId(), ns3::PointToPointEpcHelper::GetTypeId(), ns3::RadioBearerStatsCalculator::GetTypeId(), ns3::A3RsrpHandoverAlgorithm::GetTypeId(), ns3::LteEnbRrc::GetTypeId(), ns3::LteFfrDistributedAlgorithm::GetTypeId(), ns3::LteRlcAm::GetTypeId(), ns3::LteRlcUm::GetTypeId(), ns3::LteUePhy::GetTypeId(), ns3::LteUeRrc::GetTypeId(), EpsBearerTagUdpClient::GetTypeId(), ns3::dot11s::HwmpProtocol::GetTypeId(), ns3::dot11s::PeerLink::GetTypeId(), ns3::flame::FlameProtocol::GetTypeId(), ns3::flame::FlameRtable::GetTypeId(), ns3::MeshWifiInterfaceMac::GetTypeId(), ns3::GaussMarkovMobilityModel::GetTypeId(), ns3::RandomWalk2dMobilityModel::GetTypeId(), ns3::Application::GetTypeId(), ns3::DynamicQueueLimits::GetTypeId(), ns3::PacketSocketClient::GetTypeId(), ns3::SimpleChannel::GetTypeId(), ns3::olsr::RoutingProtocol::GetTypeId(), ns3::ofi::LearningController::GetTypeId(), ns3::OpenFlowSwitchNetDevice::GetTypeId(), ns3::PointToPointChannel::GetTypeId(), ns3::PointToPointNetDevice::GetTypeId(), ns3::ThreeGppChannelConditionModel::GetTypeId(), ns3::SixLowPanNetDevice::GetTypeId(), ns3::SpectrumAnalyzer::GetTypeId(), ns3::ThreeGppChannelModel::GetTypeId(), ns3::TraceFadingLossModel::GetTypeId(), ns3::TvSpectrumTransmitter::GetTypeId(), ns3::WaveformGenerator::GetTypeId(), ns3::Probe::GetTypeId(), ns3::TapBridge::GetTypeId(), ns3::CobaltQueueDisc::GetTypeId(), ns3::CoDelQueueDisc::GetTypeId(), ns3::FqCobaltQueueDisc::GetTypeId(), ns3::FqCoDelQueueDisc::GetTypeId(), ns3::FqPieQueueDisc::GetTypeId(), ns3::PieQueueDisc::GetTypeId(), ns3::RedQueueDisc::GetTypeId(), ns3::UanMacCw::GetTypeId(), ns3::UanMacRcGw::GetTypeId(), ns3::UanMacRc::GetTypeId(), ns3::AthstatsWifiTraceSink::GetTypeId(), ns3::ApWifiMac::GetTypeId(), ns3::AdvancedEmlsrManager::GetTypeId(), ns3::EhtConfiguration::GetTypeId(), ns3::EmlsrManager::GetTypeId(), ns3::FrameCaptureModel::GetTypeId(), ns3::HeConfiguration::GetTypeId(), ns3::MultiUserScheduler::GetTypeId(), ns3::RrMultiUserScheduler::GetTypeId(), ns3::QosTxop::GetTypeId(), ns3::AmrrWifiManager::GetTypeId(), ns3::MinstrelHtWifiManager::GetTypeId(), ns3::MinstrelWifiManager::GetTypeId(), ns3::OnoeWifiManager::GetTypeId(), ns3::RraaWifiManager::GetTypeId(), ns3::RrpaaWifiManager::GetTypeId(), ns3::StaWifiMac::GetTypeId(), ns3::Txop::GetTypeId(), ns3::WifiDefaultAssocManager::GetTypeId(), ns3::WifiMacQueue::GetTypeId(), ns3::WifiPhy::GetTypeId(), ns3::WifiRemoteStationManager::GetTypeId(), ns3::BaseStationNetDevice::GetTypeId(), ns3::UplinkSchedulerMBQoS::GetTypeId(), ns3::SubscriberStationNetDevice::GetTypeId(), ns3::WimaxPhy::GetTypeId(), ns3::zigbee::ZigbeeNwk::GetTypeId(), ns3::MakeTimeChecker(), and ns3::MakeTimeChecker().

+ Here is the call graph for this function:

◆ MakeTimeChecker() [2/3]

Ptr< const AttributeChecker > ns3::MakeTimeChecker ( const Time  min)
inline

Helper to make a Time checker with a lower bound.

Parameters
[in]minMinimum allowed value.
Returns
The AttributeChecker

Definition at line 1465 of file nstime.h.

References ns3::MakeTimeChecker(), and ns3::Time::Max().

+ Here is the call graph for this function:

◆ MakeTimeChecker() [3/3]

Ptr< const AttributeChecker > ns3::MakeTimeChecker ( const Time  min,
const Time  max 
)

Helper to make a Time checker with bounded range.

Both limits are inclusive

Parameters
[in]minMinimum allowed value.
[in]maxMaximum allowed value.
Returns
The AttributeChecker

Definition at line 522 of file time.cc.

References ns3::Copy(), ns3::Create(), ns3::TimeValue::Get(), NS_LOG_FUNCTION, and NS_LOG_FUNCTION_NOARGS.

+ Here is the call graph for this function: