|
CDT I-BM API 1.0.0
|
Base class for managing the CDT Beam Monitor API. Derived classes should inherit from this. More...
#include <CdtBaseBmAPI.h>


Public Member Functions | |
| CdtBaseBMAPI (RMMAPI *rmmApi, int ring, int node, std::string name, FENRegMap additional_reg_map) | |
| Constructor for the CdtBm class. | |
| void | configAcquireTime (uint64_t cycles) |
| Sets the acquisition time. Executed inside configFE right before starting the acquisition. | |
| void | measurementEnable (bool enable) |
| Enables or disables the measurement process. | |
| bool | isMeasRunning () |
| Checks if the measurement is currently running. | |
Base class for managing the CDT Beam Monitor API. Derived classes should inherit from this.
The CdtBaseBMAPI manages all basic parameters that all CDT equipment should inherit.
| CdtBaseBMAPI::CdtBaseBMAPI | ( | RMMAPI * | rmmApi, |
| int | ring, | ||
| int | node, | ||
| std::string | name, | ||
| FENRegMap | additional_reg_map ) |
Constructor for the CdtBm class.
Initializes a new instance of the CdtBm class. Calls base class FrontEndBase constructor.
| [in] | rmmApi | Pointer to the RMMAPI instance used for communication and management of the RMM |
| [in] | ring | The ring number. |
| [in] | node | The node number. |
| [in] | additional_reg_map | map to add from derived classes. Can also be empty. |
| [in] | name | The name to identify the front-end instance. |
| void CdtBaseBMAPI::configAcquireTime | ( | uint64_t | cycles | ) |
Sets the acquisition time. Executed inside configFE right before starting the acquisition.
| [in] | cycles | number of cycles for measurement to last. If 0, measure indefinitely. |
| bool CdtBaseBMAPI::isMeasRunning | ( | ) |
Checks if the measurement is currently running.
| void CdtBaseBMAPI::measurementEnable | ( | bool | enable | ) |
Enables or disables the measurement process.
| [in] | enable | Set to true to start measurement, false to stop it. |