Click or drag to resize
Simulation Class
Represents the simulation.
Inheritance Hierarchy
SystemObject
  Network.Sim.CoreSimulation

Namespace: Network.Sim.Core
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class Simulation

The Simulation type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberObjects
Gets a dictionary of all objects registeres with the simulation.
Public propertyStatic memberOutputLevel
Determines the granularity of the output.
Public propertyStatic memberTime
The current time of the simulation, in nanoseconds.
Top
Methods
  NameDescription
Public methodStatic memberAddEvent
Adds the specified event to the simulation.
Public methodStatic memberAddObject
Adds the specified object to a dictionary for "book-keeping" under the specified key.
Public methodStatic memberCallback
Schedules the specified callback to run after the specified number of nanoseconds, in simulation time.
Public methodStatic memberRemoveEvents
Removes the events that match the conditions of the specified delegate.
Public methodStatic memberRunTo
Advances the simulation to the specified moment in time.
Public methodStatic memberStart
Starts and runs the command-line interpreter.
Public methodStatic memberWrite
Writes the specified string to the output using the specified output-level and optionally the specified color.
Public methodStatic memberWriteLine
Writes the specified string followed by a newline to the output using the specified output-level and optionally the specified color.
Top
See Also