• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • Compute Graph Framework SDK Reference  5.14
    All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    NodeFactory.hpp File Reference

    Go to the source code of this file.

    Namespaces

    namespace  dw
     
    namespace  dw::framework
     

    Macros

    #define DW_REGISTER_NODE(NodeT)   DW_REGISTER_NODE_EXPAND_(NodeT, __LINE__)
     
    #define DW_REGISTER_NODE_EXPAND_(NodeT, UniqueSuffixMacro)   DW_REGISTER_NODE_WITH_SUFFIX_(NodeT, UniqueSuffixMacro)
     
    #define DW_REGISTER_NODE_WITH_SUFFIX_(NodeT, UniqueSuffix)
     

    Functions

    GenericDataReference dw::framework::createInputPortSpecimen (const dw::core::StringView &className, const dw::core::StringView &identifier)
     
    std::unique_ptr< Node > dw::framework::createNode (const dw::core::StringView &className, ParameterProvider &provider)
     
    GenericDataReference dw::framework::createOutputPortSpecimen (const dw::core::StringView &className, const dw::core::StringView &identifier)
     
    const PortCollectionDescriptor & dw::framework::getInputPorts (const dw::core::StringView &className)
     
    dw::core::HeapVectorFixed< dw::core::StringView > dw::framework::getNodeNames ()
     
    const PortCollectionDescriptor & dw::framework::getOutputPorts (const dw::core::StringView &className)
     
    const ParameterCollectionDescriptor & dw::framework::getParameters (const dw::core::StringView &className)
     
    const PassCollectionDescriptor & dw::framework::getPasses (const dw::core::StringView &className)
     
    template<typename NodeT >
    void dw::framework::registerNode (const char *className)
     

    Macro Definition Documentation

    ◆ DW_REGISTER_NODE

    #define DW_REGISTER_NODE (   NodeT)    DW_REGISTER_NODE_EXPAND_(NodeT, __LINE__)

    Definition at line 226 of file NodeFactory.hpp.

    ◆ DW_REGISTER_NODE_EXPAND_

    #define DW_REGISTER_NODE_EXPAND_ (   NodeT,
      UniqueSuffixMacro 
    )    DW_REGISTER_NODE_WITH_SUFFIX_(NodeT, UniqueSuffixMacro)

    Definition at line 224 of file NodeFactory.hpp.

    ◆ DW_REGISTER_NODE_WITH_SUFFIX_

    #define DW_REGISTER_NODE_WITH_SUFFIX_ (   NodeT,
      UniqueSuffix 
    )
    Value:
    namespace \
    { \
    class Proxy##UniqueSuffix \
    { \
    public: \
    Proxy##UniqueSuffix() \
    { \
    dw::framework::registerNode<NodeT>(#NodeT); \
    } \
    }; \
    static Proxy##UniqueSuffix g_registerNode##UniqueSuffix{}; \
    }

    Definition at line 210 of file NodeFactory.hpp.

    人人超碰97caoporen国产