Page MenuHomePhorge

MessagingSystemImpl.cpp
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

MessagingSystemImpl.cpp

//===-- core/MessageingSystemImpl.cpp ---------------------------*- C++ -*-===//
//
// The RoSA Framework
//
// Distributed under the terms and conditions of the Boost Software License 1.0.
// See accompanying file LICENSE.
//
// If you did not receive a copy of the license file, see
// http://www.boost.org/LICENSE_1_0.txt.
//
//===----------------------------------------------------------------------===//
///
/// \file core/MessagingSystemImpl.cpp
///
/// \author David Juhasz (david.juhasz@tuwien.ac.at)
///
/// \date 2017
///
/// \brief Implementation of core/MessagingSystemImpl.hpp.
///
//===----------------------------------------------------------------------===//
#include "MessagingSystemImpl.hpp"
#include "rosa/core/Agent.hpp"
namespace rosa {
MessagingSystemImpl::MessagingSystemImpl(const std::string &Name) noexcept
: MessagingSystem(),
SystemImpl(Name) {
LOG_TRACE("System '" + Name + "' is a MessagingSystem");
}
void MessagingSystemImpl::send(const AgentHandle &H, message_t &&M) noexcept {
ASSERT(*this == unwrapSystem(H) && isUnitRegistered(unwrapAgent(H)));
unwrapAgent(H)(*M);
}
} // End namespace rosa

File Metadata

Mime Type
text/x-c++
Expires
Sun, Mar 1, 6:44 PM (4 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
277155
Default Alt Text
MessagingSystemImpl.cpp (1 KB)

Event Timeline