Compute Graph Framework SDK Reference  5.10
PassDescriptor.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  dw
 
namespace  dw::framework
 

Functions

constexpr std::tuple< dw::core::StringView, dwProcessorType > dw::framework::describePass (dw::core::StringView const &&name, dwProcessorType processorType)
 
template<typename DependenciesT >
constexpr auto dw::framework::describePass (dw::core::StringView const &&name, dwProcessorType processorType, DependenciesT dependencies) -> std::tuple< dw::core::StringView, dwProcessorType, DependenciesT >
 
template<typename... Args>
constexpr auto dw::framework::describePassCollection (const Args &&... args)
 
template<typename... Args>
constexpr auto dw::framework::describePassDependencies (const Args &&... args) -> std::array< dw::core::StringView, sizeof...(Args)>
 
template<typename Node >
constexpr auto dw::framework::describePasses ()
 Get described passes for the passed node. More...
 
template<typename Node , size_t Index>
constexpr bool dw::framework::hasPassDependencies ()
 Check if a pass specifies explicit dependencies. More...
 
template<typename Node >
constexpr bool dw::framework::isValidPass (dw::core::StringView identifier)
 Check if given string is a valid pass name. More...
 
template<typename Node >
constexpr bool dw::framework::isValidPass (std::size_t passID)
 Check if pass index is valid. More...
 
template<typename Node , size_t Index, typename std::enable_if_t< hasPassDependencies< Node, Index >(), void > * = nullptr>
constexpr auto dw::framework::passDependencies ()
 Get the dependencies of a pass. More...
 
template<typename Node >
constexpr size_t dw::framework::passIndex (dw::core::StringView identifier)
 Get the the pass index for a pass identified by name. More...
 
template<typename Node , size_t Index>
constexpr dw::core::StringView dw::framework::passName ()
 Get the name of a pass. More...
 
template<typename Node , size_t Index>
constexpr dwProcessorType dw::framework::passProcessorType ()
 Get the processor type of a pass. More...
 
template<typename Node >
constexpr std::size_t dw::framework::passSize ()
 Get the number of passes of the passed node. More...
 

Variables

static constexpr size_t dw::framework::PASS_DEPENDENCIES {2U}
 
static constexpr size_t dw::framework::PASS_NAME {0U}
 
static constexpr size_t dw::framework::PASS_PROCESSOR_TYPE {1U}