|
KENSv3
KAIST Educational Network System
|
NetworkSystem is a kind of System which has extensions for handling Packet network. More...
#include <E_Networking.hpp>
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. | |
| Time | getCurrentTime () |
| virtual void | addRunnable (std::shared_ptr< Runnable > runnable) final |
| Register a Runnable interface to this System. | |
| virtual void | delRunnable (std::shared_ptr< Runnable > runnable) final |
| Unregister a Runnable interface to this System. | |
| 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 |
NetworkSystem is a kind of System which has extensions for handling Packet network.