8#ifndef CMDLIB_INCLUDE_CMDLIB_COMMANDEDOBJECT_HPP_
9#define CMDLIB_INCLUDE_CMDLIB_COMMANDEDOBJECT_HPP_
11#include <nlohmann/json.hpp>
15typedef nlohmann::json cmdobj_t;
24 virtual void execute(
const cmdobj_t& command) = 0;
Interface needed by commanded objects in the DAQ.
virtual ~CommandedObject()=default
virtual void execute(const cmdobj_t &command)=0
Pure virtual execute member.