AudioManager
7.6.6
Native Application Runtime Environment
|
#include <CAmSerializer.h>
Public Member Functions | |
template<typename Class , typename Method , typename Tuple > | |
void | doAsyncCall (Class intsance, Method method, Tuple &arguments) |
instantiates a async delegate with given arguments and sends the delegate pointer over the pipe More... | |
template<typename Class , typename Method , typename Return , typename Tuple > | |
void | doSyncCall (Class intsance, Method method, Return &result, Tuple &arguments) |
instantiates a sync delegate with given arguments and sends the delegate pointer over the pipe More... | |
int | getListDelegatePoiters () |
get the size of delegate pointers More... | |
template<class TClass , class TRet , class... TArgs> | |
void | syncCall (TClass *instance, TRet(TClass::*method)(TArgs...), TRet &result, TArgs &...arguments) |
calls a function with variadic arguments threadsafe More... | |
template<class TClass , class TRet , class... TArgs> | |
void | asyncCall (TClass *instance, TRet(TClass::*method)(TArgs...), TArgs &...arguments) |
calls a function with variadic arguments threadsafe More... | |
template<class TClass > | |
void | asyncCall (TClass *instance, void(TClass::*function)()) |
calls a function with no arguments threadsafe More... | |
template<class TClass1 , class Targ > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ), Targ argument) |
calls a function with one arguments asynchronously threadsafe More... | |
template<class TClass1 , class Targ > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ &), Targ &argument) |
calls a function with one argument called by reference asynchronously threadsafe More... | |
template<class TClass1 , class Targ , class Targ1 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 argument1), Targ argument, Targ1 argument1) |
calls a function with two arguments asynchronously threadsafe. More... | |
template<class TClass1 , class Targ , class Targ1 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ &argument, Targ1 argument1), Targ &argument, Targ1 argument1) |
calls a function with two arguments asynchronously threadsafe, first argument is a reference. More... | |
template<class TClass1 , class Targ , class Targ1 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 &argument1), Targ argument, Targ1 &argument1) |
calls a function with two arguments asynchronously threadsafe, second argument is a reference. More... | |
template<class TClass1 , class Targ , class Targ1 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ &argument, Targ1 &argument1), Targ &argument, Targ1 &argument1) |
calls a function with two arguments asynchronously threadsafe, both arguments are references. More... | |
template<class TClass1 , class Targ , class Targ1 , class Targ2 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 argument1, Targ2 argument2), Targ argument, Targ1 argument1, Targ2 argument2) |
calls a function with three arguments asynchronously threadsafe. More... | |
template<class TClass1 , class Targ , class Targ1 , class Targ2 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ &argument, Targ1 argument1, Targ2 argument2), Targ &argument, Targ1 argument1, Targ2 argument2) |
calls a function with three arguments asynchronously threadsafe. More... | |
template<class TClass1 , class Targ , class Targ1 , class Targ2 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 &argument1, Targ2 argument2), Targ argument, Targ1 &argument1, Targ2 argument2) |
calls a function with three arguments asynchronously threadsafe. More... | |
template<class TClass1 , class Targ , class Targ1 , class Targ2 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 argument1, Targ2 &argument2), Targ argument, Targ1 argument1, Targ2 &argument2) |
calls a function with three arguments asynchronously threadsafe. More... | |
template<class TClass1 , class Targ , class Targ1 , class Targ2 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 &argument1, Targ2 &argument2), Targ argument, Targ1 &argument1, Targ2 &argument2) |
calls a function with three arguments asynchronously threadsafe. More... | |
template<class TClass1 , class Targ , class Targ1 , class Targ2 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ &argument, Targ1 &argument1, Targ2 &argument2), Targ &argument, Targ1 &argument1, Targ2 &argument2) |
calls a function with three arguments asynchronously threadsafe. More... | |
template<class TClass1 , class Targ , class Targ1 , class Targ2 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ &argument, Targ1 &argument1, Targ2 argument2), Targ &argument, Targ1 &argument1, Targ2 argument2) |
calls a function with three arguments asynchronously threadsafe. More... | |
template<class TClass1 , class Targ , class Targ1 , class Targ2 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ &argument, Targ1 argument1, Targ2 &argument2), Targ &argument, Targ1 argument1, Targ2 &argument2) |
calls a function with three arguments asynchronously threadsafe. More... | |
template<class TClass1 , class Targ , class Targ1 , class Targ2 , class Targ3 > | |
void | asyncCall (TClass1 *instance, void(TClass1::*function)(Targ argument, Targ1 argument1, Targ2 argument2, Targ3 argument3), Targ argument, Targ1 argument1, Targ2 argument2, Targ3 argument3) |
calls a function with four arguments asynchronously threadsafe. More... | |
template<class TClass1 , class TretVal > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(), TretVal &retVal) |
calls a synchronous function with no arguments threadsafe More... | |
template<class TClass1 , class TretVal , class TargCall , class Targ > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(TargCall), TretVal &retVal, Targ &argument) |
calls a function with one argument synchronous threadsafe More... | |
template<class TClass1 , class TretVal , class TargCall , class Targ > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(TargCall) const, TretVal &retVal, Targ &argument) |
calls a function with one argument synchronous threadsafe for const functions. More... | |
template<class TClass1 , class TretVal , class TargCall , class Targ1Call , class Targ , class Targ1 > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(TargCall, Targ1Call), TretVal &retVal, Targ &argument, Targ1 &argument1) |
calls a function with two arguments synchronously threadsafe. More... | |
template<class TClass1 , class TretVal , class TargCall , class Targ1Call , class Targ , class Targ1 > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(TargCall, Targ1Call) const, TretVal &retVal, Targ &argument, Targ1 &argument1) |
calls a function with two arguments synchronously threadsafe const. More... | |
template<class TClass1 , class TretVal , class TargCall , class TargCall1 , class TargCall2 , class Targ , class Targ1 , class Targ2 > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2), TretVal &retVal, Targ &argument, Targ1 &argument1, Targ2 &argument2) |
calls a function with three arguments synchronously threadsafe. More... | |
template<class TClass1 , class TretVal , class TargCall , class TargCall1 , class TargCall2 , class Targ , class Targ1 , class Targ2 > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2) const, TretVal &retVal, Targ &argument, Targ1 &argument1, Targ2 &argument2) |
calls a const function with three arguments synchronously threadsafe. More... | |
template<class TClass1 , class TretVal , class TargCall , class TargCall1 , class TargCall2 , class TargCall3 , class Targ , class Targ1 , class Targ2 , class Targ3 > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2, TargCall3), TretVal &retVal, Targ &argument, Targ1 &argument1, Targ2 &argument2, Targ3 &argument3) |
calls a function with four arguments synchronously threadsafe. More... | |
template<class TClass1 , class TretVal , class TargCall , class TargCall1 , class TargCall2 , class TargCall3 , class TargCall4 , class Targ , class Targ1 , class Targ2 , class Targ3 , class Targ4 > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2, TargCall3, TargCall4), TretVal &retVal, Targ &argument, Targ1 &argument1, Targ2 &argument2, Targ3 &argument3, Targ4 &argument4) |
calls a function with five arguments synchronously threadsafe. More... | |
template<class TClass1 , class TretVal , class TargCall , class TargCall1 , class TargCall2 , class TargCall3 , class TargCall4 , class TargCall5 , class Targ , class Targ1 , class Targ2 , class Targ3 , class Targ4 , class Targ5 > | |
void | syncCall (TClass1 *instance, TretVal(TClass1::*function)(TargCall, TargCall1, TargCall2, TargCall3, TargCall4, TargCall5), TretVal &retVal, Targ &argument, Targ1 &argument1, Targ2 &argument2, Targ3 &argument3, Targ4 &argument4, Targ5 &argument5) |
calls a function with six arguments synchronously threadsafe. More... | |
void | receiverCallback (const pollfd pollfd, const sh_pollHandle_t handle, void *userData) |
receiver callback for sockethandling, for more, see CAmSocketHandler More... | |
bool | checkerCallback (const sh_pollHandle_t handle, void *userData) |
checker callback for sockethandling, for more, see CAmSocketHandler More... | |
bool | dispatcherCallback (const sh_pollHandle_t handle, void *userData) |
dispatcher callback for sockethandling, for more, see CAmSocketHandler More... | |
CAmSerializer (CAmSocketHandler *iSocketHandler) | |
The constructor must be called in the mainthread context ! More... | |
~CAmSerializer () | |
Public Attributes | |
TAmShPollFired< CAmSerializer > | receiverCallbackT |
TAmShPollDispatch< CAmSerializer > | dispatcherCallbackT |
TAmShPollCheck< CAmSerializer > | checkerCallbackT |
Definition at line 87 of file CAmSerializer.h.
|
inline |
The constructor must be called in the mainthread context !
iSocketHandler | pointer to the CAmSocketHandler |
Definition at line 811 of file CAmSerializer.h.
|
inline |
Definition at line 840 of file CAmSerializer.h.
|
inline |
calls a function with variadic arguments threadsafe
instance | the instance of the class that shall be called |
function | the function that shall be called as member function pointer. |
TClass | the type of the Class to be called |
TRet | the type of the result |
TArgs | argument list |
Definition at line 365 of file CAmSerializer.h.
|
inline |
calls a function with no arguments threadsafe
instance | the instance of the class that shall be called |
function | the function that shall be called as memberfunction pointer. |
TClass1 | the type of the Class to be called |
Definition at line 389 of file CAmSerializer.h.
|
inline |
calls a function with one arguments asynchronously threadsafe
instance | the instance of the class that shall be called |
function | the function that shall be called as memberfunction pointer. |
argument | the argument |
TClass1 | the type of the Class to be called |
Targ | the type of the argument to be called |
Definition at line 416 of file CAmSerializer.h.
|
inline |
calls a function with one argument called by reference asynchronously threadsafe
instance | the instance of the class that shall be called |
function | the function that shall be called as memberfunction pointer. |
argument | the argument |
TClass1 | the type of the Class to be called |
Targ | the type of the argument to be called |
Definition at line 443 of file CAmSerializer.h.
|
inline |
calls a function with two arguments asynchronously threadsafe.
for more see asyncCall with one argument
instance | pointer to the instance of the class |
function | memberfunction poitner |
argument | the first argument |
argument1 | the second argument |
TClass1 | the type of the Class to be called |
Targ | the type of the argument to be called |
Targ1 | the type of the first argument to be called |
Definition at line 460 of file CAmSerializer.h.
|
inline |
calls a function with two arguments asynchronously threadsafe, first argument is a reference.
for more see asyncCall with one argument
instance | pointer to the instance of the class |
function | memberfunction poitner |
argument | the first argument |
argument1 | the second argument |
TClass1 | the type of the Class to be called |
Targ | the type of the argument to be called |
Targ1 | the type of the first argument to be called |
Definition at line 477 of file CAmSerializer.h.
|
inline |
calls a function with two arguments asynchronously threadsafe, second argument is a reference.
for more see asyncCall with one argument
instance | pointer to the instance of the class |
function | memberfunction poitner |
argument | the first argument |
argument1 | the second argument |
TClass1 | the type of the Class to be called |
Targ | the type of the argument to be called |
Targ1 | the type of the first argument to be called |
Definition at line 494 of file CAmSerializer.h.
|
inline |
calls a function with two arguments asynchronously threadsafe, both arguments are references.
for more see asyncCall with one argument
instance | pointer to the instance of the class |
function | memberfunction poitner |
argument | the first argument |
argument1 | the second argument |
TClass1 | the type of the Class to be called |
Targ | the type of the argument to be called |
Targ1 | the type of the first argument to be called |
Definition at line 511 of file CAmSerializer.h.
|
inline |
calls a function with three arguments asynchronously threadsafe.
for more see other asycCall
Definition at line 521 of file CAmSerializer.h.
|
inline |
calls a function with three arguments asynchronously threadsafe.
for more see other asycCall
Definition at line 531 of file CAmSerializer.h.
|
inline |
calls a function with three arguments asynchronously threadsafe.
for more see other asycCall
Definition at line 541 of file CAmSerializer.h.
|
inline |
calls a function with three arguments asynchronously threadsafe.
for more see other asycCall
Definition at line 551 of file CAmSerializer.h.
|
inline |
calls a function with three arguments asynchronously threadsafe.
for more see other asycCall
Definition at line 561 of file CAmSerializer.h.
|
inline |
calls a function with three arguments asynchronously threadsafe.
for more see other asycCall
Definition at line 571 of file CAmSerializer.h.
|
inline |
calls a function with three arguments asynchronously threadsafe.
for more see other asycCall
Definition at line 581 of file CAmSerializer.h.
|
inline |
calls a function with three arguments asynchronously threadsafe.
for more see other asycCall
Definition at line 591 of file CAmSerializer.h.
|
inline |
calls a function with four arguments asynchronously threadsafe.
for more see other asycCall
Definition at line 601 of file CAmSerializer.h.
|
inline |
checker callback for sockethandling, for more, see CAmSocketHandler
Definition at line 778 of file CAmSerializer.h.
|
inline |
dispatcher callback for sockethandling, for more, see CAmSocketHandler
Definition at line 790 of file CAmSerializer.h.
|
inline |
instantiates a async delegate with given arguments and sends the delegate pointer over the pipe
Definition at line 255 of file CAmSerializer.h.
|
inline |
instantiates a sync delegate with given arguments and sends the delegate pointer over the pipe
Definition at line 268 of file CAmSerializer.h.
|
inline |
get the size of delegate pointers
Definition at line 311 of file CAmSerializer.h.
|
inline |
receiver callback for sockethandling, for more, see CAmSocketHandler
Definition at line 761 of file CAmSerializer.h.
|
inline |
calls a function with variadic arguments threadsafe
instance | the instance of the class that shall be called |
function | the function that shall be called as member function pointer. |
output | variable. |
TClass | the type of the Class to be called |
TRet | the type of the result |
TArgs | argument list |
Definition at line 338 of file CAmSerializer.h.
|
inline |
calls a synchronous function with no arguments threadsafe
instance | the instance of the class that shall be called |
function | the function that shall be called as memberfunction pointer. |
retVal | the return parameter, no const allowed ! |
TClass1 | the type of the class to be called |
TretVal | the type of the return parameter |
All arguments given to synchronous functions must be non-const since the results of the operations will be written back to the arguments.
Definition at line 630 of file CAmSerializer.h.
|
inline |
calls a function with one argument synchronous threadsafe
instance | the instance of the class that shall be called |
function | the function that shall be called as memberfunction pointer. |
retVal | the return parameter, no const allowed ! |
argument | the argument, no const allowed ! |
TClass1 | the type of the class to be called |
TretVal | the type of the return parameter |
TargCall | the type of the argument like in the function to be called. here all references and const must be respected! |
Targ | the type of the argument, here no const and no references allowed ! |
All arguments given to synchronous functions must be non-const since the results of the operations will be written back to the arguments.
Definition at line 663 of file CAmSerializer.h.
|
inline |
calls a function with one argument synchronous threadsafe for const functions.
For more see syncCall with one argument
Definition at line 674 of file CAmSerializer.h.
|
inline |
calls a function with two arguments synchronously threadsafe.
For more see syncCall with one argument
Definition at line 685 of file CAmSerializer.h.
|
inline |
calls a function with two arguments synchronously threadsafe const.
For more see syncCall with one argument
Definition at line 695 of file CAmSerializer.h.
|
inline |
calls a function with three arguments synchronously threadsafe.
for more see syncCall with one argument
Definition at line 706 of file CAmSerializer.h.
|
inline |
calls a const function with three arguments synchronously threadsafe.
for more see syncCall with one argument
Definition at line 717 of file CAmSerializer.h.
|
inline |
calls a function with four arguments synchronously threadsafe.
for more see syncCall with one argument
Definition at line 728 of file CAmSerializer.h.
|
inline |
calls a function with five arguments synchronously threadsafe.
for more see syncCall with one argument
Definition at line 739 of file CAmSerializer.h.
|
inline |
calls a function with six arguments synchronously threadsafe.
for more see syncCall with one argument
Definition at line 750 of file CAmSerializer.h.
TAmShPollCheck<CAmSerializer> am::V1::CAmSerializer::checkerCallbackT |
Definition at line 805 of file CAmSerializer.h.
TAmShPollDispatch<CAmSerializer> am::V1::CAmSerializer::dispatcherCallbackT |
Definition at line 804 of file CAmSerializer.h.
TAmShPollFired<CAmSerializer> am::V1::CAmSerializer::receiverCallbackT |
Definition at line 803 of file CAmSerializer.h.