mirror of https://github.com/ARMmbed/mbed-os.git
events: fix coding style
parent
70b5772dc4
commit
d3e51fc3a0
|
|
@ -266,8 +266,11 @@ public:
|
|||
* }
|
||||
* @endcode
|
||||
*/
|
||||
// AStyle ignore, not handling correctly below
|
||||
// *INDENT-OFF*
|
||||
template <typename T, typename R, typename ...Args>
|
||||
int call(T *obj, R (T::*method)(Args ...args), Args ...args);
|
||||
// *INDENT-ON*
|
||||
|
||||
/** Calls an event on the queue after a specified delay
|
||||
*
|
||||
|
|
@ -346,8 +349,11 @@ public:
|
|||
* }
|
||||
* @endcode
|
||||
*/
|
||||
// AStyle ignore, not handling correctly below
|
||||
// *INDENT-OFF*
|
||||
template <typename T, typename R, typename ...Args>
|
||||
int call_in(int ms, T *obj, R (T::*method)(Args ...args), Args ...args);
|
||||
// *INDENT-ON*
|
||||
|
||||
/** Calls an event on the queue periodically
|
||||
*
|
||||
|
|
@ -440,8 +446,11 @@ public:
|
|||
* }
|
||||
* @endcode
|
||||
*/
|
||||
// AStyle ignore, not handling correctly below
|
||||
// *INDENT-OFF*
|
||||
template <typename T, typename R, typename ...Args>
|
||||
int call_every(int ms, T *obj, R (T::*method)(Args ...args), Args ...args);
|
||||
// *INDENT-ON*
|
||||
|
||||
/** Creates an event bound to the event queue
|
||||
*
|
||||
|
|
@ -483,8 +492,11 @@ public:
|
|||
* }
|
||||
* @endcode
|
||||
*/
|
||||
// AStyle ignore, not handling correctly below
|
||||
// *INDENT-OFF*
|
||||
template <typename R, typename ...BoundArgs, typename ...Args>
|
||||
Event<void(Args...)> event(R (*func)(BoundArgs...), Args ...args);
|
||||
// *INDENT-ON*
|
||||
|
||||
/** Creates an event bound to the event queue
|
||||
*
|
||||
|
|
@ -528,8 +540,11 @@ public:
|
|||
* }
|
||||
* @endcode
|
||||
*/
|
||||
// AStyle ignore, not handling correctly below
|
||||
// *INDENT-OFF*
|
||||
template <typename T, typename R, typename ...BoundArgs, typename ...ContextArgs, typename ...Args>
|
||||
Event<void(Args...)> event(T *obj, R (T::*method)(BoundArgs..., Args...), ContextArgs ...context_args);
|
||||
// *INDENT-ON*
|
||||
|
||||
/** Creates an event bound to the event queue
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue