|
| basic_flow () |
| Default constructor.
|
|
| basic_flow (const allocator_type &allocator) |
| Constructs a flow builder with a given allocator.
|
|
| basic_flow (const basic_flow &)=default |
| Default copy constructor.
|
|
| basic_flow (const basic_flow &other, const allocator_type &allocator) |
| Allocator-extended copy constructor.
|
|
| basic_flow (basic_flow &&) noexcept=default |
| Default move constructor.
|
|
| basic_flow (basic_flow &&other, const allocator_type &allocator) |
| Allocator-extended move constructor.
|
|
| ~basic_flow ()=default |
| Default destructor.
|
|
basic_flow & | operator= (const basic_flow &)=default |
| Default copy assignment operator.
|
|
basic_flow & | operator= (basic_flow &&) noexcept=default |
| Default move assignment operator.
|
|
constexpr allocator_type | get_allocator () const noexcept |
| Returns the associated allocator.
|
|
id_type | operator[] (const size_type pos) const |
| Returns the identifier at specified location.
|
|
void | clear () noexcept |
| Clears the flow builder.
|
|
void | swap (basic_flow &other) noexcept |
| Exchanges the contents with those of a given flow builder.
|
|
bool | empty () const noexcept |
| Returns true if a flow builder contains no tasks, false otherwise.
|
|
size_type | size () const noexcept |
| Returns the number of tasks.
|
|
basic_flow & | bind (const id_type value) |
| Binds a task to a flow builder.
|
|
basic_flow & | sync () |
| Turns the current task into a sync point.
|
|
basic_flow & | set (const id_type res, bool is_rw=false) |
| Assigns a resource to the current task with a given access mode.
|
|
basic_flow & | ro (const id_type res) |
| Assigns a read-only resource to the current task.
|
|
template<typename It > |
std::enable_if_t< std::is_same_v< std::remove_const_t< typename std::iterator_traits< It >::value_type >, id_type >, basic_flow & > | ro (It first, It last) |
| Assigns a range of read-only resources to the current task.
|
|
basic_flow & | rw (const id_type res) |
| Assigns a writable resource to the current task.
|
|
template<typename It > |
std::enable_if_t< std::is_same_v< std::remove_const_t< typename std::iterator_traits< It >::value_type >, id_type >, basic_flow & > | rw (It first, It last) |
| Assigns a range of writable resources to the current task.
|
|
graph_type | graph () const |
| Generates a task graph for the current content.
|
|
template<
typename Allocator>
class entt::basic_flow< Allocator >
Utility class for creating task graphs.
- Template Parameters
-
Allocator | Type of allocator used to manage memory and elements. |
Definition at line 29 of file flow.hpp.