• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • Compute Graph Framework SDK Reference  5.10
    All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    DwavEnums.hpp
    Go to the documentation of this file.
    1#ifndef DWFRAMEWORK_DWNODES_COMMON_DWAVENUMS_HPP_
    2#define DWFRAMEWORK_DWNODES_COMMON_DWAVENUMS_HPP_
    3
    5
    6// wraps around base framework macro but allows us to avoid boiler plating of dw::framework::DWChannelPacketTypeID
    7#define DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION(DATA_TYPE, SPECIMEN_TYPE, ENUM_SPEC) \
    8 DWFRAMEWORK_DECLARE_PACKET_TYPE_RELATION(DATA_TYPE, SPECIMEN_TYPE, dw::framework::DWChannelPacketTypeID::ENUM_SPEC)
    9
    10// same as above, but covers simple case where the specimen for data type is data type itself
    11#define DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION_SIMPLE(DATA_TYPE, ENUM_SPEC) \
    12 DWFRAMEWORK_DECLARE_PACKET_DWTYPE_RELATION(DATA_TYPE, DATA_TYPE, ENUM_SPEC)
    13
    14// TODO(csketch) why is DWChannelPacketTypeID inside dwcgf?
    15
    16#endif // DWFRAMEWORK_DWNODES_COMMON_DWAVENUMS_HPP_
    人人超碰97caoporen国产