Commit 1978e2d4 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Rename function getAll -> get_all on Clipboard

parent 27911e46
......@@ -61,7 +61,7 @@ void Clipboard::clear() {
m_event.reset();
}
std::vector<std::string> Clipboard::listCollections() const {
std::vector<std::string> Clipboard::list_collections() const {
std::vector<std::string> collections;
for(const auto& block : m_data) {
......@@ -77,6 +77,6 @@ std::vector<std::string> Clipboard::listCollections() const {
return collections;
}
const ClipboardData& Clipboard::getAll() const {
const ClipboardData& Clipboard::get_all() const {
return m_data;
}
......@@ -112,13 +112,13 @@ namespace corryvreckan {
* @brief Get a list of currently held collections on the clipboard event storage
* @return Vector of collections names currently stored on the clipboard
*/
std::vector<std::string> listCollections() const;
std::vector<std::string> list_collections() const;
/**
* @brief Retrieve all currently stored clipboard data
* @return All clipboard data
*/
const ClipboardData& getAll() const;
const ClipboardData& get_all() const;
private:
// Container for data, list of all data held
......
......@@ -364,7 +364,7 @@ std::shared_ptr<Pixels> EventLoaderEUDAQ2::get_pixel_data(std::shared_ptr<eudaq:
StatusCode EventLoaderEUDAQ2::run(std::shared_ptr<Clipboard> clipboard) {
std::shared_ptr<Pixels> pixels;
auto pixels = std::make_shared<Pixels>();
EventPosition current_position = EventPosition::UNKNOWN;
while(1) {
......
......@@ -58,7 +58,7 @@ void ROOTObjectWriter::initialise() {
StatusCode ROOTObjectWriter::run(std::shared_ptr<Clipboard> clipboard) {
auto data = clipboard->getAll();
auto data = clipboard->get_all();
LOG(DEBUG) << "Clipboard has " << data.size() << " different object types.";
for(auto& block : data) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment