Package: inet.clock.model
IdealClock
compound moduleModels a clock where the clock time is identical to the simulation time.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in
| Name | Type | Description |
|---|---|---|
| ClockExample | network | (no description) |
Extends
| Name | Type | Description |
|---|---|---|
| ClockBase | compound module |
This is a base module for clocks. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "%t" |
determines the text that is written on top of the submodule |
Properties
| Name | Value | Description |
|---|---|---|
| class | IdealClock | |
| display | i=block/timer |
Signals
| Name | Type | Unit |
|---|---|---|
| timeChanged | simtime_t |
Statistics
| Name | Title | Source | Record | Unit | Interpolation Mode |
|---|---|---|---|---|---|
| timeChanged | Clock time | vector | linear |
Source code
// // Models a clock where the clock time is identical to the simulation time. // module IdealClock extends ClockBase like IClock { parameters: @class(IdealClock); }File: src/inet/clock/model/IdealClock.ned