NED File src/inet/clock/model/SettableClock.ned
Name | Type | Description |
---|---|---|
SettableClock | compound module |
Models a clock which can be set to a different clock time. The clock time can be set from C++ or using a <set-clock module="..." time="..."/> command in a ScenarioManager script. |
Source code
// // Copyright (C) 2020 OpenSim Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later // package inet.clock.model; // // Models a clock which can be set to a different clock time. The clock time // can be set from C++ or using a <set-clock module="..." time="..."/> command // in a ScenarioManager script. // // @see ~ScenarioManager // module SettableClock extends OscillatorBasedClock { parameters: string defaultOverdueClockEventHandlingMode @enum("execute","skip","error") = default("error"); @class(SettableClock); }