Newer
Older
/**
* @brief The BaseDAQ_Observer class is an abstract base class for DAQ system observers.
*
* This class defines the interface for observing the statistics and status of a BaseDAQ object.
* Subclasses of BaseDAQ_Observer must implement the pure virtual functions defined in this class.
*
*/
namespace inaf::oasbo::DAQ_observers{
class BaseDAQ_Observer{
/**
* @brief Constructs a BaseDAQ_Observer object with the specified BaseDAQ object.
*
* @param dataAcquisition The BaseDAQ object to observe.
*/
BaseDAQ_Observer(inaf::oasbo::DAQ::BaseDAQ &dataAcquisition) {
this->dataAcquisition = &dataAcquisition;
/**
* @brief Destroys the BaseDAQ_Observer object and removes itself from the observed BaseDAQ object.
*/
virtual ~BaseDAQ_Observer() {
this->dataAcquisition->removeObserver(this);
}
/**
* @brief Updates the packet statistics of the observed BaseDAQ object.
*/
/**
* @brief Updates the archiver statistics of the observed BaseDAQ object.
*/
/**
* @brief Updates the provider statistics of the observed BaseDAQ object.
*/
/**
* @brief Updates the receiver statistics of the observed BaseDAQ object.
*/
/**
* @brief Updates all statistics of the observed BaseDAQ object.
*/
/**
* @brief Starts the observation on the BaseDAQ object.
*/
/**
* @brief Stops the observation on the BaseDAQ object.
*/