KENSv3
KAIST Educational Network System
Public Member Functions | List of all members
E::NetworkSystem Class Reference

NetworkSystem is a kind of System which has extensions for handling Packet network. More...

#include <E_Networking.hpp>

Inheritance diagram for E::NetworkSystem:
E::System E::NetworkLog E::Log

Public Member Functions

std::pair< std::shared_ptr< Wire >, std::pair< int, int > > addWire (NetworkModule &left, NetworkModule &right, Time propagationDelay=1000000, Size bps=1000000000UL, bool limit_speed=true)
 
Size getWireSpeed (const ModuleID moduleID)
 
- Public Member Functions inherited from E::System
 System ()
 Nothing is needed to construct a System.
 
void run (Time till)
 Execute all registered Module. Virtual clock will move to the end of the simulation. More...
 
Time getCurrentTime ()
 
virtual void addRunnable (std::shared_ptr< Runnable > runnable) final
 Register a Runnable interface to this System. More...
 
virtual void delRunnable (std::shared_ptr< Runnable > runnable) final
 Unregister a Runnable interface to this System. More...
 
template<typename T , typename... Args>
std::shared_ptr< T > addModule (Args &&...args)
 
std::string getModuleName (const ModuleID moduleID)
 
friend Module::Module (System &system)
 

Additional Inherited Members

- Protected Member Functions inherited from E::System
ModuleID lookupModuleID (Module &module)
 
- Protected Attributes inherited from E::System
std::unordered_map< ModuleID, std::shared_ptr< Module > > registeredModule
 

Detailed Description

NetworkSystem is a kind of System which has extensions for handling Packet network.

See also
System.

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