Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F8593569
AwaitBase.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
1 KB
Referenced Files
None
Subscribers
None
AwaitBase.h
View Options
//===-- deluxe/executionpolicies/AwaitBase.h --------------------*- C++ -*-===//
//
// The RoSA Framework
//
//===----------------------------------------------------------------------===//
///
/// \file deluxe/executionpolicies/AwaitBase.h
///
/// \author David Juhasz (david.juhasz@tuwien.ac.at)
///
/// \date 2019
///
/// \brief Declaration of the DeluxeExecutionPolicy AwaitBase.
///
//===----------------------------------------------------------------------===//
#ifndef ROSA_LIB_DELUXE_EXECUTIONPOLICIES_AWAITBASE_H
#define ROSA_LIB_DELUXE_EXECUTIONPOLICIES_AWAITBASE_H
#include
"rosa/deluxe/DeluxeExecutionPolicy.h"
#include
<functional>
namespace
rosa
{
namespace
deluxe
{
class
AwaitBase
:
public
DeluxeExecutionPolicy
{
protected
:
const
std
::
set
<
size_t
>
Set
;
using
CheckerType
=
std
::
function
<
bool
(
std
::
set
<
size_t
>::
const_iterator
,
std
::
set
<
size_t
>::
const_iterator
,
std
::
function
<
bool
(
const
size_t
)
>
)
>
;
const
CheckerType
Checker
;
AwaitBase
(
const
std
::
set
<
size_t
>
&
S
,
CheckerType
&&
Checker
);
public
:
bool
canHandle
(
const
AgentHandle
H
,
const
DeluxeSystem
&
S
)
const
noexcept
override
;
bool
doExecute
(
const
std
::
vector
<
bool
>
&
InputChanged
)
noexcept
override
;
private
:
bool
canHandleNumberOfInputs
(
const
size_t
NumberOfInputs
)
const
noexcept
;
protected
:
std
::
string
dumpS
(
void
)
const
noexcept
;
};
}
// End namespace deluxe
}
// End namespace rosa
#endif
// ROSA_LIB_DELUXE_EXECUTIONPOLICIES_AWAITBASE_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Mon, May 4, 4:51 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
313879
Default Alt Text
AwaitBase.h (1 KB)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment