carb::tasking::All

Defined in carb/tasking/TaskingHelpers.h

struct All

Specifies an “all” grouping of RequiredObject(s).

All and Any objects can be nested as they are convertible to RequiredObject.

Note

ALL RequiredObject(s) given in the constructor must become signaled before the All object will be considered signaled.

Public Functions

inline All(std::initializer_list<RequiredObject> il)

Constructor that accepts an initializer_list of RequiredObject(s).

Parameters

il – The initializer_list of RequiredObject(s).

template<class InputIt, std::enable_if_t<detail::IsForwardIter<InputIt, RequiredObject>::value, bool> = false>
inline All(InputIt begin, InputIt end)

Constructor that accepts begin and end iterators that produce RequiredObject objects.

Parameters
  • begin – The beginning iterator.

  • end – An off-the-end iterator just beyond the end of the list.

inline operator RequiredObject() const

Convertible to RequiredObject.