Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F27036293
DeluxeAtoms.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
DeluxeAtoms.hpp
View Options
//===-- rosa/deluxe/DeluxeAtoms.hpp -----------------------------*- C++ -*-===//
//
// The RoSA Framework
//
//===----------------------------------------------------------------------===//
///
/// \file rosa/deluxe/DeluxeAtoms.hpp
///
/// \author David Juhasz (david.juhasz@tuwien.ac.at)
///
/// \date 2017-2019
///
/// \brief Definition of \c rosa::AtomValue values and \c rosa::AtomConstant
/// types for the implementation of the *deluxe interface*.
///
//===----------------------------------------------------------------------===//
#ifndef ROSA_DELUXE_DELUXEATOMS_HPP
#define ROSA_DELUXE_DELUXEATOMS_HPP
#include
"rosa/support/atom.hpp"
namespace
rosa
{
namespace
deluxe
{
/// Contains some definitions used in the implementation of the *deluxe
/// interface* to denote various roles and events
///
/// \see \c rosa::deluxe::DeluxeContext
///
/// \note Do not apply `using namespace` to this namespace as that may result in
/// some identifiers in the original namespace being hidden by those of
/// \c rosa::deluxe::atoms.
namespace
atoms
{
/// Value to be used as the *kind* of \c rosa::deluxe::DeluxeSensor.
///
/// \see \c rosa::Unit::Kind
constexpr
AtomValue
SensorKind
=
atom
(
"dl_sensor"
);
/// Value to be used as the *kind* of \c rosa::deluxe::DeluxeAgent.
///
/// \see \c rosa::Unit::Kind
constexpr
AtomValue
AgentKind
=
atom
(
"dl_agent"
);
/// Type alias denoting system trigger messages.
using
Trigger
=
AtomConstant
<
atom
(
"dl_trigger"
)
>
;
/// Type alias denoting messages from a slave.
using
Slave
=
AtomConstant
<
atom
(
"dl_slave"
)
>
;
/// Type alias denoting messages from a master.
using
Master
=
AtomConstant
<
atom
(
"dl_master"
)
>
;
}
// End namespace atoms
}
// End namespace deluxe
}
// End namespace rosa
#endif
// ROSA_DELUXE_DELUXEATOMS_HPP
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Oct 27, 7:48 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
408019
Default Alt Text
DeluxeAtoms.hpp (1 KB)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline