|
HLCC Documentation 2.2.0
|
#include <dataAcquisition.hpp>
Public Member Functions | |
| DataAcquisitionList () | |
| int | GetNumberAcquisitions () |
| std::shared_ptr< DataAcquisition > | GetAcquisition (const std::string &given_id) |
| std::shared_ptr< DataAcquisition > | CreateAcquisition (OldbInterface &moldbif, std::string given_id) |
| bool | RemoveAcquisition (const std::string &given_id) |
| DataAcquisitionList (const DataAcquisitionList &)=delete | |
| DataAcquisitionList & | operator= (const DataAcquisitionList &)=delete |
| Disable copy constructor. | |
This class contains the management of data acquisitions list.
| hlcc::telif::DataAcquisitionList::DataAcquisitionList | ( | ) |
Default Constructor.
|
delete |
| std::shared_ptr< DataAcquisition > hlcc::telif::DataAcquisitionList::CreateAcquisition | ( | OldbInterface & | moldbif, |
| std::string | given_id = "" ) |
Creates a new acquisition using the with the given id
| [in] | moldbif | Oldb interface. |
| [in] | given_id | containing id for new acquisition. |
| std::runtime_error | when it fails to create aquisition. |
| std::shared_ptr< DataAcquisition > hlcc::telif::DataAcquisitionList::GetAcquisition | ( | const std::string & | given_id | ) |
Retrieves from the aquisition list reference to the acquisition that matches the given id.
| [in] | given_id | string containing id to match. |
| int hlcc::telif::DataAcquisitionList::GetNumberAcquisitions | ( | ) |
Check the number of acquisitions in the list.
|
delete |
Disable copy constructor.
| bool hlcc::telif::DataAcquisitionList::RemoveAcquisition | ( | const std::string & | given_id | ) |
Removes acquisition matching given id
| [in] | given_id | string containing id for acquisition to delete. |