33 #include <ns3/simulator.h> 48 : m_remoteSystemId (UINT32_MAX),
55 : m_remoteSystemId (remoteSystemId),
122 <<
", Delay = " << bundle.
m_delay << std::endl;
126 out <<
"\t" << element.second << std::endl;
RemoteChannelBundle()
Default constructor.
Simulation virtual time values and global simulation resolution.
Declaration of class ns3::NullMessageSimulatorImpl.
void SetGuaranteeTime(Time time)
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
uint32_t GetSystemId() const
Get the system Id for this side.
Collection of ns-3 channels between local and remote nodes.
EventId m_nullEventId
Event scheduled to send Null Message for this bundle.
std::size_t GetSize(void) const
Get the number of ns-3 channels in this bundle.
Time GetGuaranteeTime(void) const
Get the current guarantee time for this bundle.
int64x64_t Min(const int64x64_t &a, const int64x64_t &b)
Minimum.
void AddChannel(Ptr< Channel > channel, Time delay)
Add a channel to this bundle.
int64x64_t Max(const int64x64_t &a, const int64x64_t &b)
Maximum.
static void SendNullMessage(const Time &guaranteeUpdate, Ptr< RemoteChannelBundle > bundle)
Send a Null Message to across the specified bundle.
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
EventId GetEventId(void) const
Get the event ID of the Null Message send event for this bundle.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static Time Now(void)
Return the current simulation virtual time.
Declaration of class ns3::RemoteChannelBundle.
Declaration of classes ns3::NullMessageSentBuffer and ns3::NullMessageMpiInterface.
An identifier for simulation events.
void SetEventId(EventId id)
Set the event ID of the Null Message send event currently scheduled for this channel.
uint32_t m_remoteSystemId
Remote rank.
A base class which provides memory management and object aggregation.
Time GetDelay(void) const
Get the minimum delay along any channel in this bundle.
static TypeId GetTypeId(void)
Register this type.
Time m_delay
Delay for this Channel bundle, which is the min link delay over all incoming channels;.
ChannelMap m_channels
ChannelId to Channel map.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Time m_guaranteeTime
Guarantee time for the incoming Channels from MPI task remote_rank.