Commit 6cf64bc8 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Metronome: make use of Event()

parent 3f28757a
#include "Metronome.h"
#include "objects/Event.hpp"
using namespace corryvreckan;
using namespace std;
......@@ -18,6 +19,8 @@ void Metronome::initialise() {
StatusCode Metronome::run(std::shared_ptr<Clipboard> clipboard) {
clipboard->put_event(std::make_shared<Event>(m_eventStart, m_eventEnd));
// Set up the clipboard persistent storage for the current event:
clipboard->put_persistent("eventStart", m_eventStart);
clipboard->put_persistent("eventEnd", m_eventEnd);
......
#ifndef CORRYVRECKAN_EVENT_H
#define CORRYVRECKAN_EVENT_H 1
#include "Object.hpp"
namespace corryvreckan {
class Event : public Object {
......
Markdown is supported
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