SyncEvent#
Modules#
Typedefs#
Functions#
Returns if SyncEvent is bound.
Unbind the SyncEvent.
Bind the SyncEvent to a function.
Bind the SyncEvent to a "class" function.
Invoke the SyncEvent.
Returns if SyncEvent is bound.
Unbind the SyncEvent.
Bind the SyncEvent to a function.
Bind the SyncEvent to a "class" function.
Invoke the SyncEvent.
Configure default return.
Returns if SyncEvent is bound.
Unbind the SyncEvent.
Bind the SyncEvent to a function.
Bind the SyncEvent to a "class" function.
Invoke the SyncEvent.
Returns if SyncEvent is bound.
Unbind the SyncEvent.
Bind the SyncEvent to a function.
Bind the SyncEvent to a "class" function.
Invoke the SyncEvent.
Typedef Documentation#
Function Documentation#
SyncEventIsBound#
bool SyncEventIsBound (const SSyncEvent * pThis)
Returns if SyncEvent is bound.
Type | Direction | Argument Name | Description |
---|---|---|---|
const SSyncEvent * | N/A | pThis | SyncEvent object structure. |
SyncEventUnbind#
void SyncEventUnbind (SSyncEvent * pThis)
Unbind the SyncEvent.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEvent * | N/A | pThis | 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).
SyncEventBind#
void SyncEventBind (SSyncEvent * pThis, void(*)(void) pFunction)
Bind the SyncEvent to a function.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEvent * | N/A | pThis | SyncEvent object structure. |
void(*)(void) | N/A | pFunction | Function pointer to function of type: void Foo(void) |
Binds the SyncEvent to a function. Once bound invocation will call function.
SyncEventBindObject#
void SyncEventBindObject (SSyncEvent * pThis, void(*)(void *) pFunction, void * pObject)
Bind the SyncEvent to a "class" function.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEvent * | N/A | pThis | SyncEvent object structure. |
void(*)(void *) | N/A | pFunction | Function pointer to function of type: void Foo(FooObject*) |
void * | N/A | pObject | 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.
SyncEventInvoke#
void SyncEventInvoke (const SSyncEvent * pThis)
Invoke the SyncEvent.
Type | Direction | Argument Name | Description |
---|---|---|---|
const SSyncEvent * | N/A | pThis | SyncEvent object structure. |
Invokes the SyncEvent. If the SyncEvent is not bound, nothing happens. If bound invocation will call function or Function with pointer as argument.
SyncEventRetIsBound#
bool SyncEventRetIsBound (const SSyncEventRet * pThis)
Returns if SyncEvent is bound.
Type | Direction | Argument Name | Description |
---|---|---|---|
const SSyncEventRet * | N/A | pThis | SyncEvent object structure. |
SyncEventRetUnbind#
void SyncEventRetUnbind (SSyncEventRet * pThis)
Unbind the SyncEvent.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventRet * | N/A | pThis | 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).
SyncEventRetBind#
void SyncEventRetBind (SSyncEventRet * pThis, uint32_t(*)(void) pFunction)
Bind the SyncEvent to a function.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventRet * | N/A | pThis | SyncEvent object structure. |
uint32_t(*)(void) | N/A | pFunction | Function pointer to function of type: uint32_t Foo(void) |
Binds the SyncEvent to a function. Once bound invocation will call function.
SyncEventRetBindObject#
void SyncEventRetBindObject (SSyncEventRet * pThis, uint32_t(*)(void *) pFunction, void * pObject)
Bind the SyncEvent to a "class" function.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventRet * | N/A | pThis | SyncEvent object structure. |
uint32_t(*)(void *) | N/A | pFunction | Function pointer to function of type: uint32_t Foo(FooObject*) |
void * | N/A | pObject | 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.
SyncEventRetInvoke#
uint32_t SyncEventRetInvoke (const SSyncEventRet * pThis)
Invoke the SyncEvent.
Type | Direction | Argument Name | Description |
---|---|---|---|
const SSyncEventRet * | N/A | pThis | SyncEvent object structure. |
Invokes the SyncEvent. If theSyncEvent is not bound, nothing happens. If bound invocation will call function or Function with pointer as argument.
SyncEventRetSetDefault#
void SyncEventRetSetDefault (SSyncEventRet * pThis, uint32_t DefaultReturnValue)
Configure default return.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventRet * | N/A | pThis | SyncEvent object structure. |
uint32_t | N/A | DefaultReturnValue | Value returned when SyncEvent is invoked while unbound. |
Configure the default return value that is returned when the SyncEvent is invoked while unbound.
SyncEventArg1IsBound#
bool SyncEventArg1IsBound (const SSyncEventArg1 * pThis)
Returns if SyncEvent is bound.
Type | Direction | Argument Name | Description |
---|---|---|---|
const SSyncEventArg1 * | N/A | pThis | SyncEvent object structure. |
SyncEventArg1Unbind#
void SyncEventArg1Unbind (SSyncEventArg1 * pThis)
Unbind the SyncEvent.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventArg1 * | N/A | pThis | 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).
SyncEventArg1Bind#
void SyncEventArg1Bind (SSyncEventArg1 * pThis, void(*)(uint32_t) pFunction)
Bind the SyncEvent to a function.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventArg1 * | N/A | pThis | SyncEvent object structure. |
void(*)(uint32_t) | N/A | pFunction | Function pointer to function of type: void Foo(uint32_t) |
Binds the SyncEvent to a function. Once bound invocation will call function.
SyncEventArg1BindObject#
void SyncEventArg1BindObject (SSyncEventArg1 * pThis, void(*)(void *, uint32_t) pFunction, void * pObject)
Bind the SyncEvent to a "class" function.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventArg1 * | N/A | pThis | SyncEvent object structure. |
void(*)(void *, uint32_t) | N/A | pFunction | Function pointer to function of type: void Foo(FooObject*, uint32_t) |
void * | N/A | pObject | 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.
SyncEventArg1Invoke#
void SyncEventArg1Invoke (const SSyncEventArg1 * pThis, uint32_t Arg1)
Invoke the SyncEvent.
Type | Direction | Argument Name | Description |
---|---|---|---|
const SSyncEventArg1 * | N/A | pThis | SyncEvent object structure. |
uint32_t | N/A | Arg1 |
Invokes the SyncEvent. If theSyncEvent is not bound, nothing happens. If bound invocation will call function or Function with pointer as argument.
SyncEventArg2IsBound#
bool SyncEventArg2IsBound (const SSyncEventArg2 * pThis)
Returns if SyncEvent is bound.
Type | Direction | Argument Name | Description |
---|---|---|---|
const SSyncEventArg2 * | N/A | pThis | SyncEvent object structure. |
SyncEventArg2Unbind#
void SyncEventArg2Unbind (SSyncEventArg2 * pThis)
Unbind the SyncEvent.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventArg2 * | N/A | pThis | 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).
SyncEventArg2Bind#
void SyncEventArg2Bind (SSyncEventArg2 * pThis, void(*)(uint32_t, uint32_t) pFunction)
Bind the SyncEvent to a function.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventArg2 * | N/A | pThis | SyncEvent object structure. |
void(*)(uint32_t, uint32_t) | N/A | pFunction | Function pointer to function of type: void Foo(uint32_t) |
Binds the SyncEvent to a function. Once bound invocation will call function.
SyncEventArg2BindObject#
void SyncEventArg2BindObject (SSyncEventArg2 * pThis, void(*)(void *, uint32_t, uint32_t) pFunction, void * pObject)
Bind the SyncEvent to a "class" function.
Type | Direction | Argument Name | Description |
---|---|---|---|
SSyncEventArg2 * | N/A | pThis | SyncEvent object structure. |
void(*)(void *, uint32_t, uint32_t) | N/A | pFunction | Function pointer to function of type: void Foo(FooObject*, uint32_t, uint32_t) |
void * | N/A | pObject | 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.
SyncEventArg2Invoke#
void SyncEventArg2Invoke (const SSyncEventArg2 * pThis, uint32_t Arg1, uint32_t Arg2)
Invoke the SyncEvent.
Type | Direction | Argument Name | Description |
---|---|---|---|
const SSyncEventArg2 * | N/A | pThis | SyncEvent object structure. |
uint32_t | N/A | Arg1 | |
uint32_t | N/A | Arg2 |
Invokes the SyncEvent. If theSyncEvent is not bound, nothing happens. If bound invocation will call function or Function with pointer as argument.