Class OlcbProgrammerManager

All Implemented Interfaces:
AddressedProgrammerManager, PropertyChangeFirer, PropertyChangeProvider, GlobalProgrammerManager

public class OlcbProgrammerManager
extends DefaultProgrammerManager
Get access to available Programmer objects.

Programmers come in two types:

  • Global, previously "Service Mode" or on a programming track. Request these from an instance of GlobalProgrammerManager.
  • Addressed, previously "Ops Mode" also known as "programming on the main". Request these from an instance of this interface.
You get a Programmer object from a ProgrammerManager, which in turn can be located from the InstanceManager.

This interface also provides a reserve/release system for tools that want to pretend they have exclusive use of a Programmer. This is a cooperative reservation; both tools (first and second reserver) must be using the reserve/release interface.

This file is part of JMRI.

JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Since:
4.1.1
See Also:
Programmer