Foundation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Foundation::Core::JobGraph::Node Struct Reference

Public Member Functions

 Node (Allocator *alloc)
 

Public Attributes

NodeKind kind {NodeKind::Barrier}
 
ExecutionPolicy policy {ExecutionPolicy::Par}
 
UniquePtr< IJobWorkwork {nullptr, StlDeleter<IJobWork>{nullptr}}
 
size_t total {0}
 
StringView name
 
size_t pending {0}
 
bool finished {false}
 
Vector< size_t > dependents
 
Atomic< size_t > cursor {0}
 
Atomic< size_t > remaining {0}
 

Constructor & Destructor Documentation

◆ Node()

Foundation::Core::JobGraph::Node::Node ( Allocator alloc)
inlineexplicit

Member Data Documentation

◆ cursor

Atomic<size_t> Foundation::Core::JobGraph::Node::cursor {0}

◆ dependents

Vector<size_t> Foundation::Core::JobGraph::Node::dependents

◆ finished

bool Foundation::Core::JobGraph::Node::finished {false}

◆ kind

NodeKind Foundation::Core::JobGraph::Node::kind {NodeKind::Barrier}

◆ name

StringView Foundation::Core::JobGraph::Node::name

◆ pending

size_t Foundation::Core::JobGraph::Node::pending {0}

◆ policy

ExecutionPolicy Foundation::Core::JobGraph::Node::policy {ExecutionPolicy::Par}

◆ remaining

Atomic<size_t> Foundation::Core::JobGraph::Node::remaining {0}

◆ total

size_t Foundation::Core::JobGraph::Node::total {0}

◆ work

UniquePtr<IJobWork> Foundation::Core::JobGraph::Node::work {nullptr, StlDeleter<IJobWork>{nullptr}}

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