HTGS
v2.0
The Hybrid Task Graph Scheduler
|
VoidData is used for data that is empty/void. More...
#include <htgs/api/VoidData.hpp>
Public Member Functions | |
VoidData () | |
Constructs VoidData. | |
Public Member Functions inherited from htgs::IData | |
IData () | |
Constructs an IData with default ordering = 0. | |
IData (size_t order) | |
Constructs IData with integer ordering. More... | |
virtual | ~IData () |
Destructor. | |
bool | operator() (const std::shared_ptr< IData > p1, const std::shared_ptr< IData > p2) const |
Compares two IData pointers for ordering. More... | |
virtual bool | compare (const std::shared_ptr< IData > p2) const |
Virtual IData comparison function, can be used for custom ordering. More... | |
size_t | getOrder () const |
Gets the order of this IData. More... | |
VoidData is used for data that is empty/void.
Can be used with a ITask or TaskGraph that does not have an input or output to another ITask.
Example