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 } |
| Flags describing when a given attribute can be read or written. More... | |
| typedef uint32_t | hash_t |
| Type of hash values. More... | |
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) NS_DEPRECATED |
| TypeId | AddTraceSource (std::string name, std::string help, Ptr< const TraceSourceAccessor > accessor, std::string callback) |
| 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 |
| hash_t | GetHash (void) const |
| std::string | GetName (void) const |
| TypeId | GetParent (void) const |
| std::size_t | GetSize (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) |
| TypeId | SetSize (std::size_t size) |
Set the size of this type, based on the sizeof operator. More... | |
| void | SetUid (uint16_t tid) |
Static Public Member Functions | |
| static TypeId | GetRegistered (uint32_t i) |
| static uint32_t | GetRegisteredN (void) |
| static TypeId | LookupByHash (hash_t hash) |
| static bool | LookupByHashFailSafe (hash_t hash, TypeId *tid) |
| 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:
| typedef uint32_t ns3::TypeId::hash_t |
|
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 548 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, NS_ASSERT, and NS_LOG_FUNCTION.
Here is the call graph for this function:
|
inline |
Definition at line 422 of file type-id.h.
Referenced by GetParent(), GetRegistered(), LookupByHash(), LookupByHashFailSafe(), LookupByName(), and LookupByNameFailSafe().
Here is the caller graph for this function:
|
explicitprivate |
Definition at line 557 of file type-id.cc.
References NS_LOG_FUNCTION.
| 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 729 of file type-id.cc.
References ATTR_SGC, ns3::AttributeValue::Copy(), ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::Ns3NscStack::GetInstanceTypeId().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 741 of file type-id.cc.
References ns3::AttributeValue::Copy(), ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Here is the call graph for this function:| TypeId ns3::TypeId::AddConstructor | ( | void | ) |
Record in this TypeId the fact that the default constructor is accessible.
Definition at line 460 of file type-id.h.
References ns3::Create(), DoAddConstructor(), and ns3::MakeCallback().
Referenced by MyObject::GetTypeId(), TestObject::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseA::GetTypeId(), Emitter::GetTypeId(), AlternateTestObject::GetTypeId(), ns3::Ipv6ExtensionHeader::GetTypeId(), anonymous_namespace{object-test-suite.cc}::DerivedA::GetTypeId(), anonymous_namespace{packet-test-suite.cc}::ATestTag< N >::GetTypeId(), ns3::Ipv6OptionHeader::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseB::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(), Derived::GetTypeId(), ns3::dsr::DsrFsHeader::GetTypeId(), ns3::EdcaTxopN::GetTypeId(), AttributeObjectTest::GetTypeId(), anonymous_namespace{packet-test-suite.cc}::ATestHeader< N >::GetTypeId(), ns3::dsr::DsrOptionPad1Header::GetTypeId(), anonymous_namespace{packet-test-suite.cc}::ATestTrailer< N >::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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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. |
| callback | fully qualified typedef name for the callback signature. Generally this should begin with the "ns3::" namespace qualifier. |
Definition at line 814 of file type-id.cc.
| TypeId ns3::TypeId::AddTraceSource | ( | std::string | name, |
| std::string | help, | ||
| Ptr< const TraceSourceAccessor > | accessor, | ||
| std::string | callback | ||
| ) |
| 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. |
| callback | fully qualified typedef name for the callback signature. Generally this should begin with the "ns3::" namespace qualifier. |
Definition at line 822 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Here is the call graph for this function:
|
private |
Definition at line 722 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by AddConstructor().
Here is the call graph for this function:
Here is the caller graph for this function:| struct TypeId::AttributeInformation ns3::TypeId::GetAttribute | ( | uint32_t | i | ) | const |
| i | index into attribute array |
Definition at line 787 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
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(), PrintAllAttributes(), ns3::CommandLine::PrintAttributes(), PrintAttributesTid(), ns3::Config::Reset(), and ns3::Config::SetDefaultFailSafe().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string ns3::TypeId::GetAttributeFullName | ( | uint32_t | i | ) | const |
| i | index into attribute array |
Definition at line 793 of file type-id.cc.
References GetAttribute(), GetName(), ns3::TypeId::AttributeInformation::name, and NS_LOG_FUNCTION.
Referenced by ns3::cell_edited_callback_config_default(), ns3::ObjectBase::ConstructSelf(), and ns3::CommandLine::PrintAttributes().
Here is the call graph for this function:
Here is the caller graph for this function:| uint32_t ns3::TypeId::GetAttributeN | ( | void | ) | const |
Definition at line 780 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::cell_tooltip_callback(), ns3::ObjectBase::ConstructSelf(), StaticInformation::DoGather(), ns3::AttributeIterator::DoIterate(), ns3::Resolver::DoResolve(), ns3::AttributeDefaultIterator::Iterate(), LookupAttributeByName(), ns3::Packet::Print(), PrintAllAttributes(), PrintAttributes(), ns3::CommandLine::PrintAttributes(), PrintAttributesTid(), ns3::Config::Reset(), and ns3::Config::SetDefaultFailSafe().
Here is the call graph for this function:
Here is the caller graph for this function:| Callback< ObjectBase * > ns3::TypeId::GetConstructor | ( | void | ) | const |
Definition at line 764 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by PacketMetadataTest::CheckHistory(), ns3::ObjectFactory::Create(), PacketTest::DoCheck(), Ipv4FragmentationTest::DoRun(), Ipv6FragmentationTest::DoRun(), ns3::Packet::Print(), ns3::Packet::PrintByteTags(), and ns3::Packet::PrintPacketTags().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string ns3::TypeId::GetGroupName | ( | void | ) | const |
Definition at line 684 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::CommandLine::PrintGroup(), and ns3::CommandLine::PrintGroups().
Here is the call graph for this function:
Here is the caller graph for this function:| TypeId::hash_t ns3::TypeId::GetHash | ( | void | ) | const |
Definition at line 700 of file type-id.cc.
References ns3::Singleton< T >::Get(), and m_tid.
Referenced by UniqueTypeIdTestCase::DoRun(), and LookupTimeTestCase::DoRun().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string ns3::TypeId::GetName | ( | void | ) | const |
Definition at line 692 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by 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(), PacketTest::DoCheck(), StaticInformation::DoGather(), ns3::AttributeIterator::DoIterate(), UniqueTypeIdTestCase::DoRun(), Ipv4FragmentationTest::DoRun(), Ipv6FragmentationTest::DoRun(), LookupTimeTestCase::DoRun(), ns3::LteHelper::EnableLogComponents(), GetAttributeFullName(), ns3::LteHelper::GetFfrAlgorithmType(), ns3::LteHelper::GetHandoverAlgorithmType(), ns3::MobilityHelper::GetMobilityModelType(), GetNameMap(), ns3::LteHelper::GetSchedulerType(), ns3::PacketMetadata::GetSerializedSize(), ns3::internal::PointerChecker< T >::GetUnderlyingTypeInformation(), ns3::MobilityHelper::Install(), ns3::AttributeDefaultIterator::Iterate(), ns3::operator<<(), ns3::Packet::PeekHeader(), ns3::Packet::PeekTrailer(), ns3::Packet::Print(), PrintAllAttributes(), PrintAllTraceSources(), PrintAttributes(), ns3::CommandLine::PrintAttributes(), PrintAttributesTid(), ns3::Packet::PrintByteTags(), PrintConfigPaths(), ns3::CommandLine::PrintGroup(), PrintTraceSources(), ns3::CommandLine::PrintTypeIds(), ns3::Packet::RemoveHeader(), ns3::Packet::RemovePacketTag(), ns3::Packet::RemoveTrailer(), ns3::Packet::ReplacePacketTag(), ns3::PacketMetadata::Serialize(), ns3::ObjectFactory::Set(), ns3::ObjectFactory::SetTypeId(), ns3::AttributeIterator::StartVisitArrayItem(), ns3::AttributeIterator::StartVisitObject(), and ns3::AttributeIterator::StartVisitPointerAttribute().
Here is the call graph for this function:| 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 659 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, NS_LOG_FUNCTION, and TypeId().
Referenced by ns3::cell_tooltip_callback(), ns3::ObjectBase::ConstructSelf(), ns3::Object::DoGetObject(), ns3::AttributeIterator::DoIterate(), ns3::Resolver::DoResolve(), IsChildOf(), LookupAttributeByName(), LookupTraceSourceByName(), PrintAttributes(), and PrintTraceSources().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| i | index |
Definition at line 609 of file type-id.cc.
References NS_LOG_FUNCTION, and TypeId().
Referenced by StaticInformation::DoGather(), GetNameMap(), ns3::AttributeDefaultIterator::Iterate(), PrintAllAttributes(), PrintAllTraceSources(), ns3::CommandLine::PrintGroup(), ns3::CommandLine::PrintGroups(), ns3::CommandLine::PrintTypeIds(), and ns3::Config::Reset().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 603 of file type-id.cc.
References ns3::Singleton< T >::Get(), and NS_LOG_FUNCTION_NOARGS.
Referenced by StaticInformation::DoGather(), GetNameMap(), ns3::AttributeDefaultIterator::Iterate(), PrintAllAttributes(), PrintAllTraceSources(), ns3::CommandLine::PrintGroup(), ns3::CommandLine::PrintGroups(), ns3::CommandLine::PrintTypeIds(), and ns3::Config::Reset().
Here is the call graph for this function:
Here is the caller graph for this function:| std::size_t ns3::TypeId::GetSize | ( | void | ) | const |
Definition at line 706 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by PrintSize().
Here is the call graph for this function:
Here is the caller graph for this function:| struct TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource | ( | uint32_t | i | ) | const |
| i | index into trace source array. |
Definition at line 807 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by LookupTraceSourceByName(), PrintAllTraceSources(), and PrintTraceSourcesTid().
Here is the call graph for this function:
Here is the caller graph for this function:| uint32_t ns3::TypeId::GetTraceSourceN | ( | void | ) | const |
Definition at line 801 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by LookupTraceSourceByName(), PrintAllTraceSources(), PrintTraceSources(), and PrintTraceSourcesTid().
Here is the call graph for this function:
Here is the caller graph for this function:| uint16_t ns3::TypeId::GetUid | ( | void | ) | const |
This is really an internal method which users are not expected to use.
Definition at line 863 of file type-id.cc.
References m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::ByteTagList::Add(), ns3::PacketMetadata::AddHeader(), ns3::PacketMetadata::AddTrailer(), ns3::PacketMetadata::Deserialize(), ns3::WifiRadioEnergyModelHelper::DoInstall(), UniqueTypeIdTestCase::DoRun(), ns3::PacketMetadata::RemoveHeader(), ns3::PacketMetadata::RemoveTrailer(), and ns3::QosWifiMacHelper::Setup().
Here is the caller graph for this function:| bool ns3::TypeId::HasConstructor | ( | void | ) | const |
Definition at line 714 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::Packet::Print(), and ns3::Packet::PrintPacketTags().
Here is the call graph for this function:
Here is the caller graph for this function:| bool ns3::TypeId::HasParent | ( | void | ) | const |
Definition at line 666 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::cell_tooltip_callback(), and ns3::AttributeIterator::DoIterate().
Here is the call graph for this function:
Here is the caller graph for this function:| TypeId ns3::TypeId::HideFromDocumentation | ( | void | ) |
Definition at line 833 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 673 of file type-id.cc.
References GetParent(), and NS_LOG_FUNCTION.
Referenced by StaticInformation::DoGather(), and ns3::PacketMetadata::ItemIterator::Next().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 616 of file type-id.cc.
References GetAttribute(), GetAttributeN(), GetParent(), ns3::TypeId::AttributeInformation::name, and NS_LOG_FUNCTION.
Referenced by ns3::CommandLine::AddValue(), ns3::operator>>(), and ns3::ObjectFactory::Set().
Here is the call graph for this function:
Here is the caller graph for this function:| hash | the hash to lookup |
This method cannot fail: it will crash if the input hash does not match an existing TypeId.
Definition at line 583 of file type-id.cc.
References ns3::Singleton< T >::Get(), NS_ASSERT_MSG, and TypeId().
Here is the call graph for this function:| hash | the hash of the requested TypeId |
| tid | a pointer to the TypeId instance where the result of this function should be stored. |
Definition at line 591 of file type-id.cc.
References ns3::Singleton< T >::Get(), and TypeId().
Here is the call graph for this function:
|
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 563 of file type-id.cc.
References ns3::Singleton< T >::Get(), NS_ASSERT_MSG, NS_LOG_FUNCTION, and TypeId().
Referenced by ns3::PointToPointEpcHelper::AddEnb(), ns3::EmuEpcHelper::AddEnb(), ns3::EpcX2::AddX2Interface(), ns3::PacketMetadata::Deserialize(), ns3::EmuEpcHelper::DoInitialize(), ns3::RipNg::DoInitialize(), ns3::Resolver::DoResolve(), ns3::RipNg::NotifyInterfaceUp(), ns3::PointToPointEpcHelper::PointToPointEpcHelper(), ns3::PyViz::RegisterCsmaLikeDevice(), ns3::PyViz::RegisterPointToPointLikeDevice(), ns3::PyViz::RegisterWifiLikeDevice(), RunSimulation(), ns3::ObjectFactory::SetTypeId(), SetupPacketReceive(), ns3::UdpEchoServer::StartApplication(), ns3::PacketSocketServer::StartApplication(), ns3::PacketSocketClient::StartApplication(), ns3::V4Ping::StartApplication(), ns3::UdpClient::StartApplication(), ns3::UdpServer::StartApplication(), ns3::Ping6::StartApplication(), ns3::BsmApplication::StartApplication(), ns3::Radvd::StartApplication(), ns3::UdpTraceClient::StartApplication(), ns3::UdpEchoClient::StartApplication(), ns3::ModelTypeidCreator::StartVisitTypeId(), and Tunnel::Tunnel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 571 of file type-id.cc.
References ns3::Singleton< T >::Get(), NS_LOG_FUNCTION, and TypeId().
Referenced by ns3::CommandLine::AddValue(), ns3::Ns3NscStack::GetInstanceTypeId(), ns3::operator>>(), ns3::CommandLine::PrintAttributes(), StaticInformation::RecordAggregationInfo(), and ns3::Config::SetDefaultFailSafe().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 842 of file type-id.cc.
References ns3::TypeId::TraceSourceInformation::accessor, GetParent(), GetTraceSource(), GetTraceSourceN(), ns3::TypeId::TraceSourceInformation::name, and NS_LOG_FUNCTION.
Referenced by ns3::ObjectBase::TraceConnect(), ns3::ObjectBase::TraceConnectWithoutContext(), ns3::ObjectBase::TraceDisconnect(), and ns3::ObjectBase::TraceDisconnectWithoutContext().
Here is the call graph for this function:
Here is the caller graph for this function:| bool ns3::TypeId::MustHideFromDocumentation | ( | void | ) | const |
Definition at line 772 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by GetNameMap(), ns3::AttributeDefaultIterator::Iterate(), PrintAllAttributes(), and PrintAllTraceSources().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 754 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::Config::Reset(), and ns3::Config::SetDefaultFailSafe().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 645 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::MpduAggregator::GetTypeId(), ns3::DcaTxop::GetTypeId(), and ns3::EdcaTxopN::GetTypeId().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 638 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::Ns3NscStack::GetInstanceTypeId(), ns3::ObjectBase::GetObjectIid(), ConfigExample::GetTypeId(), SampleEmitter::GetTypeId(), MyHeader::GetTypeId(), ns3::Chunk::GetTypeId(), ns3::Icmpv4L4Protocol::GetTypeId(), TestObject::GetTypeId(), MyObject::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseA::GetTypeId(), MyTag::GetTypeId(), ns3::Ipv4RawSocketImpl::GetTypeId(), ns3::LtePhyTag::GetTypeId(), ns3::FlowIdTag::GetTypeId(), ns3::DefaultChannelScheduler::GetTypeId(), ns3::Dcf::GetTypeId(), ns3::MpduStandardAggregator::GetTypeId(), ns3::MsduStandardAggregator::GetTypeId(), ns3::Dot11sStack::GetTypeId(), ns3::ConstantSpectrumPropagationLossModel::GetTypeId(), ns3::ErrorRateModel::GetTypeId(), anonymous_namespace{packet-metadata-test.cc}::HistoryHeaderBase::GetTypeId(), ns3::LrWpanLqiTag::GetTypeId(), ns3::SnrTag::GetTypeId(), ns3::LteRadioBearerTag::GetTypeId(), BenchHeader< N >::GetTypeId(), ns3::WifiTxCurrentModel::GetTypeId(), ns3::AmpduTag::GetTypeId(), ns3::WifiPhyStateHelper::GetTypeId(), ns3::FlameStack::GetTypeId(), ns3::ConstantAccelerationMobilityModel::GetTypeId(), ns3::AlohaNoackMacHeader::GetTypeId(), ns3::EpsBearerTag::GetTypeId(), ns3::AarfWifiManager::GetTypeId(), ns3::AdhocWifiMac::GetTypeId(), ns3::AmpduSubframeHeader::GetTypeId(), ns3::AmsduSubframeHeader::GetTypeId(), ns3::ConstantRateWifiManager::GetTypeId(), ns3::RlcTag::GetTypeId(), ns3::ConstantPositionMobilityModel::GetTypeId(), ns3::BridgeChannel::GetTypeId(), ns3::EpcX2Header::GetTypeId(), ns3::UanNoiseModel::GetTypeId(), ns3::PdcpTag::GetTypeId(), ns3::LteRlcTm::GetTypeId(), ns3::LteRlcUm::GetTypeId(), ns3::BurstProfileManager::GetTypeId(), ns3::IpcsClassifier::GetTypeId(), ns3::SSManager::GetTypeId(), ns3::WimaxMacQueue::GetTypeId(), ns3::TcpOptionEnd::GetTypeId(), ns3::BasicEnergySource::GetTypeId(), Sender::GetTypeId(), ns3::AarfcdWifiManager::GetTypeId(), ns3::CaraWifiManager::GetTypeId(), ns3::NistErrorRateModel::GetTypeId(), ns3::LteRlcAm::GetTypeId(), ns3::BSLinkManager::GetTypeId(), ns3::BuildingListPriv::GetTypeId(), ns3::ItuR1238PropagationLossModel::GetTypeId(), ns3::IsotropicAntennaModel::GetTypeId(), SequenceNumberTestObj::GetTypeId(), ns3::DropTailQueue::GetTypeId(), ns3::ErrorChannel::GetTypeId(), ns3::SimpleDeviceEnergyModel::GetTypeId(), ns3::LteFfrDistributedAlgorithm::GetTypeId(), ns3::AmrrWifiManager::GetTypeId(), ns3::RraaWifiManager::GetTypeId(), ns3::LteRlcSduStatusTag::GetTypeId(), ns3::Building::GetTypeId(), ns3::WimaxChannel::GetTypeId(), ns3::LteSimpleNetDevice::GetTypeId(), ns3::WimaxMacToMacHeader::GetTypeId(), ns3::dot11s::MeshHeader::GetTypeId(), ns3::ConstantVelocityMobilityModel::GetTypeId(), ns3::PositionAllocator::GetTypeId(), ns3::DelayJitterEstimationTimestampTag::GetTypeId(), ns3::PacketBurst::GetTypeId(), ns3::PacketSocketFactory::GetTypeId(), ns3::LrWpanErrorModel::GetTypeId(), ns3::ErrorChannelSixlow::GetTypeId(), ns3::GtpuHeader::GetTypeId(), ns3::BsmApplication::GetTypeId(), ns3::ApWifiMac::GetTypeId(), ns3::OhBuildingsPropagationLossModel::GetTypeId(), ns3::ChannelListPriv::GetTypeId(), ns3::Tag::GetTypeId(), ns3::TcpNewReno::GetTypeId(), ns3::TcpOptionTS::GetTypeId(), ns3::JakesPropagationLossModel::GetTypeId(), ns3::SpectrumErrorModel::GetTypeId(), ns3::LtePdcp::GetTypeId(), ns3::OnoeWifiManager::GetTypeId(), ns3::SSLinkManager::GetTypeId(), ns3::Ipv4RawSocketFactory::GetTypeId(), AlternateTestObject::GetTypeId(), ns3::SSScheduler::GetTypeId(), ns3::WimaxConnection::GetTypeId(), ns3::TcpOption::GetTypeId(), ns3::PropagationDelayModel::GetTypeId(), ns3::FriisSpectrumPropagationLossModel::GetTypeId(), ns3::DataCollectionObject::GetTypeId(), ns3::ArfWifiManager::GetTypeId(), ns3::RandomBuildingPositionAllocator::GetTypeId(), ns3::MsduAggregator::GetTypeId(), ConfigTestObject::GetTypeId(), ns3::LteRadioBearerInfo::GetTypeId(), ns3::WifiChannel::GetTypeId(), ns3::Ipv6ExtensionDemux::GetTypeId(), ns3::dot11s::AirtimeLinkMetricCalculator::GetTypeId(), ns3::Ipv6OptionDemux::GetTypeId(), ns3::flame::FlameHeader::GetTypeId(), ns3::LoopbackNetDevice::GetTypeId(), ns3::MpiReceiver::GetTypeId(), ns3::NodeListPriv::GetTypeId(), ns3::TcpReno::GetTypeId(), ns3::Asn1Header::GetTypeId(), ns3::StaWifiMac::GetTypeId(), ns3::WifiMacTrailer::GetTypeId(), ns3::RrcAsn1Header::GetTypeId(), anonymous_namespace{object-test-suite.cc}::DerivedA::GetTypeId(), ns3::MobilityModel::GetTypeId(), ns3::ConfigStore::GetTypeId(), ns3::RipNgRte::GetTypeId(), ns3::UdpEchoClient::GetTypeId(), ns3::TcpRfc793::GetTypeId(), ns3::PcapFileWrapper::GetTypeId(), ns3::LteHexGridEnbTopologyHelper::GetTypeId(), ns3::SingleModelSpectrumChannel::GetTypeId(), ns3::Probe::GetTypeId(), ns3::UanPropModelIdeal::GetTypeId(), ns3::UanPropModelThorp::GetTypeId(), ns3::VisualSimulatorImpl::GetTypeId(), ns3::LteAmc::GetTypeId(), ns3::LteFrHardAlgorithm::GetTypeId(), ns3::ParfWifiManager::GetTypeId(), ns3::WifiMac::GetTypeId(), ns3::UplinkSchedulerSimple::GetTypeId(), ns3::ConnectionManager::GetTypeId(), ns3::LteTestUePhy::GetTypeId(), ns3::Trailer::GetTypeId(), ns3::MapScheduler::GetTypeId(), ns3::TcpRxBuffer::GetTypeId(), ns3::SimpleTag::GetTypeId(), ns3::UdpSocketFactory::GetTypeId(), ns3::TcpTxBuffer::GetTypeId(), ns3::UanTransducerHd::GetTypeId(), ns3::CosineAntennaModel::GetTypeId(), ns3::HigherLayerTxVectorTag::GetTypeId(), ns3::WaveMacLow::GetTypeId(), ns3::AparfWifiManager::GetTypeId(), ns3::LteFfrSoftAlgorithm::GetTypeId(), ns3::LteFrSoftAlgorithm::GetTypeId(), ns3::LteFrStrictAlgorithm::GetTypeId(), ns3::IdealWifiManager::GetTypeId(), ns3::dot11s::PeerLink::GetTypeId(), ns3::MeshL2RoutingProtocol::GetTypeId(), ns3::NullMessageSimulatorImpl::GetTypeId(), ns3::RemoteChannelBundle::GetTypeId(), ns3::WifiInformationElementVector::GetTypeId(), ns3::UplinkScheduler::GetTypeId(), ns3::LteSimpleHelper::GetTypeId(), ns3::LteTestRrc::GetTypeId(), ns3::ListScheduler::GetTypeId(), ns3::Header::GetTypeId(), ns3::RttEstimator::GetTypeId(), ns3::TcpTahoe::GetTypeId(), ns3::PointToPointRemoteChannel::GetTypeId(), ns3::Kun2600MhzPropagationLossModel::GetTypeId(), ns3::LteFfrEnhancedAlgorithm::GetTypeId(), ns3::LteUeMac::GetTypeId(), ns3::BSScheduler::GetTypeId(), ns3::BSSchedulerSimple::GetTypeId(), ns3::ServiceFlowManager::GetTypeId(), ns3::MobilityBuildingInfo::GetTypeId(), ns3::TraceFadingLossModel::GetTypeId(), ns3::dot11s::HwmpProtocol::GetTypeId(), ns3::ParabolicAntennaModel::GetTypeId(), ns3::UdpClient::GetTypeId(), ns3::DefaultSimulatorImpl::GetTypeId(), ns3::Channel::GetTypeId(), ns3::UdpEchoServer::GetTypeId(), ns3::EnergySourceContainer::GetTypeId(), ns3::V4Ping::GetTypeId(), ns3::NoOpHandoverAlgorithm::GetTypeId(), ns3::SpectrumChannel::GetTypeId(), ns3::SpectrumPropagationLossModel::GetTypeId(), ns3::Uinteger16Probe::GetTypeId(), ns3::Uinteger32Probe::GetTypeId(), ns3::Uinteger8Probe::GetTypeId(), ns3::RocketfuelTopologyReader::GetTypeId(), ns3::OcbWifiMac::GetTypeId(), ns3::LteNetDevice::GetTypeId(), ns3::MpduAggregator::GetTypeId(), ns3::RandomDirection2dMobilityModel::GetTypeId(), ns3::EnergyHarvesterContainer::GetTypeId(), ns3::BasicEnergyHarvester::GetTypeId(), ns3::ItuR1411LosPropagationLossModel::GetTypeId(), ns3::ItuR1411NlosOverRooftopPropagationLossModel::GetTypeId(), ns3::LrWpanMacTrailer::GetTypeId(), ns3::GridBuildingAllocator::GetTypeId(), ns3::OrbisTopologyReader::GetTypeId(), ns3::EpcUeNas::GetTypeId(), ns3::Icmpv6L4Protocol::GetTypeId(), ns3::Ipv4ListRouting::GetTypeId(), ns3::Ipv6Option::GetTypeId(), ns3::Ping6::GetTypeId(), ns3::Queue::GetTypeId(), ns3::SimpleChannel::GetTypeId(), ns3::OkumuraHataPropagationLossModel::GetTypeId(), ns3::SpectrumPhy::GetTypeId(), ns3::LteFrNoOpAlgorithm::GetTypeId(), ns3::LteInterference::GetTypeId(), ns3::RegularWifiMac::GetTypeId(), ns3::WifiMacQueue::GetTypeId(), ns3::LteFfrSimple::GetTypeId(), ns3::MeshPointDevice::GetTypeId(), ns3::Ipv6PacketInfoTag::GetTypeId(), ns3::RandomWalk2dMobilityModel::GetTypeId(), ns3::NscTcpL4Protocol::GetTypeId(), ns3::UdpServer::GetTypeId(), ns3::PacketSocketServer::GetTypeId(), ns3::DeviceEnergyModel::GetTypeId(), ns3::RvBatteryModel::GetTypeId(), ns3::AntennaModel::GetTypeId(), ns3::UanPhyCalcSinrDual::GetTypeId(), ns3::CtrlBAckRequestHeader::GetTypeId(), ns3::Radvd::GetTypeId(), ns3::WifiNetDevice::GetTypeId(), ns3::HighLatencyDataTxVectorTag::GetTypeId(), ns3::YansWifiChannel::GetTypeId(), ns3::Ipv4PacketProbe::GetTypeId(), ns3::MacHeaderType::GetTypeId(), ns3::dot11s::PeerManagementProtocol::GetTypeId(), ns3::Ipv6ListRouting::GetTypeId(), ns3::PacketProbe::GetTypeId(), ns3::TcpSocketFactory::GetTypeId(), ns3::EnergyHarvester::GetTypeId(), ns3::UdpL4Protocol::GetTypeId(), ns3::UdpSocket::GetTypeId(), ns3::LrWpanCsmaCa::GetTypeId(), ns3::BooleanProbe::GetTypeId(), ns3::DoubleProbe::GetTypeId(), ns3::GnuplotAggregator::GetTypeId(), ns3::InetTopologyReader::GetTypeId(), ns3::UanMacAloha::GetTypeId(), ns3::UanMac::GetTypeId(), ns3::UanPhyPerGenDefault::GetTypeId(), ns3::LteEnbNetDevice::GetTypeId(), ns3::LteStatsCalculator::GetTypeId(), ns3::LteUeNetDevice::GetTypeId(), ns3::TimeProbe::GetTypeId(), ns3::Ipv6Extension::GetTypeId(), ns3::LteSimpleSpectrumPhy::GetTypeId(), ns3::Ipv6PacketProbe::GetTypeId(), ns3::Ipv6PmtuCache::GetTypeId(), ns3::NdiscCache::GetTypeId(), ns3::SimpleOfdmWimaxPhy::GetTypeId(), ns3::SocketFactory::GetTypeId(), ns3::TcpOptionWinScale::GetTypeId(), ns3::Ipv4FlowProbeTag::GetTypeId(), ns3::SpectrumAnalyzer::GetTypeId(), ns3::FileAggregator::GetTypeId(), ns3::TimeSeriesAdaptor::GetTypeId(), ns3::EpcSgwPgwApplication::GetTypeId(), ns3::aodv::RoutingProtocol::GetTypeId(), ns3::SimulatorImpl::GetTypeId(), ns3::Ipv4Interface::GetTypeId(), ns3::Ipv6Interface::GetTypeId(), ns3::CalendarScheduler::GetTypeId(), ns3::HeapScheduler::GetTypeId(), ns3::RadiotapHeader::GetTypeId(), ns3::Ipv6FlowProbeTag::GetTypeId(), ns3::ArpL3Protocol::GetTypeId(), ns3::Ipv4RoutingProtocol::GetTypeId(), ns3::LteRlc::GetTypeId(), ns3::NonCommunicatingNetDevice::GetTypeId(), ns3::BandwidthManager::GetTypeId(), ns3::dsdv::RoutingProtocol::GetTypeId(), ns3::LteUeRrcProtocolIdeal::GetTypeId(), ns3::PropagationLossModel::GetTypeId(), ns3::LrWpanNetDevice::GetTypeId(), ns3::UanNoiseModelDefault::GetTypeId(), ns3::UanMacCw::GetTypeId(), ns3::YansErrorRateModel::GetTypeId(), ns3::ApplicationPacketProbe::GetTypeId(), ns3::MeshWifiInterfaceMac::GetTypeId(), ns3::SeqTsHeader::GetTypeId(), ns3::PointToPointChannel::GetTypeId(), ns3::Cost231PropagationLossModel::GetTypeId(), ns3::Synchronizer::GetTypeId(), ns3::EpcEnbApplication::GetTypeId(), ns3::UanNetDevice::GetTypeId(), ns3::LteEnbMac::GetTypeId(), ns3::RandomWaypointMobilityModel::GetTypeId(), ns3::PacketSocketClient::GetTypeId(), ns3::UdpSocketImpl::GetTypeId(), ns3::RadioEnvironmentMapHelper::GetTypeId(), ns3::EpcMme::GetTypeId(), ns3::HybridBuildingsPropagationLossModel::GetTypeId(), ns3::UplinkSchedulerRtps::GetTypeId(), ns3::RemSpectrumPhy::GetTypeId(), ns3::aodv::TypeHeader::GetTypeId(), ns3::LteSignalingRadioBearerInfo::GetTypeId(), ns3::NscTcpSocketImpl::GetTypeId(), ns3::WaveformGenerator::GetTypeId(), ns3::LtePdcpHeader::GetTypeId(), ns3::BuildingsPropagationLossModel::GetTypeId(), ns3::CsmaNetDevice::GetTypeId(), ns3::Ipv6RoutingProtocol::GetTypeId(), ns3::UdpTraceClient::GetTypeId(), ns3::UanChannel::GetTypeId(), ns3::UanHeaderRcData::GetTypeId(), ns3::JakesProcess::GetTypeId(), ns3::ChannelManager::GetTypeId(), ns3::LteUePowerControl::GetTypeId(), ns3::SteadyStateRandomWaypointMobilityModel::GetTypeId(), ns3::Node::GetTypeId(), ns3::TcpL4Protocol::GetTypeId(), ns3::LlcSnapHeader::GetTypeId(), ns3::UanHeaderCommon::GetTypeId(), ns3::SimpleNetDevice::GetTypeId(), ns3::Ipv4NixVectorRouting::GetTypeId(), ns3::RealtimeSimulatorImpl::GetTypeId(), ns3::BaseStationNetDevice::GetTypeId(), ns3::LteUeRrcProtocolReal::GetTypeId(), anonymous_namespace{object-test-suite.cc}::BaseB::GetTypeId(), ns3::dsdv::DsdvHeader::GetTypeId(), ns3::Ipv6Header::GetTypeId(), ns3::dot11s::HwmpTag::GetTypeId(), ns3::MacStatsCalculator::GetTypeId(), ns3::LteFfrAlgorithm::GetTypeId(), ns3::IpL4Protocol::GetTypeId(), ns3::QosTag::GetTypeId(), ns3::WimaxPhy::GetTypeId(), ns3::HierarchicalMobilityModel::GetTypeId(), ns3::BSSchedulerRtps::GetTypeId(), ns3::SubscriberStationNetDevice::GetTypeId(), ns3::dot11s::HwmpRtable::GetTypeId(), ns3::TcpOptionNOP::GetTypeId(), ns3::aodv::DeferredRouteOutputTag::GetTypeId(), ns3::flame::FlameTag::GetTypeId(), ns3::AcousticModemEnergyModel::GetTypeId(), IPv4TestTag::GetTypeId(), ns3::UanMacRcGw::GetTypeId(), ns3::VirtualNetDevice::GetTypeId(), ns3::YansWifiPhy::GetTypeId(), ns3::dsdv::DeferredRouteOutputTag::GetTypeId(), ns3::flame::FlameRtable::GetTypeId(), ns3::Application::GetTypeId(), ns3::PppHeader::GetTypeId(), ns3::AlohaNoackNetDevice::GetTypeId(), ns3::TvSpectrumTransmitter::GetTypeId(), ns3::LteEnbPhy::GetTypeId(), EpsBearerTagUdpClient::GetTypeId(), ns3::Ipv6L3Protocol::GetTypeId(), ns3::dot11s::PeerLinkFrameStart::GetTypeId(), ns3::PhyRxStatsCalculator::GetTypeId(), ns3::PhyTxStatsCalculator::GetTypeId(), ns3::BridgeNetDevice::GetTypeId(), ns3::Scheduler::GetTypeId(), ns3::ManagementMessageType::GetTypeId(), ns3::dsr::GraReply::GetTypeId(), ns3::Ipv6RawSocketFactory::GetTypeId(), ns3::TcpWestwood::GetTypeId(), ns3::EpcHelper::GetTypeId(), ns3::DcaTxop::GetTypeId(), ns3::PointToPointNetDevice::GetTypeId(), ns3::PointToPointEpcHelper::GetTypeId(), ns3::LtePhy::GetTypeId(), ns3::UanPhyCalcSinr::GetTypeId(), ns3::PyVizPacketTag::GetTypeId(), ns3::CoDelQueue::GetTypeId(), ns3::ArpCache::GetTypeId(), ns3::Ipv6RawSocketImpl::GetTypeId(), ns3::EmuEpcHelper::GetTypeId(), ns3::ChannelCoordinator::GetTypeId(), ns3::LteHandoverAlgorithm::GetTypeId(), ns3::PhyStatsCalculator::GetTypeId(), ns3::Socket::GetTypeId(), ns3::WallClockSynchronizer::GetTypeId(), IPv6TestTag::GetTypeId(), ns3::A3RsrpHandoverAlgorithm::GetTypeId(), Receiver::GetTypeId(), ns3::LteDataRadioBearerInfo::GetTypeId(), ns3::BulkSendApplication::GetTypeId(), ns3::PacketSink::GetTypeId(), ns3::Ipv6StaticRouting::GetTypeId(), ns3::LiIonEnergySource::GetTypeId(), ns3::Icmpv4Header::GetTypeId(), ns3::UplinkSchedulerMBQoS::GetTypeId(), ns3::RrFfMacScheduler::GetTypeId(), ns3::Ipv4StaticRouting::GetTypeId(), ns3::CoDelTimestampTag::GetTypeId(), ns3::Ipv4GlobalRouting::GetTypeId(), ns3::BinaryErrorModel::GetTypeId(), anonymous_namespace{object-test-suite.cc}::DerivedB::GetTypeId(), ns3::ListPositionAllocator::GetTypeId(), ns3::CsmaChannel::GetTypeId(), ns3::LteRlcHeader::GetTypeId(), ns3::FfMacScheduler::GetTypeId(), ns3::FdMtFfMacScheduler::GetTypeId(), ns3::TdMtFfMacScheduler::GetTypeId(), ns3::dsr::DsrOptions::GetTypeId(), ns3::TtaFfMacScheduler::GetTypeId(), ns3::olsr::RoutingProtocol::GetTypeId(), ns3::SixLowPanNetDevice::GetTypeId(), ns3::RandomRoomPositionAllocator::GetTypeId(), ns3::flame::FlameProtocol::GetTypeId(), ns3::NetDevice::GetTypeId(), ns3::WimaxNetDevice::GetTypeId(), ns3::LteUePhy::GetTypeId(), ns3::Ipv4::GetTypeId(), ns3::EnergySource::GetTypeId(), ns3::EpcX2::GetTypeId(), ns3::AthstatsWifiTraceSink::GetTypeId(), ns3::PacketSocket::GetTypeId(), ns3::TcpSocket::GetTypeId(), ns3::RandomPropagationDelayModel::GetTypeId(), ns3::FdNetDevice::GetTypeId(), ns3::UanPhyPerUmodem::GetTypeId(), ns3::EpcX2HandoverRequestHeader::GetTypeId(), ns3::Ipv4L3Protocol::GetTypeId(), ns3::MinstrelWifiManager::GetTypeId(), ns3::GaussMarkovMobilityModel::GetTypeId(), ns3::Ipv6::GetTypeId(), ns3::PfFfMacScheduler::GetTypeId(), ns3::WifiRemoteStationManager::GetTypeId(), ns3::TdBetFfMacScheduler::GetTypeId(), ns3::FdBetFfMacScheduler::GetTypeId(), ns3::TcpOptionMSS::GetTypeId(), ns3::RedQueue::GetTypeId(), ns3::A2A4RsrqHandoverAlgorithm::GetTypeId(), ns3::CqaFfMacScheduler::GetTypeId(), ns3::BinaryErrorSixlowModel::GetTypeId(), ns3::LinearWifiTxCurrentModel::GetTypeId(), ns3::LteAnr::GetTypeId(), ns3::MultiModelSpectrumChannel::GetTypeId(), ns3::WaypointMobilityModel::GetTypeId(), ns3::OnOffApplication::GetTypeId(), ns3::RadioBearerStatsCalculator::GetTypeId(), ns3::RandomVariableStream::GetTypeId(), ns3::UanPhyDual::GetTypeId(), ns3::Object::GetTypeId(), ns3::HalfDuplexIdealPhy::GetTypeId(), ns3::GrantedTimeWindowMpiInterface::GetTypeId(), ns3::TdTbfqFfMacScheduler::GetTypeId(), ns3::MgtAssocRequestHeader::GetTypeId(), ns3::FdTbfqFfMacScheduler::GetTypeId(), ns3::PssFfMacScheduler::GetTypeId(), ns3::EthernetTrailer::GetTypeId(), ns3::EdcaTxopN::GetTypeId(), ns3::olsr::PacketHeader::GetTypeId(), ns3::TcpSocketBase::GetTypeId(), ns3::ArpHeader::GetTypeId(), ns3::ChannelScheduler::GetTypeId(), ns3::dsr::DsrRouting::GetTypeId(), ns3::LteEnbRrcProtocolIdeal::GetTypeId(), ns3::GridPositionAllocator::GetTypeId(), ns3::DistributedSimulatorImpl::GetTypeId(), ns3::TapBridge::GetTypeId(), ns3::Ipv6OptionPad1::GetTypeId(), ns3::LteHelper::GetTypeId(), ns3::Ipv4PacketInfoTag::GetTypeId(), TimestampTag::GetTypeId(), ns3::VsaManager::GetTypeId(), ns3::UeManager::GetTypeId(), ns3::WifiMacHeader::GetTypeId(), ns3::GenericMacHeader::GetTypeId(), ns3::EthernetHeader::GetTypeId(), ns3::aodv::RreqHeader::GetTypeId(), ns3::ConstantSpeedPropagationDelayModel::GetTypeId(), ns3::LteEnbRrcProtocolReal::GetTypeId(), ns3::LteTestPdcp::GetTypeId(), ns3::UdpHeader::GetTypeId(), ns3::ErrorModel::GetTypeId(), ns3::LteUeRrc::GetTypeId(), ns3::HighLatencyRtsTxVectorTag::GetTypeId(), ns3::Icmpv6Header::GetTypeId(), ns3::SameRoomPositionAllocator::GetTypeId(), ns3::TcpOptionUnknown::GetTypeId(), BenchTag< N >::GetTypeId(), ns3::UanPhyPer::GetTypeId(), ns3::RttMeanDeviation::GetTypeId(), ns3::WaveNetDevice::GetTypeId(), ns3::LteRlcAmHeader::GetTypeId(), ns3::UanHeaderRcRts::GetTypeId(), ns3::Icmpv4Echo::GetTypeId(), ns3::EpcX2HandoverRequestAckHeader::GetTypeId(), ns3::dsr::DsrNetworkQueue::GetTypeId(), ns3::UanPhyCalcSinrDefault::GetTypeId(), ns3::TopologyReader::GetTypeId(), anonymous_namespace{packet-metadata-test.cc}::HistoryTrailerBase::GetTypeId(), ns3::UanTransducer::GetTypeId(), ns3::FlowMonitor::GetTypeId(), DerivedConfigTestObject::GetTypeId(), ns3::VendorSpecificActionHeader::GetTypeId(), ns3::Ipv6OptionPadn::GetTypeId(), ns3::RipNgHeader::GetTypeId(), ns3::RandomPropagationLossModel::GetTypeId(), ns3::MgtAssocResponseHeader::GetTypeId(), BaseConfigObject::GetTypeId(), ns3::Icmpv4DestinationUnreachable::GetTypeId(), ns3::LteTestMac::GetTypeId(), ns3::LteSpectrumPhy::GetTypeId(), ns3::SixLowPanHc1::GetTypeId(), ns3::FixedRoomPositionAllocator::GetTypeId(), ns3::WifiPhy::GetTypeId(), ns3::Ipv6ExtensionHopByHop::GetTypeId(), ns3::LteRlcSm::GetTypeId(), ns3::BandwidthRequestHeader::GetTypeId(), ns3::EpcX2HandoverPreparationFailureHeader::GetTypeId(), ns3::aodv::RrepHeader::GetTypeId(), ns3::UanMacRc::GetTypeId(), ns3::RipNg::GetTypeId(), ns3::dsr::PassiveBuffer::GetTypeId(), ns3::RrcConnectionRequestHeader::GetTypeId(), ns3::CtrlBAckResponseHeader::GetTypeId(), ns3::RngRsp::GetTypeId(), DerivedConfigObject::GetTypeId(), ns3::RateErrorModel::GetTypeId(), ns3::UniformRandomVariable::GetTypeId(), ns3::UanPhyCalcSinrFhFsk::GetTypeId(), ns3::HighLatencyCtsToSelfTxVectorTag::GetTypeId(), ns3::Ipv6OptionJumbogram::GetTypeId(), ns3::RandomRectanglePositionAllocator::GetTypeId(), ns3::olsr::MessageHeader::GetTypeId(), ns3::dsr::RreqTable::GetTypeId(), ns3::LrWpanMac::GetTypeId(), ns3::EpcX2SnStatusTransferHeader::GetTypeId(), ns3::WifiRadioEnergyModel::GetTypeId(), ns3::Ipv6ExtensionDestination::GetTypeId(), ns3::Ucd::GetTypeId(), ns3::MgtProbeRequestHeader::GetTypeId(), ns3::GrantManagementSubheader::GetTypeId(), ns3::Ipv4Header::GetTypeId(), ns3::Dcd::GetTypeId(), ns3::RandomBoxPositionAllocator::GetTypeId(), ns3::PacketSocketTag::GetTypeId(), ns3::UanPhyGen::GetTypeId(), ns3::aodv::RrepAckHeader::GetTypeId(), ns3::LrWpanPhy::GetTypeId(), ns3::UanHeaderRcCtsGlobal::GetTypeId(), ns3::Ipv6OptionRouterAlert::GetTypeId(), ns3::Icmpv6OptionHeader::GetTypeId(), ns3::EpcX2UeContextReleaseHeader::GetTypeId(), ns3::Icmpv4TimeExceeded::GetTypeId(), ns3::Ipv6ExtensionFragment::GetTypeId(), ns3::TcpHeader::GetTypeId(), ns3::FriisPropagationLossModel::GetTypeId(), ns3::DeviceNameTag::GetTypeId(), ns3::RandomDiscPositionAllocator::GetTypeId(), ns3::FragmentationSubheader::GetTypeId(), ns3::EpcTestRrc::GetTypeId(), ns3::aodv::RerrHeader::GetTypeId(), ns3::EpcX2LoadInformationHeader::GetTypeId(), ns3::dsr::DsrOptionPad1::GetTypeId(), ns3::UanPropModel::GetTypeId(), ns3::dsr::RouteCache::GetTypeId(), ns3::MgtProbeResponseHeader::GetTypeId(), ns3::BurstErrorModel::GetTypeId(), ns3::dsr::DsrOptionPadn::GetTypeId(), ns3::ConstantRandomVariable::GetTypeId(), ns3::EpcX2ResourceStatusUpdateHeader::GetTypeId(), ns3::DsaReq::GetTypeId(), ns3::dsr::DsrOptionRreq::GetTypeId(), ns3::UniformDiscPositionAllocator::GetTypeId(), ns3::DlMap::GetTypeId(), ns3::UlMap::GetTypeId(), ns3::UanHeaderRcCts::GetTypeId(), ns3::ofi::Controller::GetTypeId(), ns3::Icmpv6NS::GetTypeId(), ns3::SequentialRandomVariable::GetTypeId(), ns3::dsr::DsrOptionRrep::GetTypeId(), ns3::TwoRayGroundPropagationLossModel::GetTypeId(), ns3::SixLowPanFrag1::GetTypeId(), ns3::ListErrorModel::GetTypeId(), RoutingHelper::GetTypeId(), ns3::DsaRsp::GetTypeId(), ns3::dsr::DsrOptionSR::GetTypeId(), ns3::LrWpanMacHeader::GetTypeId(), ns3::WifiActionHeader::GetTypeId(), ns3::ReceiveListErrorModel::GetTypeId(), ns3::IdealHandoverPreparationInfoHeader::GetTypeId(), ns3::Ipv6ExtensionRouting::GetTypeId(), ns3::dsr::DsrOptionRerr::GetTypeId(), ns3::UanHeaderRcAck::GetTypeId(), ns3::Icmpv6NA::GetTypeId(), ns3::DsaAck::GetTypeId(), ns3::MgtAddBaRequestHeader::GetTypeId(), ns3::SixLowPanFragN::GetTypeId(), ns3::ExponentialRandomVariable::GetTypeId(), ns3::Ipv6ExtensionRoutingDemux::GetTypeId(), ns3::dsr::DsrOptionAckReq::GetTypeId(), ns3::LogDistancePropagationLossModel::GetTypeId(), ns3::RngReq::GetTypeId(), ns3::UanPhy::GetTypeId(), ns3::dsr::DsrOptionAck::GetTypeId(), ns3::LteEnbRrc::GetTypeId(), ns3::IdealHandoverCommandHeader::GetTypeId(), ns3::Ipv6ExtensionLooseRouting::GetTypeId(), ns3::SixLowPanIpv6::GetTypeId(), ns3::MgtAddBaResponseHeader::GetTypeId(), ns3::Icmpv6RA::GetTypeId(), ns3::GlobalRouter::GetTypeId(), ns3::ThreeLogDistancePropagationLossModel::GetTypeId(), ns3::Ipv6ExtensionESP::GetTypeId(), ns3::PbbPacket::GetTypeId(), ns3::Ipv6ExtensionAH::GetTypeId(), ns3::NakagamiPropagationLossModel::GetTypeId(), ns3::ParetoRandomVariable::GetTypeId(), ns3::SixLowPanIphc::GetTypeId(), ns3::MgtDelBaHeader::GetTypeId(), ns3::FixedRssLossModel::GetTypeId(), WifiPhyStats::GetTypeId(), ns3::MatrixPropagationLossModel::GetTypeId(), ns3::Icmpv6RS::GetTypeId(), ns3::AnimByteTag::GetTypeId(), ns3::RangePropagationLossModel::GetTypeId(), ns3::Icmpv6Redirection::GetTypeId(), ns3::WeibullRandomVariable::GetTypeId(), ns3::Icmpv6Echo::GetTypeId(), ns3::SocketAddressTag::GetTypeId(), ns3::SixLowPanNhcExtension::GetTypeId(), ns3::SocketIpTtlTag::GetTypeId(), ns3::Icmpv6DestinationUnreachable::GetTypeId(), ns3::NormalRandomVariable::GetTypeId(), ns3::SocketIpv6HopLimitTag::GetTypeId(), ns3::SocketSetDontFragmentTag::GetTypeId(), ns3::Icmpv6TooBig::GetTypeId(), ns3::SixLowPanUdpNhcExtension::GetTypeId(), ns3::SocketIpTosTag::GetTypeId(), ns3::SocketIpv6TclassTag::GetTypeId(), ns3::Icmpv6TimeExceeded::GetTypeId(), ns3::Icmpv6ParameterError::GetTypeId(), ns3::LogNormalRandomVariable::GetTypeId(), ns3::Icmpv6OptionMtu::GetTypeId(), ns3::Icmpv6OptionPrefixInformation::GetTypeId(), ns3::GammaRandomVariable::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().
Here is the call graph for this function:| TypeId ns3::TypeId::SetParent | ( | void | ) |
| TypeId ns3::TypeId::SetSize | ( | std::size_t | size | ) |
Set the size of this type, based on the sizeof operator.
Call this way:
This is done automatically by NS_LOG_ENSURE_REGISTERED() A ridiculously large reported size is a symptom that the type hasn't been registered.
| size | The size of the object, in bytes. |
Definition at line 652 of file type-id.cc.
References ns3::Singleton< T >::Get(), m_tid, and NS_LOG_FUNCTION.
Here is the call graph for this function:| 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 869 of file type-id.cc.
References m_tid, and NS_LOG_FUNCTION.
Referenced by ns3::PacketMetadata::GetSerializedSize(), ns3::ByteTagList::Iterator::Next(), ns3::PacketMetadata::ItemIterator::Next(), and ns3::PacketMetadata::Serialize().
Here is the caller graph for this function:Definition at line 895 of file type-id.cc.
|
private |
Definition at line 407 of file type-id.h.
Referenced by AddAttribute(), AddTraceSource(), DoAddConstructor(), GetAttribute(), GetAttributeN(), GetConstructor(), GetGroupName(), GetHash(), GetName(), GetParent(), GetSize(), GetTraceSource(), GetTraceSourceN(), GetUid(), HasConstructor(), HasParent(), HideFromDocumentation(), MustHideFromDocumentation(), ns3::operator!=(), ns3::operator<(), operator=(), ns3::operator==(), SetAttributeInitialValue(), SetGroupName(), SetParent(), SetSize(), SetUid(), and TypeId().