ns-3
ns3::Ipv6OptionDemux Class Reference

IPv6 Option Demux. More...

#include <ipv6-option-demux.h>

Inheritance diagram for ns3::Ipv6OptionDemux:
Collaboration diagram for ns3::Ipv6OptionDemux:

List of all members.

Public Member Functions

 Ipv6OptionDemux ()
 Constructor.
virtual ~Ipv6OptionDemux ()
 Destructor.
void SetNode (Ptr< Node > node)
 Set the node.
void Insert (Ptr< Ipv6Option > option)
 Insert a new IPv6 Option.
Ptr< Ipv6OptionGetOption (int optionNumber)
 Get the option corresponding to optionNumber.
void Remove (Ptr< Ipv6Option > option)
 Remove an option from this demux.
- Public Member Functions inherited from ns3::Object
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Dispose (void)
void AggregateObject (Ptr< Object > other)
AggregateIterator GetAggregateIterator (void) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
uint32_t GetReferenceCount (void) const
- Public Member Functions inherited from ns3::ObjectBase
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Static Public Member Functions

static TypeId GetTypeId (void)
 The interface ID.

Protected Member Functions

virtual void DoDispose ()
 Dispose this object.
- Protected Member Functions inherited from ns3::Object
virtual void NotifyNewAggregate (void)
virtual void DoStart (void)
 Object (const Object &o)

Detailed Description

IPv6 Option Demux.


Member Function Documentation

Ptr< Ipv6Option > ns3::Ipv6OptionDemux::GetOption ( int  optionNumber)

Get the option corresponding to optionNumber.

Parameters:
optionNumberthe option number of the option to retrieve
Returns:
a matching IPv6 option
TypeId ns3::Ipv6OptionDemux::GetTypeId ( void  )
static

The interface ID.

This method returns the TypeId associated to ns3::Ipv6OptionDemux.

Returns:
type ID

Attributes defined for this type:

No TraceSources defined for this type.

Reimplemented from ns3::Object.

References ns3::TypeId::SetParent().

void ns3::Ipv6OptionDemux::Insert ( Ptr< Ipv6Option option)

Insert a new IPv6 Option.

Parameters:
optionthe option to insert
void ns3::Ipv6OptionDemux::Remove ( Ptr< Ipv6Option option)

Remove an option from this demux.

Parameters:
optionpointer on the option to remove
void ns3::Ipv6OptionDemux::SetNode ( Ptr< Node node)

Set the node.

Parameters:
nodethe node to set

The documentation for this class was generated from the following files: