IdealOscillator.ned

NED File src/inet/clock/oscillator/IdealOscillator.ned

Name Type Description
IdealOscillator simple module

This module generates ticks periodically with a constant tick length.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.clock.oscillator;

import inet.clock.base.OscillatorBase;
import inet.clock.contract.IOscillator;

//
// This module generates ticks periodically with a constant tick length.
//
simple IdealOscillator extends OscillatorBase like IOscillator
{
    parameters:
        double tickLength @unit(s) = default(0s);
        @class(IdealOscillator);
}