Page MenuHomePhorge

MessagingSystemImpl.cpp
No OneTemporary

Size
821 B
Referenced Files
None
Subscribers
None

MessagingSystemImpl.cpp

/*******************************************************************************
*
* File: MessagingSystemImpl.cpp
*
* Contents: Implementation of the MessagingSystemImpl class.
*
* Copyright 2017
*
* Author: David Juhasz (david.juhasz@tuwien.ac.at)
*
******************************************************************************/
#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(&unwrapSystem(H) == this && isUnitRegistered(unwrapAgent(H)));
unwrapAgent(H)(*M);
}
} // End namespace rosa

File Metadata

Mime Type
text/x-c++
Expires
Sun, May 31, 4:54 PM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
321742
Default Alt Text
MessagingSystemImpl.cpp (821 B)

Event Timeline