Package jsynoptic.plugins.circuit

Examples of jsynoptic.plugins.circuit.Signal


    }
    /**
     * @param value
     */
    public void emitASignal(boolean value){
        Signal signal = new LogicalSignal(value);
        out.sendSignal(signal, Signal.getNewSignalEventId());
    }
View Full Code Here


    /**
     * A input gate has a new signal
     * @param gate
     */
    public void signalHasBeenReceived(CircuitGate gate) {
        Signal signal = gate.getCurrentSignal();

        if (signal instanceof ColoredSignal){
            receivedColor = ((ColoredSignal)signal).getColor();
        } else {
            receivedColor = null;
View Full Code Here

TOP

Related Classes of jsynoptic.plugins.circuit.Signal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.