Skip to content

DAQModules

Marco Roda edited this page Jun 8, 2020 · 11 revisions

This page should contain the documentation for DAQModule interface.

DAQModule UML

The DAQModule interfaces is quite simple and it consists of just a few methods. Here is an attempt to describe them to help the implementation.

  • execute_command is the way the commands are propagated from DAQProcess to the modules. Following CCM command definitions, each developers should implement the command identification and the proper response to each of them according to the functionalities of the Module.

GraphConstructor

The GraphConstructor is the object that essentially decouples the configuration interfaces with the construction of the DAQProcess. In this context is relevant as it is the objects that defines the order followed by the DAQProcess to distribute the commands to the DAQModules.

Ownership and instantiation

Each DAQModule is instantiated by the DAQProcess and they are owd by it for all the lifetime of the application. The appframework does not limit the DAQModules that can be instantiated as it is expected that every package depending on the framework will add their own modules.

Clone this wiki locally