Page MenuHomePhorge

AwaitAny.h
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

AwaitAny.h

//===-- deluxe/executionpolicies/AwaitAny.h ---------------------*- 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 deluxe/executionpolicies/AwaitAny.h
///
/// \author David Juhasz (david.juhasz@tuwien.ac.at)
///
/// \date 2019
///
/// \brief Declaration of the *execution policy* *await any*.
///
//===----------------------------------------------------------------------===//
#ifndef ROSA_LIB_DELUXE_EXECUTIONPOLICIES_AWAITANY_H
#define ROSA_LIB_DELUXE_EXECUTIONPOLICIES_AWAITANY_H
#include "AwaitBase.h"
namespace rosa {
namespace deluxe {
/// Implementation of the *execution policy* *await any*.
///
/// \see \c rosa::deluxe::DeluxeExecutionPolicy::awaitAny()
class AwaitAny : public AwaitBase {
public:
/// Constructor.
///
/// The constructor instatiates \c rosa::deluxe::AwaitBase so that execution
/// is allowed when any of the *slave* positions included in \p S has received
/// new input since the last triggering.
///
/// \param S set of *slave* positoins to check
AwaitAny(const std::set<size_t> &S);
/// Dumps \p this object into textual representation.
///
/// \return textual representation of \p this object
std::string dump(void) const noexcept override;
};
} // End namespace deluxe
} // End namespace rosa
#endif // ROSA_LIB_DELUXE_EXECUTIONPOLICIES_AWAITANY_H

File Metadata

Mime Type
text/x-c++
Expires
Sun, Mar 1, 9:36 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
286593
Default Alt Text
AwaitAny.h (1 KB)

Event Timeline