Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

120 lines
10 KiB

  1. \hypertarget{namespaceutl_1_1in__dev__details}{}\section{utl\+:\+:in\+\_\+dev\+\_\+details Namespace Reference}
  2. \label{namespaceutl_1_1in__dev__details}\index{utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}}
  3. \subsection*{Classes}
  4. \begin{DoxyCompactItemize}
  5. \item
  6. struct \mbox{\hyperlink{structutl_1_1in__dev__details_1_1is__in__dev__}{is\+\_\+in\+\_\+dev\+\_\+}}
  7. \begin{DoxyCompactList}\small\item\em Primary template to catch any non input device types. \end{DoxyCompactList}\item
  8. struct \mbox{\hyperlink{structutl_1_1in__dev__details_1_1is__in__dev___3_01___tp_00_01void__t_3_01typename_01___tp_1_1dad922a62deb7c32e2cff18d66b8c887d2}{is\+\_\+in\+\_\+dev\+\_\+$<$ \+\_\+\+Tp, void\+\_\+t$<$ typename \+\_\+\+Tp\+::data\+\_\+type, typename \+\_\+\+Tp\+::pointer\+\_\+type, typename \+\_\+\+Tp\+::iterator, typename \+\_\+\+Tp\+::const\+\_\+iterator, use\+\_\+if\+\_\+same\+\_\+t$<$ try\+\_\+get1\+\_\+t$<$ \+\_\+\+Tp $>$, size\+\_\+t $>$, use\+\_\+if\+\_\+same\+\_\+t$<$ try\+\_\+get2\+\_\+t$<$ \+\_\+\+Tp $>$, size\+\_\+t $>$, use\+\_\+if\+\_\+same\+\_\+t$<$ try\+\_\+begin\+\_\+t$<$ \+\_\+\+Tp $>$, typename \+\_\+\+Tp\+::iterator $>$, use\+\_\+if\+\_\+same\+\_\+t$<$ tryc\+\_\+begin\+\_\+t$<$ \+\_\+\+Tp $>$, typename \+\_\+\+Tp\+::const\+\_\+iterator $>$, use\+\_\+if\+\_\+same\+\_\+t$<$ try\+\_\+cbegin\+\_\+t$<$ \+\_\+\+Tp $>$, typename \+\_\+\+Tp\+::const\+\_\+iterator $>$, use\+\_\+if\+\_\+same\+\_\+t$<$ try\+\_\+end\+\_\+t$<$ \+\_\+\+Tp $>$, typename \+\_\+\+Tp\+::iterator $>$, use\+\_\+if\+\_\+same\+\_\+t$<$ tryc\+\_\+end\+\_\+t$<$ \+\_\+\+Tp $>$, typename \+\_\+\+Tp\+::const\+\_\+iterator $>$, use\+\_\+if\+\_\+same\+\_\+t$<$ try\+\_\+cend\+\_\+t$<$ \+\_\+\+Tp $>$, typename \+\_\+\+Tp\+::const\+\_\+iterator $>$ $>$ $>$}}
  9. \begin{DoxyCompactList}\small\item\em template to catch a proper input device type \end{DoxyCompactList}\end{DoxyCompactItemize}
  10. \subsection*{Typedefs}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_a560eec1b326b0f6b91fa96f64f15ef61}{try\+\_\+get1\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().\mbox{\hyperlink{namespaceutl_a29057d2e164fe6dd3f3095f0d69c6546}{get}}(declval$<$ typename \+\_\+\+Tp\+::data\+\_\+type \& $>$()))
  14. \item
  15. {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_ae11bccc2282ed8f2aaac67687d756167}{try\+\_\+get2\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().\mbox{\hyperlink{namespaceutl_a29057d2e164fe6dd3f3095f0d69c6546}{get}}(declval$<$ typename \+\_\+\+Tp\+::data\+\_\+type $\ast$ $>$(), declval$<$ \mbox{\hyperlink{namespaceutl_a22cbecb50ee5c1032de66133e96cbac6}{size\+\_\+t}} $>$()))
  16. \item
  17. {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_af790d5cec9db9f80cc8d67e9755e823e}{try\+\_\+begin\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().begin())
  18. \item
  19. {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_af7cb4a98688e65b04793cef145a90202}{tryc\+\_\+begin\+\_\+t}} = decltype(declval$<$ const \+\_\+\+Tp $>$().begin())
  20. \item
  21. {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_a857d70a4119a4ff5615141d68e59ba7b}{try\+\_\+cbegin\+\_\+t}} = decltype(declval$<$ const \+\_\+\+Tp $>$().cbegin())
  22. \item
  23. {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_acc72ca7012e26a9a0de8b08047dc9de8}{try\+\_\+end\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().begin())
  24. \item
  25. {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_ad2dad6ed501b94ba1fa9cffade343762}{tryc\+\_\+end\+\_\+t}} = decltype(declval$<$ const \+\_\+\+Tp $>$().begin())
  26. \item
  27. {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_ab268028c81d5385f19bbeb0c978ec9b2}{try\+\_\+cend\+\_\+t}} = decltype(declval$<$ const \+\_\+\+Tp $>$().cend())
  28. \end{DoxyCompactItemize}
  29. \subsection{Typedef Documentation}
  30. \mbox{\Hypertarget{namespaceutl_1_1in__dev__details_af790d5cec9db9f80cc8d67e9755e823e}\label{namespaceutl_1_1in__dev__details_af790d5cec9db9f80cc8d67e9755e823e}}
  31. \index{utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}!try\+\_\+begin\+\_\+t@{try\+\_\+begin\+\_\+t}}
  32. \index{try\+\_\+begin\+\_\+t@{try\+\_\+begin\+\_\+t}!utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}}
  33. \subsubsection{\texorpdfstring{try\+\_\+begin\+\_\+t}{try\_begin\_t}}
  34. {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\
  35. using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_af790d5cec9db9f80cc8d67e9755e823e}{utl\+::in\+\_\+dev\+\_\+details\+::try\+\_\+begin\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().begin())}
  36. Definition at line 298 of file in\+\_\+dev.\+h.
  37. \mbox{\Hypertarget{namespaceutl_1_1in__dev__details_a857d70a4119a4ff5615141d68e59ba7b}\label{namespaceutl_1_1in__dev__details_a857d70a4119a4ff5615141d68e59ba7b}}
  38. \index{utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}!try\+\_\+cbegin\+\_\+t@{try\+\_\+cbegin\+\_\+t}}
  39. \index{try\+\_\+cbegin\+\_\+t@{try\+\_\+cbegin\+\_\+t}!utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}}
  40. \subsubsection{\texorpdfstring{try\+\_\+cbegin\+\_\+t}{try\_cbegin\_t}}
  41. {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\
  42. using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_a857d70a4119a4ff5615141d68e59ba7b}{utl\+::in\+\_\+dev\+\_\+details\+::try\+\_\+cbegin\+\_\+t}} = typedef decltype (declval$<$const \+\_\+\+Tp$>$().cbegin())}
  43. Definition at line 300 of file in\+\_\+dev.\+h.
  44. \mbox{\Hypertarget{namespaceutl_1_1in__dev__details_ab268028c81d5385f19bbeb0c978ec9b2}\label{namespaceutl_1_1in__dev__details_ab268028c81d5385f19bbeb0c978ec9b2}}
  45. \index{utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}!try\+\_\+cend\+\_\+t@{try\+\_\+cend\+\_\+t}}
  46. \index{try\+\_\+cend\+\_\+t@{try\+\_\+cend\+\_\+t}!utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}}
  47. \subsubsection{\texorpdfstring{try\+\_\+cend\+\_\+t}{try\_cend\_t}}
  48. {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\
  49. using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_ab268028c81d5385f19bbeb0c978ec9b2}{utl\+::in\+\_\+dev\+\_\+details\+::try\+\_\+cend\+\_\+t}} = typedef decltype (declval$<$const \+\_\+\+Tp$>$().cend())}
  50. Definition at line 303 of file in\+\_\+dev.\+h.
  51. \mbox{\Hypertarget{namespaceutl_1_1in__dev__details_acc72ca7012e26a9a0de8b08047dc9de8}\label{namespaceutl_1_1in__dev__details_acc72ca7012e26a9a0de8b08047dc9de8}}
  52. \index{utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}!try\+\_\+end\+\_\+t@{try\+\_\+end\+\_\+t}}
  53. \index{try\+\_\+end\+\_\+t@{try\+\_\+end\+\_\+t}!utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}}
  54. \subsubsection{\texorpdfstring{try\+\_\+end\+\_\+t}{try\_end\_t}}
  55. {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\
  56. using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_acc72ca7012e26a9a0de8b08047dc9de8}{utl\+::in\+\_\+dev\+\_\+details\+::try\+\_\+end\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().begin())}
  57. Definition at line 301 of file in\+\_\+dev.\+h.
  58. \mbox{\Hypertarget{namespaceutl_1_1in__dev__details_a560eec1b326b0f6b91fa96f64f15ef61}\label{namespaceutl_1_1in__dev__details_a560eec1b326b0f6b91fa96f64f15ef61}}
  59. \index{utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}!try\+\_\+get1\+\_\+t@{try\+\_\+get1\+\_\+t}}
  60. \index{try\+\_\+get1\+\_\+t@{try\+\_\+get1\+\_\+t}!utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}}
  61. \subsubsection{\texorpdfstring{try\+\_\+get1\+\_\+t}{try\_get1\_t}}
  62. {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\
  63. using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_a560eec1b326b0f6b91fa96f64f15ef61}{utl\+::in\+\_\+dev\+\_\+details\+::try\+\_\+get1\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().\mbox{\hyperlink{namespaceutl_a29057d2e164fe6dd3f3095f0d69c6546}{get}} (declval$<$typename \+\_\+\+Tp\+::data\+\_\+type\&$>$()))}
  64. Definition at line 293 of file in\+\_\+dev.\+h.
  65. \mbox{\Hypertarget{namespaceutl_1_1in__dev__details_ae11bccc2282ed8f2aaac67687d756167}\label{namespaceutl_1_1in__dev__details_ae11bccc2282ed8f2aaac67687d756167}}
  66. \index{utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}!try\+\_\+get2\+\_\+t@{try\+\_\+get2\+\_\+t}}
  67. \index{try\+\_\+get2\+\_\+t@{try\+\_\+get2\+\_\+t}!utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}}
  68. \subsubsection{\texorpdfstring{try\+\_\+get2\+\_\+t}{try\_get2\_t}}
  69. {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\
  70. using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_ae11bccc2282ed8f2aaac67687d756167}{utl\+::in\+\_\+dev\+\_\+details\+::try\+\_\+get2\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().\mbox{\hyperlink{namespaceutl_a29057d2e164fe6dd3f3095f0d69c6546}{get}} (declval$<$typename \+\_\+\+Tp\+::data\+\_\+type$\ast$$>$(), declval$<$\mbox{\hyperlink{namespaceutl_a22cbecb50ee5c1032de66133e96cbac6}{size\+\_\+t}}$>$()))}
  71. Definition at line 294 of file in\+\_\+dev.\+h.
  72. \mbox{\Hypertarget{namespaceutl_1_1in__dev__details_af7cb4a98688e65b04793cef145a90202}\label{namespaceutl_1_1in__dev__details_af7cb4a98688e65b04793cef145a90202}}
  73. \index{utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}!tryc\+\_\+begin\+\_\+t@{tryc\+\_\+begin\+\_\+t}}
  74. \index{tryc\+\_\+begin\+\_\+t@{tryc\+\_\+begin\+\_\+t}!utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}}
  75. \subsubsection{\texorpdfstring{tryc\+\_\+begin\+\_\+t}{tryc\_begin\_t}}
  76. {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\
  77. using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_af7cb4a98688e65b04793cef145a90202}{utl\+::in\+\_\+dev\+\_\+details\+::tryc\+\_\+begin\+\_\+t}} = typedef decltype (declval$<$const \+\_\+\+Tp$>$().begin())}
  78. Definition at line 299 of file in\+\_\+dev.\+h.
  79. \mbox{\Hypertarget{namespaceutl_1_1in__dev__details_ad2dad6ed501b94ba1fa9cffade343762}\label{namespaceutl_1_1in__dev__details_ad2dad6ed501b94ba1fa9cffade343762}}
  80. \index{utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}!tryc\+\_\+end\+\_\+t@{tryc\+\_\+end\+\_\+t}}
  81. \index{tryc\+\_\+end\+\_\+t@{tryc\+\_\+end\+\_\+t}!utl\+::in\+\_\+dev\+\_\+details@{utl\+::in\+\_\+dev\+\_\+details}}
  82. \subsubsection{\texorpdfstring{tryc\+\_\+end\+\_\+t}{tryc\_end\_t}}
  83. {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\
  84. using \mbox{\hyperlink{namespaceutl_1_1in__dev__details_ad2dad6ed501b94ba1fa9cffade343762}{utl\+::in\+\_\+dev\+\_\+details\+::tryc\+\_\+end\+\_\+t}} = typedef decltype (declval$<$const \+\_\+\+Tp$>$().begin())}
  85. Definition at line 302 of file in\+\_\+dev.\+h.