lsst.sims.ocs.configuration.conf_comm module

class lsst.sims.ocs.configuration.conf_comm.ConfigurationCommunicator[source]

Bases: future.types.newobject.newobject

Main class for configuration communication.

This class handles setting up the configuration DDS topics and publishing them so they can be picked up by the Scheduler.

sal

SalManager – The object responsible for SAL interaction.

config

SimulationConfig – The top-level simulation configuration object.

log

logging.Logger – The logging instance.

Initialize the class.

configure()[source]

Configure all publish topics for the configuration communicator.

initialize(sal, config)[source]

Perform initialization steps.

Parameters:
  • sal (SalManager) – The instance responsible for SAL interaction.
  • config (SimulationConfig) – The top-level simulation configuration instance.
run()[source]

Send all of the configuration topics.