Added an iclass to the C++ wrapper.
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>
Thu, 3 Jan 2013 18:28:21 +0000 (18:28 +0000)
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>
Thu, 3 Jan 2013 18:28:21 +0000 (18:28 +0000)
git-svn-id: https://chibios.svn.sourceforge.net/svnroot/chibios/trunk@5028 35acf78f-673a-0410-8e92-d51de3d6d3f4

os/various/cpp_wrappers/ch.cpp
os/various/cpp_wrappers/ch.hpp

index e8db4c0..8437719 100644 (file)
@@ -556,6 +556,11 @@ namespace chibios_rt {
     return chEvtGetAndClearFlags(&ev_listener);\r
   }\r
 \r
+  flagsmask_t EvtListener::getAndClearFlagsI(void) {\r
+\r
+    return chEvtGetAndClearFlagsI(&ev_listener);\r
+  }\r
+\r
   /*------------------------------------------------------------------------*\r
    * chibios_rt::EvtSource                                                *\r
    *------------------------------------------------------------------------*/\r
index 05bc1b3..4cc6704 100644 (file)
@@ -1302,6 +1302,18 @@ namespace chibios_rt {
      * @api\r
      */\r
     flagsmask_t getAndClearFlags(void);\r
+\r
+    /**\r
+     * @brief   Returns the flags associated to an @p EventListener.\r
+     * @details The flags are returned and the @p EventListener flags mask is\r
+     *          cleared.\r
+     *\r
+     * @return              The flags added to the listener by the associated\r
+     *                      event source.\r
+     *\r
+     * @iclass\r
+     */\r
+    flagsmask_t getAndClearFlagsI(void);\r
   };\r
 \r
   /*------------------------------------------------------------------------*\r