a unique identifier for an interface. More...
#include <type-id.h>
Classes | |
struct | AttributeInformation |
struct | TraceSourceInformation |
Public Types | |
enum | AttributeFlag { ATTR_GET = 1<<0, ATTR_SET = 1<<1, ATTR_CONSTRUCT = 1<<2, ATTR_SGC = ATTR_GET | ATTR_SET | ATTR_CONSTRUCT } |
Public Member Functions | |
TypeId (const char *name) | |
TypeId () | |
TypeId (const TypeId &o) | |
~TypeId () | |
TypeId | AddAttribute (std::string name, std::string help, const AttributeValue &initialValue, Ptr< const AttributeAccessor > accessor, Ptr< const AttributeChecker > checker) |
TypeId | AddAttribute (std::string name, std::string help, uint32_t flags, const AttributeValue &initialValue, Ptr< const AttributeAccessor > accessor, Ptr< const AttributeChecker > checker) |
template<typename T > | |
TypeId | AddConstructor (void) |
TypeId | AddTraceSource (std::string name, std::string help, Ptr< const TraceSourceAccessor > accessor) |
struct TypeId::AttributeInformation | GetAttribute (uint32_t i) const |
std::string | GetAttributeFullName (uint32_t i) const |
uint32_t | GetAttributeN (void) const |
Callback< ObjectBase * > | GetConstructor (void) const |
std::string | GetGroupName (void) const |
std::string | GetName (void) const |
TypeId | GetParent (void) const |
struct TypeId::TraceSourceInformation | GetTraceSource (uint32_t i) const |
uint32_t | GetTraceSourceN (void) const |
uint16_t | GetUid (void) const |
bool | HasConstructor (void) const |
bool | HasParent (void) const |
TypeId | HideFromDocumentation (void) |
bool | IsChildOf (TypeId other) const |
bool | LookupAttributeByName (std::string name, struct AttributeInformation *info) const |
Ptr< const TraceSourceAccessor > | LookupTraceSourceByName (std::string name) const |
bool | MustHideFromDocumentation (void) const |
TypeId & | operator= (const TypeId &o) |
bool | SetAttributeInitialValue (uint32_t i, Ptr< const AttributeValue > initialValue) |
TypeId | SetGroupName (std::string groupName) |
TypeId | SetParent (TypeId tid) |
template<typename T > | |
TypeId | SetParent (void) |
void | SetUid (uint16_t tid) |
Static Public Member Functions | |
static TypeId | GetRegistered (uint32_t i) |
static uint32_t | GetRegisteredN (void) |
static TypeId | LookupByName (std::string name) |
static bool | LookupByNameFailSafe (std::string name, TypeId *tid) |
Private Member Functions | |
TypeId (uint16_t tid) | |
void | DoAddConstructor (Callback< ObjectBase * > callback) |
Private Attributes | |
uint16_t | m_tid |
Friends | |
class | AttributeList |
bool | operator!= (TypeId a, TypeId b) |
bool | operator< (TypeId a, TypeId b) |
bool | operator== (TypeId a, TypeId b) |
a unique identifier for an interface.
This class records a lot of meta-information about a subclass of the Object base class:
|
explicit |
name | the name of the interface to construct. |
No two instances can share the same name. The name is expected to be the full c++ typename of associated c++ object.
Definition at line 372 of file type-id.cc.
|
inline |
Definition at line 350 of file type-id.h.
Referenced by GetParent(), GetRegistered(), LookupByName(), and LookupByNameFailSafe().
|
explicitprivate |
Definition at line 380 of file type-id.cc.
TypeId ns3::TypeId::AddAttribute | ( | std::string | name, |
std::string | help, | ||
const AttributeValue & | initialValue, | ||
Ptr< const AttributeAccessor > | accessor, | ||
Ptr< const AttributeChecker > | checker | ||
) |
name | the name of the new attribute |
help | some help text which describes the purpose of this attribute. |
initialValue | the initial value for this attribute. |
accessor | an instance of the associated AttributeAccessor subclass. |
checker | an instance of the associated AttributeChecker subclass. |
Record in this TypeId the fact that a new attribute exists.
Definition at line 497 of file type-id.cc.
References ATTR_SGC, ns3::AttributeValue::Copy(), and m_tid.
Referenced by ns3::Ns3NscStack::GetInstanceTypeId().
TypeId ns3::TypeId::AddAttribute | ( | std::string | name, |
std::string | help, | ||
uint32_t | flags, | ||
const AttributeValue & | initialValue, | ||
Ptr< const AttributeAccessor > | accessor, | ||
Ptr< const AttributeChecker > | checker | ||
) |
name | the name of the new attribute |
help | some help text which describes the purpose of this attribute |
flags | flags which describe how this attribute can be read and/or written. |
initialValue | the initial value for this attribute. |
accessor | an instance of the associated AttributeAccessor subclass. |
checker | an instance of the associated AttributeChecker subclass. |
Record in this TypeId the fact that a new attribute exists.
Definition at line 508 of file type-id.cc.
References ns3::AttributeValue::Copy(), and m_tid.
TypeId ns3::TypeId::AddConstructor | ( | void | ) |
Record in this TypeId the fact that the default constructor is accessible.
Definition at line 388 of file type-id.h.
References ns3::Create(), DoAddConstructor(), and ns3::MakeCallback().
Referenced by TestObject::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseA::GetTypeId(), ns3::anonymous_namespace{packet-test-suite.cc}::ATestTag< N >::GetTypeId(), AlternateTestObject::GetTypeId(), ns3::Ipv6ExtensionHeader::GetTypeId(), anonymous_namespace{object-test-suite.cc}::DerivedA::GetTypeId(), ns3::Ipv6OptionHeader::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseB::GetTypeId(), ns3::Derived::GetTypeId(), ns3::dsr::DsrOptionHeader::GetTypeId(), ns3::DcaTxop::GetTypeId(), anonymous_namespace{packet-metadata-test.cc}::HistoryHeader< N >::GetTypeId(), anonymous_namespace{object-test-suite.cc}::DerivedB::GetTypeId(), ns3::EdcaTxopN::GetTypeId(), ns3::AttributeObjectTest::GetTypeId(), ns3::dsr::DsrFsHeader::GetTypeId(), ns3::anonymous_namespace{packet-test-suite.cc}::ATestHeader< N >::GetTypeId(), ns3::anonymous_namespace{packet-test-suite.cc}::ATestTrailer< N >::GetTypeId(), ns3::dsr::DsrOptionPad1Header::GetTypeId(), ns3::Ipv6OptionPad1Header::GetTypeId(), anonymous_namespace{packet-metadata-test.cc}::HistoryTrailer< N >::GetTypeId(), ns3::dsr::DsrOptionPadnHeader::GetTypeId(), ns3::Ipv6OptionPadnHeader::GetTypeId(), ns3::Ipv6ExtensionHopByHopHeader::GetTypeId(), ns3::Ipv6OptionJumbogramHeader::GetTypeId(), ns3::dsr::DsrOptionRreqHeader::GetTypeId(), ns3::Ipv6ExtensionDestinationHeader::GetTypeId(), ns3::dsr::DsrRoutingHeader::GetTypeId(), ns3::Ipv6ExtensionFragmentHeader::GetTypeId(), ns3::Ipv6OptionRouterAlertHeader::GetTypeId(), ns3::Ipv6ExtensionRoutingHeader::GetTypeId(), ns3::dsr::DsrOptionRrepHeader::GetTypeId(), ns3::Ipv6ExtensionLooseRoutingHeader::GetTypeId(), ns3::dsr::DsrOptionSRHeader::GetTypeId(), ns3::Ipv6ExtensionESPHeader::GetTypeId(), ns3::Ipv6ExtensionAHHeader::GetTypeId(), ns3::dsr::DsrOptionRerrHeader::GetTypeId(), ns3::dsr::DsrOptionRerrUnreachHeader::GetTypeId(), ns3::dsr::DsrOptionRerrUnsupportHeader::GetTypeId(), ns3::dsr::DsrOptionAckReqHeader::GetTypeId(), and ns3::dsr::DsrOptionAckHeader::GetTypeId().
TypeId ns3::TypeId::AddTraceSource | ( | std::string | name, |
std::string | help, | ||
Ptr< const TraceSourceAccessor > | accessor | ||
) |
name | the name of the new trace source |
help | some help text which describes the purpose of this trace source. |
accessor | a pointer to a TraceSourceAccessor which can be used to connect/disconnect sinks to this trace source. |
Definition at line 572 of file type-id.cc.
References m_tid.
|
private |
Definition at line 491 of file type-id.cc.
References m_tid.
Referenced by AddConstructor().
|
read |
i | index into attribute array |
Definition at line 549 of file type-id.cc.
References m_tid.
Referenced by ns3::cell_tooltip_callback(), ns3::cell_tooltip_callback_config_default(), ns3::ObjectBase::ConstructSelf(), StaticInformation::DoGather(), ns3::AttributeIterator::DoIterate(), ns3::Resolver::DoResolve(), GetAttributeFullName(), ns3::AttributeDefaultIterator::Iterate(), LookupAttributeByName(), main(), PrintAttributes(), ns3::CommandLine::PrintAttributes(), ns3::Config::Reset(), and ns3::Config::SetDefaultFailSafe().
std::string ns3::TypeId::GetAttributeFullName | ( | uint32_t | i | ) | const |
i | index into attribute array |
Definition at line 554 of file type-id.cc.
References GetAttribute(), GetName(), and ns3::TypeId::AttributeInformation::name.
Referenced by ns3::cell_edited_callback_config_default(), ns3::ObjectBase::ConstructSelf(), and ns3::CommandLine::PrintAttributes().
uint32_t ns3::TypeId::GetAttributeN | ( | void | ) | const |
Definition at line 543 of file type-id.cc.
References m_tid.
Referenced by ns3::cell_tooltip_callback(), ns3::ObjectBase::ConstructSelf(), StaticInformation::DoGather(), ns3::AttributeIterator::DoIterate(), ns3::Resolver::DoResolve(), ns3::AttributeDefaultIterator::Iterate(), LookupAttributeByName(), main(), ns3::Packet::Print(), PrintAttributes(), ns3::CommandLine::PrintAttributes(), ns3::Config::Reset(), and ns3::Config::SetDefaultFailSafe().
Callback< ObjectBase * > ns3::TypeId::GetConstructor | ( | void | ) | const |
Definition at line 529 of file type-id.cc.
References m_tid.
Referenced by ns3::PacketMetadataTest::CheckHistory(), ns3::ObjectFactory::Create(), ns3::PacketTest::DoCheck(), ns3::Packet::Print(), ns3::Packet::PrintByteTags(), and ns3::Packet::PrintPacketTags().
std::string ns3::TypeId::GetGroupName | ( | void | ) | const |
Definition at line 470 of file type-id.cc.
References m_tid.
Referenced by ns3::CommandLine::PrintGroup(), and ns3::CommandLine::PrintGroups().
std::string ns3::TypeId::GetName | ( | void | ) | const |
Definition at line 477 of file type-id.cc.
References m_tid.
Referenced by ns3::BridgeNetDevice::AddBridgePort(), ns3::Packet::AddByteTag(), ns3::Packet::AddHeader(), ns3::Packet::AddPacketTag(), ns3::Packet::AddTrailer(), ns3::Object::AggregateObject(), ns3::cell_data_function_col_0(), ns3::cell_data_function_col_0_config_default(), ns3::cell_tooltip_callback(), ns3::cell_tooltip_callback_config_default(), ns3::ObjectBase::ConstructSelf(), ns3::PacketTest::DoCheck(), StaticInformation::DoGather(), ns3::AcousticModemEnergyModelHelper::DoInstall(), ns3::WifiRadioEnergyModelHelper::DoInstall(), ns3::AttributeIterator::DoIterate(), ns3::LteHelper::EnableLogComponents(), ns3::BridgeNetDevice::ForwardBroadcast(), ns3::BridgeNetDevice::ForwardUnicast(), GetAttributeFullName(), ns3::MobilityHelper::GetMobilityModelType(), ns3::PacketMetadata::GetSerializedSize(), ns3::internal::APointerChecker< T >::GetUnderlyingTypeInformation(), ns3::MobilityHelper::Install(), ns3::AttributeDefaultIterator::Iterate(), main(), ns3::operator<<(), ns3::Packet::PeekHeader(), ns3::Packet::PeekTrailer(), ns3::Packet::Print(), ns3::Packet::PrintByteTags(), ns3::CommandLine::PrintGroup(), ns3::CommandLine::PrintTypeIds(), ns3::Node::ReceiveFromDevice(), ns3::Packet::RemoveHeader(), ns3::Packet::RemovePacketTag(), ns3::Packet::RemoveTrailer(), ns3::PacketMetadata::Serialize(), ns3::ObjectFactory::Set(), ns3::AnimationInterface::StartAnimation(), ns3::AttributeIterator::StartVisitArrayItem(), ns3::AttributeIterator::StartVisitObject(), and ns3::AttributeIterator::StartVisitPointerAttribute().
TypeId ns3::TypeId::GetParent | ( | void | ) | const |
This method cannot fail. It will return itself if this TypeId has no parent. i.e., it is at the top of the TypeId hierarchy. Currently, this is the case for the TypeId associated to the Object class only.
Definition at line 448 of file type-id.cc.
References m_tid, and TypeId().
Referenced by ns3::cell_tooltip_callback(), ns3::ObjectBase::ConstructSelf(), ns3::Object::DoGetObject(), ns3::AttributeIterator::DoIterate(), IsChildOf(), LookupAttributeByName(), LookupTraceSourceByName(), and main().
|
static |
i | index |
Definition at line 409 of file type-id.cc.
References TypeId().
Referenced by StaticInformation::DoGather(), ns3::AttributeDefaultIterator::Iterate(), main(), ns3::CommandLine::PrintGroup(), ns3::CommandLine::PrintGroups(), ns3::CommandLine::PrintTypeIds(), and ns3::Config::Reset().
|
static |
Definition at line 404 of file type-id.cc.
Referenced by StaticInformation::DoGather(), ns3::AttributeDefaultIterator::Iterate(), main(), ns3::CommandLine::PrintGroup(), ns3::CommandLine::PrintGroups(), ns3::CommandLine::PrintTypeIds(), and ns3::Config::Reset().
|
read |
i | index into trace source array. |
Definition at line 566 of file type-id.cc.
References m_tid.
Referenced by LookupTraceSourceByName(), main(), and PrintTraceSources().
uint32_t ns3::TypeId::GetTraceSourceN | ( | void | ) | const |
Definition at line 561 of file type-id.cc.
References m_tid.
Referenced by LookupTraceSourceByName(), main(), and PrintTraceSources().
uint16_t ns3::TypeId::GetUid | ( | void | ) | const |
This is really an internal method which users are not expected to use.
Definition at line 609 of file type-id.cc.
References m_tid.
Referenced by ns3::ByteTagList::Add(), ns3::PacketMetadata::AddHeader(), ns3::PacketMetadata::AddTrailer(), ns3::PacketMetadata::Deserialize(), ns3::PacketMetadata::RemoveHeader(), and ns3::PacketMetadata::RemoveTrailer().
bool ns3::TypeId::HasConstructor | ( | void | ) | const |
Definition at line 484 of file type-id.cc.
References m_tid.
Referenced by ns3::Packet::Print(), and ns3::Packet::PrintPacketTags().
bool ns3::TypeId::HasParent | ( | void | ) | const |
Definition at line 454 of file type-id.cc.
References m_tid.
Referenced by ns3::cell_tooltip_callback(), and ns3::AttributeIterator::DoIterate().
TypeId ns3::TypeId::HideFromDocumentation | ( | void | ) |
Definition at line 581 of file type-id.cc.
References m_tid.
Referenced by TestObject::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseA::GetTypeId(), AlternateTestObject::GetTypeId(), anonymous_namespace{object-test-suite.cc}::DerivedA::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseB::GetTypeId(), and anonymous_namespace{object-test-suite.cc}::DerivedB::GetTypeId().
bool ns3::TypeId::IsChildOf | ( | TypeId | other | ) | const |
other | a parent TypeId |
Calling this method is roughly similar to calling dynamic_cast except that you do not need object instances: you can do the check with TypeId instances instead.
Definition at line 460 of file type-id.cc.
References GetParent().
Referenced by StaticInformation::DoGather(), and ns3::PacketMetadata::ItemIterator::Next().
bool ns3::TypeId::LookupAttributeByName | ( | std::string | name, |
struct AttributeInformation * | info | ||
) | const |
name | the name of the requested attribute |
info | a pointer to the TypeId::AttributeInformation data structure where the result value of this method will be stored. |
Definition at line 415 of file type-id.cc.
References GetAttribute(), GetAttributeN(), GetParent(), and ns3::TypeId::AttributeInformation::name.
Referenced by ns3::operator>>(), and ns3::ObjectFactory::Set().
|
static |
name | the name of the requested TypeId |
This method cannot fail: it will crash if the input name is not a valid TypeId name.
Definition at line 385 of file type-id.cc.
References NS_ASSERT_MSG, and TypeId().
Referenced by ns3::EpcHelper::AddEnb(), ns3::PacketMetadata::Deserialize(), ns3::Resolver::DoResolve(), ns3::EpcHelper::EpcHelper(), main(), StaticInformation::RecordAggregationInfo(), ns3::PyViz::RegisterCsmaLikeDevice(), ns3::PyViz::RegisterPointToPointLikeDevice(), ns3::PyViz::RegisterWifiLikeDevice(), RunSimulation(), ns3::ObjectFactory::SetTypeId(), SetupPacketReceive(), ns3::V4Ping::StartApplication(), ns3::UdpEchoServer::StartApplication(), ns3::UdpClient::StartApplication(), ns3::UdpServer::StartApplication(), ns3::LteRadioBearerTagUdpClient::StartApplication(), ns3::Ping6::StartApplication(), ns3::Radvd::StartApplication(), ns3::UdpTraceClient::StartApplication(), ns3::UdpEchoClient::StartApplication(), ns3::Ipv4FragmentationTest::StartClient(), ns3::Ipv6FragmentationTest::StartClient(), ns3::Ipv4FragmentationTest::StartServer(), ns3::Ipv6FragmentationTest::StartServer(), ns3::ModelTypeidCreator::StartVisitTypeId(), and Tunnel::Tunnel().
|
static |
name | the name of the requested TypeId |
tid | a pointer to the TypeId instance where the result of this function should be stored. |
Definition at line 392 of file type-id.cc.
References TypeId().
Referenced by ns3::Ns3NscStack::GetInstanceTypeId(), ns3::operator>>(), ns3::CommandLine::PrintAttributes(), and ns3::Config::SetDefaultFailSafe().
Ptr< const TraceSourceAccessor > ns3::TypeId::LookupTraceSourceByName | ( | std::string | name | ) | const |
name | the name of the requested trace source |
If no matching trace source is found, this method returns zero.
Definition at line 589 of file type-id.cc.
References ns3::TypeId::TraceSourceInformation::accessor, GetParent(), GetTraceSource(), GetTraceSourceN(), and ns3::TypeId::TraceSourceInformation::name.
Referenced by ns3::ObjectBase::TraceConnect(), ns3::ObjectBase::TraceConnectWithoutContext(), ns3::ObjectBase::TraceDisconnect(), and ns3::ObjectBase::TraceDisconnectWithoutContext().
bool ns3::TypeId::MustHideFromDocumentation | ( | void | ) | const |
Definition at line 536 of file type-id.cc.
References m_tid.
Referenced by ns3::AttributeDefaultIterator::Iterate(), and main().
bool ns3::TypeId::SetAttributeInitialValue | ( | uint32_t | i, |
Ptr< const AttributeValue > | initialValue | ||
) |
i | the attribute to manipulate |
initialValue | the new initial value to use for this attribute. |
Definition at line 520 of file type-id.cc.
References m_tid.
Referenced by ns3::Config::Reset(), and ns3::Config::SetDefaultFailSafe().
TypeId ns3::TypeId::SetGroupName | ( | std::string | groupName | ) |
groupName | the name of the group this TypeId belongs to. |
The group name is purely an advisory information used to group together types according to a user-specific grouping scheme.
Definition at line 442 of file type-id.cc.
References m_tid.
tid | the TypeId of the base class. |
Record in this TypeId which TypeId is the TypeId of the base class of the subclass.
Definition at line 436 of file type-id.cc.
References m_tid.
Referenced by ns3::Ns3NscStack::GetInstanceTypeId(), ns3::GetObjectIid(), A::GetTypeId(), ns3::DelayJitterEstimationTimestampTag::GetTypeId(), ns3::Chunk::GetTypeId(), ns3::Icmpv4L4Protocol::GetTypeId(), ns3::Ipv4RawSocketImpl::GetTypeId(), MyHeader::GetTypeId(), ns3::SimpleDeviceEnergyModel::GetTypeId(), TestObject::GetTypeId(), ns3::FlowIdTag::GetTypeId(), MyTag::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseA::GetTypeId(), ns3::UanNoiseModel::GetTypeId(), ns3::ConstantAccelerationMobilityModel::GetTypeId(), ns3::LtePhyTag::GetTypeId(), ns3::ConstantPositionMobilityModel::GetTypeId(), ns3::ConstantSpectrumPropagationLossModel::GetTypeId(), ns3::Dcf::GetTypeId(), ns3::MsduStandardAggregator::GetTypeId(), anonymous_namespace{packet-metadata-test.cc}::HistoryHeaderBase::GetTypeId(), ns3::ErrorRateModel::GetTypeId(), ns3::ChannelListPriv::GetTypeId(), ns3::DropTailQueue::GetTypeId(), ns3::LteRadioBearerTag::GetTypeId(), ns3::Dot11sStack::GetTypeId(), BenchHeader< N >::GetTypeId(), ns3::ConstantVelocityMobilityModel::GetTypeId(), ns3::PositionAllocator::GetTypeId(), ns3::SimulatorImpl::GetTypeId(), ns3::PacketBurst::GetTypeId(), ns3::PacketSocketFactory::GetTypeId(), ns3::PointToPointRemoteChannel::GetTypeId(), ns3::AlohaNoackMacHeader::GetTypeId(), ns3::WifiPhyStateHelper::GetTypeId(), ns3::Tag::GetTypeId(), ns3::SimpleChannel::GetTypeId(), ns3::V4Ping::GetTypeId(), ns3::JakesPropagationLossModel::GetTypeId(), ns3::DefaultSimulatorImpl::GetTypeId(), ns3::TcpNewReno::GetTypeId(), ns3::AarfWifiManager::GetTypeId(), ns3::AmsduSubframeHeader::GetTypeId(), ns3::AdhocWifiMac::GetTypeId(), ns3::ConstantRateWifiManager::GetTypeId(), ns3::BridgeChannel::GetTypeId(), ns3::RlcTag::GetTypeId(), ns3::Ipv4RawSocketFactory::GetTypeId(), ns3::NodeListPriv::GetTypeId(), ns3::PropagationDelayModel::GetTypeId(), ns3::BasicEnergySource::GetTypeId(), ns3::UanTransducerHd::GetTypeId(), ns3::UanPropModelThorp::GetTypeId(), ns3::PdcpTag::GetTypeId(), ns3::LteRadioBearerInfo::GetTypeId(), ns3::BurstProfileManager::GetTypeId(), ns3::IpcsClassifier::GetTypeId(), ns3::SSManager::GetTypeId(), ns3::LteRlcUm::GetTypeId(), ns3::WimaxMacQueue::GetTypeId(), ns3::FlameStack::GetTypeId(), ns3::IsotropicAntennaModel::GetTypeId(), ns3::ItuR1238PropagationLossModel::GetTypeId(), ns3::LoopbackNetDevice::GetTypeId(), ns3::MapScheduler::GetTypeId(), ns3::TcpReno::GetTypeId(), ns3::ErrorChannel::GetTypeId(), ns3::UanPropModelIdeal::GetTypeId(), ns3::AarfcdWifiManager::GetTypeId(), ns3::CaraWifiManager::GetTypeId(), ns3::NistErrorRateModel::GetTypeId(), ns3::LteRlcAm::GetTypeId(), ns3::BuildingListPriv::GetTypeId(), ns3::BSLinkManager::GetTypeId(), ns3::RealtimeSimulatorImpl::GetTypeId(), ns3::MobilityModel::GetTypeId(), ns3::SequenceNumberTestObj::GetTypeId(), ns3::PcapFileWrapper::GetTypeId(), ns3::UdpEchoClient::GetTypeId(), ns3::TcpRfc793::GetTypeId(), ns3::LteHexGridEnbTopologyHelper::GetTypeId(), ns3::GtpuHeader::GetTypeId(), ns3::AmrrWifiManager::GetTypeId(), ns3::ApWifiMac::GetTypeId(), ns3::RraaWifiManager::GetTypeId(), ns3::LteRlcSduStatusTag::GetTypeId(), ns3::LteSimpleNetDevice::GetTypeId(), ns3::WimaxChannel::GetTypeId(), ns3::WimaxMacToMacHeader::GetTypeId(), ns3::dot11s::MeshHeader::GetTypeId(), ns3::Building::GetTypeId(), ns3::OhBuildingsPropagationLossModel::GetTypeId(), ns3::Trailer::GetTypeId(), ns3::ListScheduler::GetTypeId(), ns3::TcpRxBuffer::GetTypeId(), ns3::TcpTxBuffer::GetTypeId(), ns3::UdpSocketFactory::GetTypeId(), ns3::LteStatsCalculator::GetTypeId(), ns3::FriisSpectrumPropagationLossModel::GetTypeId(), ns3::Ipv4FlowProbeTag::GetTypeId(), ns3::LtePdcp::GetTypeId(), ns3::OnoeWifiManager::GetTypeId(), ns3::SSLinkManager::GetTypeId(), ns3::SSScheduler::GetTypeId(), ns3::WimaxConnection::GetTypeId(), ns3::ConfigTestObject::GetTypeId(), AlternateTestObject::GetTypeId(), ns3::MpiReceiver::GetTypeId(), ns3::Ipv6ExtensionDemux::GetTypeId(), ns3::Header::GetTypeId(), ns3::Ipv6OptionDemux::GetTypeId(), ns3::TcpTahoe::GetTypeId(), ns3::RandomBuildingPositionAllocator::GetTypeId(), ns3::ArfWifiManager::GetTypeId(), ns3::MsduAggregator::GetTypeId(), ns3::WifiChannel::GetTypeId(), ns3::LteUeMac::GetTypeId(), ns3::dot11s::AirtimeLinkMetricCalculator::GetTypeId(), anonymous_namespace{object-test-suite.cc}::DerivedA::GetTypeId(), ns3::Channel::GetTypeId(), ns3::ConfigStore::GetTypeId(), ns3::UdpEchoServer::GetTypeId(), ns3::SingleModelSpectrumChannel::GetTypeId(), ns3::RocketfuelTopologyReader::GetTypeId(), ns3::StaWifiMac::GetTypeId(), ns3::WifiMacTrailer::GetTypeId(), ns3::Synchronizer::GetTypeId(), ns3::UdpClient::GetTypeId(), ns3::RandomDirection2dMobilityModel::GetTypeId(), ns3::Kun2600MhzPropagationLossModel::GetTypeId(), ns3::OrbisTopologyReader::GetTypeId(), ns3::UanMacAloha::GetTypeId(), ns3::UanPhyPerGenDefault::GetTypeId(), ns3::UanPhyCalcSinr::GetTypeId(), ns3::VisualSimulatorImpl::GetTypeId(), ns3::LteAmc::GetTypeId(), ns3::WifiMac::GetTypeId(), ns3::UplinkSchedulerSimple::GetTypeId(), ns3::ConnectionManager::GetTypeId(), ns3::LteTestUePhy::GetTypeId(), ns3::flame::FlameHeader::GetTypeId(), ns3::MeshL2RoutingProtocol::GetTypeId(), ns3::Ipv4ListRouting::GetTypeId(), ns3::LlcSnapHeader::GetTypeId(), ns3::Queue::GetTypeId(), ns3::SimpleNetDevice::GetTypeId(), ns3::ItuR1411LosPropagationLossModel::GetTypeId(), ns3::ItuR1411NlosOverRooftopPropagationLossModel::GetTypeId(), ns3::UdpServer::GetTypeId(), ns3::UanPhyCalcSinrDual::GetTypeId(), ns3::ErrorNetDevice::GetTypeId(), ns3::IdealWifiManager::GetTypeId(), ns3::SnrTag::GetTypeId(), ns3::CosineAntennaModel::GetTypeId(), ns3::dot11s::PeerLink::GetTypeId(), ns3::RandomWalk2dMobilityModel::GetTypeId(), ns3::OkumuraHataPropagationLossModel::GetTypeId(), ns3::NscTcpL4Protocol::GetTypeId(), ns3::TcpSocketFactory::GetTypeId(), ns3::UanMacCw::GetTypeId(), ns3::UdpSocket::GetTypeId(), ns3::EpcEnbApplication::GetTypeId(), ns3::UplinkScheduler::GetTypeId(), ns3::LteSimpleHelper::GetTypeId(), ns3::Icmpv6L4Protocol::GetTypeId(), ns3::BuildingsMobilityModel::GetTypeId(), ns3::ParabolicAntennaModel::GetTypeId(), ns3::CalendarScheduler::GetTypeId(), ns3::PointToPointChannel::GetTypeId(), ns3::HeapScheduler::GetTypeId(), ns3::SpectrumChannel::GetTypeId(), ns3::SpectrumPropagationLossModel::GetTypeId(), ns3::InetTopologyReader::GetTypeId(), ns3::UanHeaderCommon::GetTypeId(), ns3::UdpL4Protocol::GetTypeId(), ns3::EnergySourceContainer::GetTypeId(), ns3::UanMac::GetTypeId(), ns3::WifiInformationElementVector::GetTypeId(), ns3::ServiceFlowManager::GetTypeId(), ns3::BSSchedulerSimple::GetTypeId(), ns3::BSScheduler::GetTypeId(), ns3::TraceFadingLossModel::GetTypeId(), ns3::LteTestRrc::GetTypeId(), ns3::Icmpv4Header::GetTypeId(), ns3::dot11s::HwmpProtocol::GetTypeId(), ns3::SocketFactory::GetTypeId(), ns3::UanNoiseModelDefault::GetTypeId(), ns3::RadioEnvironmentMapHelper::GetTypeId(), ns3::CtrlBAckRequestHeader::GetTypeId(), ns3::LteNetDevice::GetTypeId(), ns3::ArpL3Protocol::GetTypeId(), ns3::GridBuildingAllocator::GetTypeId(), ns3::TxModeTag::GetTypeId(), ns3::Ipv4Interface::GetTypeId(), ns3::Ipv6Option::GetTypeId(), ns3::RadiotapHeader::GetTypeId(), ns3::PropagationLossModel::GetTypeId(), ns3::SpectrumPhy::GetTypeId(), ns3::EpcSgwPgwApplication::GetTypeId(), ns3::ArpHeader::GetTypeId(), ns3::YansWifiChannel::GetTypeId(), ns3::Ping6::GetTypeId(), ns3::MeshPointDevice::GetTypeId(), ns3::SeqTsHeader::GetTypeId(), ns3::Ipv4RoutingProtocol::GetTypeId(), ns3::AntennaModel::GetTypeId(), ns3::UanHeaderRcData::GetTypeId(), ns3::UdpSocketImpl::GetTypeId(), ns3::BulkSendApplication::GetTypeId(), ns3::DeviceEnergyModel::GetTypeId(), ns3::RvBatteryModel::GetTypeId(), ns3::LteEnbNetDevice::GetTypeId(), ns3::LteInterference::GetTypeId(), ns3::RegularWifiMac::GetTypeId(), ns3::LteUeNetDevice::GetTypeId(), ns3::MgtAssocRequestHeader::GetTypeId(), ns3::Radvd::GetTypeId(), ns3::Ipv6Extension::GetTypeId(), ns3::WifiNetDevice::GetTypeId(), ns3::Ipv6ListRouting::GetTypeId(), ns3::Cost231PropagationLossModel::GetTypeId(), ns3::EmuNetDevice::GetTypeId(), ns3::MacHeaderType::GetTypeId(), ns3::dot11s::PeerManagementProtocol::GetTypeId(), ns3::RandomWaypointMobilityModel::GetTypeId(), ns3::SteadyStateRandomWaypointMobilityModel::GetTypeId(), ns3::NdiscCache::GetTypeId(), ns3::SpectrumAnalyzer::GetTypeId(), ns3::FfMacScheduler::GetTypeId(), ns3::WifiMacQueue::GetTypeId(), ns3::SimpleOfdmWimaxPhy::GetTypeId(), ns3::Ipv6Interface::GetTypeId(), ns3::aodv::RoutingProtocol::GetTypeId(), ns3::NscTcpSocketImpl::GetTypeId(), ns3::UanChannel::GetTypeId(), ns3::ArpCache::GetTypeId(), ns3::Scheduler::GetTypeId(), ns3::IpL4Protocol::GetTypeId(), ns3::dsdv::RoutingProtocol::GetTypeId(), ns3::Ipv6RoutingProtocol::GetTypeId(), ns3::NonCommunicatingNetDevice::GetTypeId(), ns3::UdpTraceClient::GetTypeId(), ns3::LteHelper::GetTypeId(), ns3::LteEnbMac::GetTypeId(), ns3::BandwidthManager::GetTypeId(), ns3::LteRlc::GetTypeId(), ns3::MeshWifiInterfaceMac::GetTypeId(), ns3::Node::GetTypeId(), ns3::JakesProcess::GetTypeId(), ns3::TcpL4Protocol::GetTypeId(), ns3::YansErrorRateModel::GetTypeId(), ns3::BuildingsPropagationLossModel::GetTypeId(), ns3::Ipv4NixVectorRouting::GetTypeId(), ns3::WaveformGenerator::GetTypeId(), ns3::HierarchicalMobilityModel::GetTypeId(), ns3::HybridBuildingsPropagationLossModel::GetTypeId(), ns3::RttEstimator::GetTypeId(), ns3::RandomVariableStream::GetTypeId(), ns3::MacStatsCalculator::GetTypeId(), ns3::UanNetDevice::GetTypeId(), ns3::UplinkSchedulerRtps::GetTypeId(), ns3::RemSpectrumPhy::GetTypeId(), ns3::CsmaNetDevice::GetTypeId(), ns3::PointToPointNetDevice::GetTypeId(), ns3::aodv::TypeHeader::GetTypeId(), ns3::EpcHelper::GetTypeId(), ns3::AcousticModemEnergyModel::GetTypeId(), ns3::LteEnbPhy::GetTypeId(), ns3::LtePdcpHeader::GetTypeId(), ns3::PppHeader::GetTypeId(), ns3::Ipv6StaticRouting::GetTypeId(), ns3::Ipv4PacketInfoTag::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseB::GetTypeId(), ns3::dsdv::DsdvHeader::GetTypeId(), ns3::Ipv6Header::GetTypeId(), ns3::TcpSocketBase::GetTypeId(), ns3::BaseStationNetDevice::GetTypeId(), ns3::dot11s::HwmpTag::GetTypeId(), ns3::Application::GetTypeId(), ns3::Ipv6PacketInfoTag::GetTypeId(), ns3::WimaxPhy::GetTypeId(), ns3::QosTag::GetTypeId(), ns3::Ipv6L3Protocol::GetTypeId(), ns3::SubscriberStationNetDevice::GetTypeId(), ns3::TcpSocket::GetTypeId(), ns3::BSSchedulerRtps::GetTypeId(), ns3::dot11s::HwmpRtable::GetTypeId(), ns3::dsdv::DeferredRouteOutputTag::GetTypeId(), ns3::aodv::DeferredRouteOutputTag::GetTypeId(), ns3::Object::GetTypeId(), ns3::UanPhyPerUmodem::GetTypeId(), ns3::YansWifiPhy::GetTypeId(), ns3::RrFfMacScheduler::GetTypeId(), ns3::UanMacRcGw::GetTypeId(), ns3::flame::FlameRtable::GetTypeId(), ns3::Socket::GetTypeId(), ns3::AlohaNoackNetDevice::GetTypeId(), ns3::VirtualNetDevice::GetTypeId(), ns3::flame::FlameTag::GetTypeId(), ns3::BridgeNetDevice::GetTypeId(), ns3::LteRadioBearerTagUdpClient::GetTypeId(), ns3::LteUePhy::GetTypeId(), ns3::LtePhy::GetTypeId(), ns3::Ipv6RawSocketFactory::GetTypeId(), ns3::ManagementMessageType::GetTypeId(), ns3::dot11s::PeerLinkFrameStart::GetTypeId(), ns3::ListPositionAllocator::GetTypeId(), ns3::DcaTxop::GetTypeId(), ns3::LteUeRrc::GetTypeId(), ns3::PyVizPacketTag::GetTypeId(), ns3::Ipv6RawSocketImpl::GetTypeId(), ns3::PacketSink::GetTypeId(), ns3::Ipv4GlobalRouting::GetTypeId(), ns3::Ipv4StaticRouting::GetTypeId(), ns3::dsr::GraReply::GetTypeId(), ns3::EnergySource::GetTypeId(), ns3::LiIonEnergySource::GetTypeId(), ns3::BinaryErrorModel::GetTypeId(), ns3::UplinkSchedulerMBQoS::GetTypeId(), ns3::RandomPropagationDelayModel::GetTypeId(), ns3::RadioBearerStatsCalculator::GetTypeId(), ns3::Icmpv4Echo::GetTypeId(), ns3::Ipv4::GetTypeId(), ns3::NetDevice::GetTypeId(), anonymous_namespace{object-test-suite.cc}::DerivedB::GetTypeId(), ns3::UanPhyDual::GetTypeId(), ns3::PfFfMacScheduler::GetTypeId(), ns3::CsmaChannel::GetTypeId(), ns3::UeInfo::GetTypeId(), ns3::LteRlcHeader::GetTypeId(), ns3::Ipv4L3Protocol::GetTypeId(), ns3::PacketSocket::GetTypeId(), ns3::dsr::DsrOptions::GetTypeId(), ns3::WimaxNetDevice::GetTypeId(), ns3::Ipv6::GetTypeId(), ns3::olsr::RoutingProtocol::GetTypeId(), ns3::RandomRoomPositionAllocator::GetTypeId(), ns3::GaussMarkovMobilityModel::GetTypeId(), ns3::EdcaTxopN::GetTypeId(), ns3::flame::FlameProtocol::GetTypeId(), ns3::WifiRemoteStationManager::GetTypeId(), ns3::MgtAssocResponseHeader::GetTypeId(), ns3::RedQueue::GetTypeId(), ns3::AthstatsWifiTraceSink::GetTypeId(), ns3::WaypointMobilityModel::GetTypeId(), ns3::MultiModelSpectrumChannel::GetTypeId(), ns3::OnOffApplication::GetTypeId(), ns3::GridPositionAllocator::GetTypeId(), ns3::MinstrelWifiManager::GetTypeId(), ns3::EthernetTrailer::GetTypeId(), ns3::DistributedSimulatorImpl::GetTypeId(), ns3::HalfDuplexIdealPhy::GetTypeId(), ns3::LteSpectrumPhy::GetTypeId(), ns3::dsr::RreqTable::GetTypeId(), ns3::ConstantSpeedPropagationDelayModel::GetTypeId(), ns3::olsr::PacketHeader::GetTypeId(), ns3::WifiMacHeader::GetTypeId(), ns3::UanPhyCalcSinrDefault::GetTypeId(), ns3::dsr::DsrRouting::GetTypeId(), ns3::UanPhyPer::GetTypeId(), ns3::Icmpv4DestinationUnreachable::GetTypeId(), ns3::TapBridge::GetTypeId(), ns3::Ipv6OptionPad1::GetTypeId(), ns3::EthernetHeader::GetTypeId(), ns3::CtrlBAckResponseHeader::GetTypeId(), ns3::UanHeaderRcRts::GetTypeId(), ns3::GenericMacHeader::GetTypeId(), ns3::ErrorModel::GetTypeId(), ns3::aodv::RreqHeader::GetTypeId(), ns3::MgtProbeRequestHeader::GetTypeId(), ns3::LteEnbRrc::GetTypeId(), ns3::UdpHeader::GetTypeId(), ns3::LteTestPdcp::GetTypeId(), ns3::Icmpv6Header::GetTypeId(), ns3::RandomPropagationLossModel::GetTypeId(), ns3::SameRoomPositionAllocator::GetTypeId(), ns3::UanTransducer::GetTypeId(), BenchTag< N >::GetTypeId(), ns3::FlowMonitor::GetTypeId(), ns3::dsr::DsrNetworkQueue::GetTypeID(), ns3::LteRlcAmHeader::GetTypeId(), ns3::TopologyReader::GetTypeId(), ns3::UanPhyCalcSinrFhFsk::GetTypeId(), ns3::MgtProbeResponseHeader::GetTypeId(), ns3::Icmpv4TimeExceeded::GetTypeId(), anonymous_namespace{packet-metadata-test.cc}::HistoryTrailerBase::GetTypeId(), ns3::TcpHeader::GetTypeId(), ns3::UanMacRc::GetTypeId(), ns3::LteRlcSm::GetTypeId(), ns3::Ipv6OptionPadn::GetTypeId(), ns3::WifiRadioEnergyModel::GetTypeId(), ns3::UniformRandomVariable::GetTypeId(), ns3::Ipv6ExtensionHopByHop::GetTypeId(), ns3::WifiPhy::GetTypeId(), ns3::RttMeanDeviation::GetTypeId(), ns3::RateErrorModel::GetTypeId(), ns3::LteTestMac::GetTypeId(), ns3::UanPhy::GetTypeId(), ns3::UanPhyGen::GetTypeId(), ns3::BandwidthRequestHeader::GetTypeId(), ns3::FriisPropagationLossModel::GetTypeId(), ns3::RandomRectanglePositionAllocator::GetTypeId(), ns3::aodv::RrepHeader::GetTypeId(), ns3::RngRsp::GetTypeId(), ns3::UanHeaderRcCtsGlobal::GetTypeId(), ns3::Ipv6OptionJumbogram::GetTypeId(), ns3::olsr::MessageHeader::GetTypeId(), ns3::Ipv6ExtensionDestination::GetTypeId(), ns3::RandomBoxPositionAllocator::GetTypeId(), ns3::UanPropModel::GetTypeId(), ns3::Ucd::GetTypeId(), ns3::Ipv4Header::GetTypeId(), ns3::GrantManagementSubheader::GetTypeId(), ns3::RandomDiscPositionAllocator::GetTypeId(), ns3::Dcd::GetTypeId(), ns3::dsr::DsrOptionPad1::GetTypeId(), ns3::Icmpv6OptionHeader::GetTypeId(), ns3::WifiActionHeader::GetTypeId(), ns3::ListErrorModel::GetTypeId(), ns3::Ipv6OptionRouterAlert::GetTypeId(), ns3::Ipv6ExtensionFragment::GetTypeId(), ns3::aodv::RrepAckHeader::GetTypeId(), ns3::TwoRayGroundPropagationLossModel::GetTypeId(), ns3::UanHeaderRcCts::GetTypeId(), ns3::UniformDiscPositionAllocator::GetTypeId(), ns3::MgtAddBaRequestHeader::GetTypeId(), ns3::ConstantRandomVariable::GetTypeId(), ns3::FragmentationSubheader::GetTypeId(), ns3::dsr::DsrOptionPadn::GetTypeId(), ns3::ReceiveListErrorModel::GetTypeId(), ns3::aodv::RerrHeader::GetTypeId(), ns3::DsaReq::GetTypeId(), ns3::dsr::RouteCache::GetTypeId(), ns3::MgtAddBaResponseHeader::GetTypeId(), ns3::SequentialRandomVariable::GetTypeId(), ns3::dsr::DsrOptionRreq::GetTypeId(), ns3::DlMap::GetTypeId(), ns3::UlMap::GetTypeId(), ns3::UanHeaderRcAck::GetTypeId(), ns3::ofi::Controller::GetTypeId(), ns3::Icmpv6NS::GetTypeId(), ns3::LogDistancePropagationLossModel::GetTypeId(), ns3::MgtDelBaHeader::GetTypeId(), ns3::DsaRsp::GetTypeId(), ns3::dsr::DsrOptionRrep::GetTypeId(), ns3::ThreeLogDistancePropagationLossModel::GetTypeId(), ns3::Ipv6ExtensionRouting::GetTypeId(), ns3::DsaAck::GetTypeId(), ns3::ExponentialRandomVariable::GetTypeId(), ns3::Icmpv6NA::GetTypeId(), ns3::dsr::DsrOptionSR::GetTypeId(), ns3::NakagamiPropagationLossModel::GetTypeId(), ns3::RngReq::GetTypeId(), ns3::Ipv6ExtensionRoutingDemux::GetTypeId(), ns3::dsr::DsrOptionRerr::GetTypeId(), ns3::FixedRssLossModel::GetTypeId(), ns3::MatrixPropagationLossModel::GetTypeId(), ns3::Ipv6ExtensionLooseRouting::GetTypeId(), ns3::GlobalRouter::GetTypeId(), ns3::dsr::DsrOptionAckReq::GetTypeId(), ns3::Icmpv6RA::GetTypeId(), ns3::RangePropagationLossModel::GetTypeId(), ns3::PbbPacket::GetTypeId(), ns3::Ipv6ExtensionESP::GetTypeId(), ns3::AnimByteTag::GetTypeId(), ns3::ParetoRandomVariable::GetTypeId(), ns3::dsr::DsrOptionAck::GetTypeId(), ns3::SocketAddressTag::GetTypeId(), ns3::Ipv6ExtensionAH::GetTypeId(), ns3::SocketIpTtlTag::GetTypeId(), ns3::SocketSetDontFragmentTag::GetTypeId(), ns3::Icmpv6RS::GetTypeId(), ns3::WeibullRandomVariable::GetTypeId(), ns3::Icmpv6Redirection::GetTypeId(), ns3::Icmpv6Echo::GetTypeId(), ns3::NormalRandomVariable::GetTypeId(), ns3::Icmpv6DestinationUnreachable::GetTypeId(), ns3::Icmpv6TooBig::GetTypeId(), ns3::Icmpv6TimeExceeded::GetTypeId(), ns3::LogNormalRandomVariable::GetTypeId(), ns3::Icmpv6ParameterError::GetTypeId(), ns3::Icmpv6OptionMtu::GetTypeId(), ns3::GammaRandomVariable::GetTypeId(), ns3::Icmpv6OptionPrefixInformation::GetTypeId(), ns3::Icmpv6OptionLinkLayerAddress::GetTypeId(), ns3::ErlangRandomVariable::GetTypeId(), ns3::Icmpv6OptionRedirected::GetTypeId(), ns3::TriangularRandomVariable::GetTypeId(), ns3::ZipfRandomVariable::GetTypeId(), ns3::ZetaRandomVariable::GetTypeId(), ns3::DeterministicRandomVariable::GetTypeId(), and ns3::EmpiricalRandomVariable::GetTypeId().
TypeId ns3::TypeId::SetParent | ( | void | ) |
void ns3::TypeId::SetUid | ( | uint16_t | tid | ) |
tid | the internal integer which uniquely identifies this TypeId. |
This method is even more internal than TypeId::GetUid. Use at your own risk and don't be surprised that it eats raw babies on full-moon nights.
Definition at line 614 of file type-id.cc.
References m_tid.
Referenced by ns3::PacketMetadata::GetSerializedSize(), ns3::ByteTagList::Iterator::Next(), ns3::PacketMetadata::ItemIterator::Next(), and ns3::PacketMetadata::Serialize().
Definition at line 639 of file type-id.cc.
|
private |
Definition at line 329 of file type-id.h.
Referenced by AddAttribute(), AddTraceSource(), DoAddConstructor(), GetAttribute(), GetAttributeN(), GetConstructor(), GetGroupName(), GetName(), GetParent(), GetTraceSource(), GetTraceSourceN(), GetUid(), HasConstructor(), HasParent(), HideFromDocumentation(), MustHideFromDocumentation(), ns3::operator!=(), ns3::operator<(), operator=(), ns3::operator==(), SetAttributeInitialValue(), SetGroupName(), SetParent(), SetUid(), and TypeId().