#include <point-to-point-remote-channel.h>
Public Member Functions | |
PointToPointRemoteChannel () | |
~PointToPointRemoteChannel () | |
virtual bool | TransmitStart (Ptr< Packet > p, Ptr< PointToPointNetDevice > src, Time txTime) |
Transmit a packet over this channel. | |
![]() | |
PointToPointChannel () | |
Create a PointToPointChannel. | |
void | Attach (Ptr< PointToPointNetDevice > device) |
Attach a given netdevice to this channel. | |
virtual Ptr< NetDevice > | GetDevice (uint32_t i) const |
virtual uint32_t | GetNDevices (void) const |
Get number of devices on this channel. | |
Ptr< PointToPointNetDevice > | GetPointToPointDevice (uint32_t i) const |
![]() | |
Channel () | |
virtual | ~Channel () |
uint32_t | GetId (void) const |
![]() | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
AggregateIterator | GetAggregateIterator (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Initialize (void) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
![]() | |
virtual | ~ObjectBase () |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
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) |
Additional Inherited Members | |
![]() | |
Time | GetDelay (void) const |
Ptr< PointToPointNetDevice > | GetDestination (uint32_t i) const |
Ptr< PointToPointNetDevice > | GetSource (uint32_t i) const |
bool | IsInitialized (void) const |
ns3::PointToPointRemoteChannel is accessible through the following paths with Config::Set and Config::Connect:
No Attributes are defined for this type.
No TraceSources are defined for this type.
Definition at line 35 of file point-to-point-remote-channel.h.
ns3::PointToPointRemoteChannel::PointToPointRemoteChannel | ( | ) |
Definition at line 46 of file point-to-point-remote-channel.cc.
ns3::PointToPointRemoteChannel::~PointToPointRemoteChannel | ( | ) |
Definition at line 50 of file point-to-point-remote-channel.cc.
|
static |
Reimplemented from ns3::PointToPointChannel.
Definition at line 37 of file point-to-point-remote-channel.cc.
References ns3::TypeId::SetParent().
|
virtual |
Transmit a packet over this channel.
p | Packet to transmit |
src | Source PointToPointNetDevice |
txTime | Transmit time to apply |
Reimplemented from ns3::PointToPointChannel.
Definition at line 55 of file point-to-point-remote-channel.cc.
References ns3::PointToPointChannel::GetDelay(), ns3::PointToPointChannel::GetDestination(), ns3::Node::GetId(), ns3::PointToPointNetDevice::GetIfIndex(), ns3::PointToPointNetDevice::GetNode(), ns3::PointToPointChannel::GetSource(), ns3::Packet::GetUid(), ns3::PointToPointChannel::IsInitialized(), ns3::Now(), NS_FATAL_ERROR, NS_LOG_FUNCTION, NS_LOG_LOGIC, and SendPacket().