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

    Go to the source code of this file.

    Namespaces

    namespace  dw
     
    namespace  dw::framework
     

    Macros

    #define DW_DESCRIBE_PORT(TYPE_NAME, args...)   dw::framework::describePort<TYPE_NAME>(_DW_PORT_TYPE_NAME_STRING_VIEW(#TYPE_NAME), ##args)
     
    #define DW_DESCRIBE_PORT_ARRAY(TYPE_NAME, ARRAYSIZE, args...)   dw::framework::describePortArray<TYPE_NAME, ARRAYSIZE>(_DW_PORT_TYPE_NAME_STRING_VIEW(#TYPE_NAME), ##args)
     

    Enumerations

    enum class  dw::framework::PortBinding : uint8_t {
      dw::framework::OPTIONAL = 0 ,
      dw::framework::REQUIRED = 1
    }
     

    Functions

    template<typename Node >
    constexpr auto dw::framework::describeInputPorts ()
     
    template<typename Node >
    constexpr auto dw::framework::describeOutputPorts ()
     
    template<typename PortType >
    constexpr auto dw::framework::describePort (dw::core::StringView typeName, dw::core::StringView name, dw::core::StringView comment)
     
    template<typename PortType >
    constexpr auto dw::framework::describePort (dw::core::StringView typeName, dw::core::StringView name, PortBinding binding=PortBinding::OPTIONAL, dw::core::StringView comment=""_sv)
     
    template<typename PortType , size_t ArraySize, typename std::enable_if_t< ArraySize !=0, void > * = nullptr>
    constexpr auto dw::framework::describePortArray (dw::core::StringView typeName, dw::core::StringView name, dw::core::StringView comment)
     
    template<typename PortType , size_t ArraySize, typename std::enable_if_t< ArraySize !=0, void > * = nullptr>
    constexpr auto dw::framework::describePortArray (dw::core::StringView typeName, dw::core::StringView name, PortBinding binding=PortBinding::OPTIONAL, dw::core::StringView comment=""_sv)
     
    template<typename... Args>
    constexpr auto dw::framework::describePortCollection (Args &&... args)
     
    template<typename Node , PortDirection Direction, typename std::enable_if_t< Direction==PortDirection::INPUT, void > * = nullptr>
    constexpr auto dw::framework::describePorts ()
     
    template<typename Node , PortDirection Direction, size_t PortIndex>
    constexpr size_t dw::framework::descriptorIndex ()
     
    template<typename Node , PortDirection Direction, size_t DescriptorIndex>
    constexpr bool dw::framework::descriptorPortArray ()
     
    template<typename Node , PortDirection Direction, size_t DescriptorIndex>
    constexpr PortBinding dw::framework::descriptorPortBinding ()
     
    template<typename Node , PortDirection Direction, size_t DescriptorIndex>
    constexpr dw::core::StringView dw::framework::descriptorPortComment ()
     
    template<typename Node , PortDirection Direction, size_t DescriptorIndex>
    constexpr size_t dw::framework::descriptorPortSize ()
     
    template<typename Node , PortDirection Direction>
    constexpr bool dw::framework::isValidPort (std::size_t portID)
     
    template<typename Node , PortDirection Direction>
    constexpr bool dw::framework::isValidPort (StringView identifier)
     
    template<typename Node , PortDirection Direction>
    constexpr size_t dw::framework::portArraySize (StringView identifier)
     
    template<typename Node , PortDirection Direction>
    constexpr size_t dw::framework::portDescriptorIndex (StringView identifier)
     
    template<typename Node , PortDirection Direction>
    constexpr std::size_t dw::framework::portDescriptorSize ()
     
    template<typename Node , PortDirection Direction, size_t DescriptorIndex>
    constexpr auto dw::framework::portDescriptorType ()
     
    template<typename Node , PortDirection Direction>
    constexpr size_t dw::framework::portIndex (StringView identifier)
     
    template<typename Node , PortDirection Direction>
    constexpr std::size_t dw::framework::portSize ()
     
    template<typename Node , PortDirection Direction, size_t PortIndex>
    constexpr auto dw::framework::portType ()
     

    Variables

    static constexpr size_t dw::framework::PORT_ARRAY_SIZE = 3
     
    static constexpr size_t dw::framework::PORT_BINDING = 4
     
    static constexpr size_t dw::framework::PORT_COMMENT = 5
     
    static constexpr size_t dw::framework::PORT_NAME = 1
     
    static constexpr size_t dw::framework::PORT_TYPE = 2
     
    static constexpr size_t dw::framework::PORT_TYPE_NAME = 0
     

    Macro Definition Documentation

    ◆ DW_DESCRIBE_PORT

    #define DW_DESCRIBE_PORT (   TYPE_NAME,
      args... 
    )    dw::framework::describePort<TYPE_NAME>(_DW_PORT_TYPE_NAME_STRING_VIEW(#TYPE_NAME), ##args)

    Definition at line 71 of file PortDescriptor.hpp.

    ◆ DW_DESCRIBE_PORT_ARRAY

    #define DW_DESCRIBE_PORT_ARRAY (   TYPE_NAME,
      ARRAYSIZE,
      args... 
    )    dw::framework::describePortArray<TYPE_NAME, ARRAYSIZE>(_DW_PORT_TYPE_NAME_STRING_VIEW(#TYPE_NAME), ##args)

    Definition at line 97 of file PortDescriptor.hpp.

    人人超碰97caoporen国产