Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F27033411
MessagingSystemImpl.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
Unknown
Size
963 B
Referenced Files
None
Subscribers
None
MessagingSystemImpl.cpp
View Options
//===-- core/MessageingSystemImpl.cpp ---------------------------*- C++ -*-===//
//
// The RoSA Framework
//
//===----------------------------------------------------------------------===//
///
/// \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
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Oct 27, 4:20 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
407098
Default Alt Text
MessagingSystemImpl.cpp (963 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline