HTGS  v2.0
The Hybrid Task Graph Scheduler
htgs::VoidData Class Reference

VoidData is used for data that is empty/void. More...

#include <htgs/api/VoidData.hpp>

Inheritance diagram for htgs::VoidData:
Inheritance graph
Collaboration diagram for htgs::VoidData:
Collaboration graph

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...
 

Detailed Description

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

// TaskGraph that has input type Data1, but no output type
TaskGraph<Data1, VoidData> task;

The documentation for this class was generated from the following file: