Simulation Class |
Namespace: Network.Sim.Core
public static class Simulation
The Simulation type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Objects |
Gets a dictionary of all objects registeres with the simulation.
|
![]() ![]() | OutputLevel |
Determines the granularity of the output.
|
![]() ![]() | Time |
The current time of the simulation, in nanoseconds.
|
Name | Description | |
---|---|---|
![]() ![]() | AddEvent |
Adds the specified event to the simulation.
|
![]() ![]() | AddObject |
Adds the specified object to a dictionary for "book-keeping" under the specified
key.
|
![]() ![]() | Callback |
Schedules the specified callback to run after the specified number of nanoseconds,
in simulation time.
|
![]() ![]() | RemoveEvents |
Removes the events that match the conditions of the specified delegate.
|
![]() ![]() | RunTo |
Advances the simulation to the specified moment in time.
|
![]() ![]() | Start |
Starts and runs the command-line interpreter.
|
![]() ![]() | Write |
Writes the specified string to the output using the specified output-level and optionally
the specified color.
|
![]() ![]() | WriteLine |
Writes the specified string followed by a newline to the output using the specified
output-level and optionally the specified color.
|