SyncEvent#

Modules#

USyncEventFunctor

SSyncEvent

USyncEventRetFunctor

SSyncEventRet

USyncEventArg1Functor

SSyncEventArg1

USyncEventArg2Functor

SSyncEventArg2

Functions#

bool
SyncEventIsBound(const SSyncEvent *pThis)

Returns if SyncEvent is bound.

void
SyncEventUnbind(SSyncEvent *pThis)

Unbind the SyncEvent.

void
SyncEventBind(SSyncEvent *pThis, void(*pFunction)(void))

Bind the SyncEvent to a function.

void
SyncEventBindObject(SSyncEvent *pThis, void(*pFunction)(void *), void *pObject)

Bind the SyncEvent to a "class" function.

void
SyncEventInvoke(const SSyncEvent *pThis)

Invoke the SyncEvent.

bool
SyncEventRetIsBound(const SSyncEventRet *pThis)

Returns if SyncEvent is bound.

void
SyncEventRetUnbind(SSyncEventRet *pThis)

Unbind the SyncEvent.

void
SyncEventRetBind(SSyncEventRet *pThis, uint32_t(*pFunction)(void))

Bind the SyncEvent to a function.

void
SyncEventRetBindObject(SSyncEventRet *pThis, uint32_t(*pFunction)(void *), void *pObject)

Bind the SyncEvent to a "class" function.

uint32_t
SyncEventRetInvoke(const SSyncEventRet *pThis)

Invoke the SyncEvent.

void
SyncEventRetSetDefault(SSyncEventRet *pThis, uint32_t DefaultReturnValue)

Configure default return.

bool
SyncEventArg1IsBound(const SSyncEventArg1 *pThis)

Returns if SyncEvent is bound.

void
SyncEventArg1Unbind(SSyncEventArg1 *pThis)

Unbind the SyncEvent.

void
SyncEventArg1Bind(SSyncEventArg1 *pThis, void(*pFunction)(uint32_t))

Bind the SyncEvent to a function.

void
SyncEventArg1BindObject(SSyncEventArg1 *pThis, void(*pFunction)(void *, uint32_t), void *pObject)

Bind the SyncEvent to a "class" function.

void
SyncEventArg1Invoke(const SSyncEventArg1 *pThis, uint32_t Arg1)

Invoke the SyncEvent.

bool
SyncEventArg2IsBound(const SSyncEventArg2 *pThis)

Returns if SyncEvent is bound.

void
SyncEventArg2Unbind(SSyncEventArg2 *pThis)

Unbind the SyncEvent.

void
SyncEventArg2Bind(SSyncEventArg2 *pThis, void(*pFunction)(uint32_t, uint32_t))

Bind the SyncEvent to a function.

void
SyncEventArg2BindObject(SSyncEventArg2 *pThis, void(*pFunction)(void *, uint32_t, uint32_t), void *pObject)

Bind the SyncEvent to a "class" function.

void
SyncEventArg2Invoke(const SSyncEventArg2 *pThis, uint32_t Arg1, uint32_t Arg2)

Invoke the SyncEvent.

Typedef Documentation#

USyncEventFunctor#

typedef union USyncEventFunctor USyncEventFunctor

Definition at line 47 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

SSyncEvent#

typedef struct SSyncEvent SSyncEvent

Definition at line 55 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

USyncEventRetFunctor#

typedef union USyncEventRetFunctor USyncEventRetFunctor

Definition at line 111 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

SSyncEventRet#

typedef struct SSyncEventRet SSyncEventRet

Definition at line 119 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

USyncEventArg1Functor#

typedef union USyncEventArg1Functor USyncEventArg1Functor

Definition at line 184 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

SSyncEventArg1#

typedef struct SSyncEventArg1 SSyncEventArg1

Definition at line 191 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

USyncEventArg2Functor#

typedef union USyncEventArg2Functor USyncEventArg2Functor

Definition at line 248 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

SSyncEventArg2#

typedef struct SSyncEventArg2 SSyncEventArg2

Definition at line 255 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

Function Documentation#

SyncEventIsBound#

bool SyncEventIsBound (const SSyncEvent *pThis)

Returns if SyncEvent is bound.

Parameters
N/ApThis

SyncEvent object structure.


Definition at line 63 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

SyncEventUnbind#

void SyncEventUnbind (SSyncEvent *pThis)

Unbind the SyncEvent.

Parameters
N/ApThis

SyncEvent object structure.

Unbinds the SyncEvent. Once unbound there will be no action when invoked. It is crucial that Bind, BindObject or Unbind is called before first invoke (my kingdom for a constructor).


Definition at line 73 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

SyncEventBind#

void SyncEventBind (SSyncEvent *pThis, void(*pFunction)(void))

Bind the SyncEvent to a function.

Parameters
N/ApThis

SyncEvent object structure.

N/ApFunction

Function pointer to function of type: void Foo(void)

Binds the SyncEvent to a function. Once bound invocation will call function.


Definition at line 82 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

SyncEventBindObject#

void SyncEventBindObject (SSyncEvent *pThis, void(*pFunction)(void *), void *pObject)

Bind the SyncEvent to a "class" function.

Parameters
N/ApThis

SyncEvent object structure.

N/ApFunction

Function pointer to function of type: void Foo(FooObject*)

N/ApObject

Object pointer to pass as argument to bound function

Binds the SyncEvent to a function wich takes an object pointer or similar. Once bound invocation will call function with pointer as argument.


Definition at line 93 of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/SyncEvent/SyncEvent.h

SyncEventInvoke#

void SyncEventInvoke (const SSyncEvent *pThis)