#include "remote-channel-bundle-manager.h"
Static Public Member Functions | |
static Ptr< RemoteChannelBundle > | Add (uint32_t systemId) |
Add RemoteChannelBundle from this task to MPI task on other side of the link. More... | |
static void | Destroy (void) |
Destroy the singleton. More... | |
static Ptr< RemoteChannelBundle > | Find (uint32_t systemId) |
static Time | GetSafeTime (void) |
static void | InitializeNullMessageEvents (void) |
Setup initial Null Message events for every RemoteChannelBundle. More... | |
static std::size_t | Size (void) |
Private Types | |
typedef std::map< uint32_t, Ptr< RemoteChannelBundle > > | RemoteChannelMap |
Private Member Functions | |
RemoteChannelBundleManager () | |
Private ctor to prevent creation outside of singleton pattern. More... | |
~RemoteChannelBundleManager () | |
Static Private Attributes | |
static bool | g_initialized = false |
static RemoteChannelMap | g_remoteChannelBundles |
Definition at line 40 of file remote-channel-bundle-manager.h.
|
private |
Definition at line 95 of file remote-channel-bundle-manager.h.
|
inlineprivate |
Private ctor to prevent creation outside of singleton pattern.
Definition at line 82 of file remote-channel-bundle-manager.h.
|
inlineprivate |
Definition at line 86 of file remote-channel-bundle-manager.h.
|
static |
Add RemoteChannelBundle from this task to MPI task on other side of the link.
Can not be invoked after InitializeNullMessageEvents has been invoked.
Definition at line 50 of file remote-channel-bundle-manager.cc.
References g_initialized, g_remoteChannelBundles, and NS_ASSERT.
Referenced by ns3::NullMessageSimulatorImpl::CalculateLookAhead().
|
static |
Destroy the singleton.
Definition at line 104 of file remote-channel-bundle-manager.cc.
References g_initialized, g_remoteChannelBundles, and NS_ASSERT.
Referenced by ns3::NullMessageSimulatorImpl::Destroy().
|
static |
Definition at line 35 of file remote-channel-bundle-manager.cc.
References g_remoteChannelBundles.
Referenced by ns3::NullMessageSimulatorImpl::CalculateGuaranteeTime(), ns3::NullMessageSimulatorImpl::CalculateLookAhead(), ns3::NullMessageMpiInterface::InitializeSendReceiveBuffers(), ns3::NullMessageMpiInterface::ReceiveMessages(), and ns3::NullMessageSimulatorImpl::RescheduleNullMessageEvent().
|
static |
Definition at line 87 of file remote-channel-bundle-manager.cc.
References g_initialized, g_remoteChannelBundles, ns3::Simulator::GetMaximumSimulationTime(), ns3::Min(), and NS_ASSERT.
Referenced by ns3::NullMessageSimulatorImpl::CalculateSafeTime().
|
static |
Setup initial Null Message events for every RemoteChannelBundle.
All RemoteChannelBundles should be added before this method is invoked.
Definition at line 69 of file remote-channel-bundle-manager.cc.
References g_initialized, g_remoteChannelBundles, ns3::NullMessageSimulatorImpl::GetInstance(), NS_ASSERT, and ns3::NullMessageSimulatorImpl::ScheduleNullMessageEvent().
Referenced by ns3::NullMessageSimulatorImpl::Run().
|
static |
Definition at line 63 of file remote-channel-bundle-manager.cc.
References g_remoteChannelBundles.
Referenced by ns3::NullMessageMpiInterface::InitializeSendReceiveBuffers().
|
staticprivate |
Definition at line 102 of file remote-channel-bundle-manager.h.
Referenced by Add(), Destroy(), GetSafeTime(), and InitializeNullMessageEvents().
|
staticprivate |
Definition at line 96 of file remote-channel-bundle-manager.h.
Referenced by Add(), Destroy(), Find(), GetSafeTime(), InitializeNullMessageEvents(), and Size().