src/core/messenger/Message.cpp
Implementation of message. More…
Detailed Description
Implementation of message.
Copyright: Copyright (c) 2017-2024 CERN and the Allpix Squared authors. This software is distributed under the terms of the MIT License, copied verbatim in the file “LICENSE.md”. In applying this license, CERN does not waive the privileges and immunities granted to it by virtue of its status as an Intergovernmental Organization or submit itself to any jurisdiction. SPDX-License-Identifier: MIT
Source code
#include "Message.hpp"
#include <memory>
#include <utility>
#include "core/messenger/exceptions.h"
using namespace allpix;
BaseMessage::BaseMessage() = default;
BaseMessage::BaseMessage(std::shared_ptr<const Detector> detector) : detector_(std::move(detector)) {}
BaseMessage::~BaseMessage() = default;
std::vector<std::reference_wrapper<Object>> BaseMessage::getObjectArray() {
throw MessageWithoutObjectException(typeid(*this));
}
Updated on 2024-12-13 at 08:31:37 +0000