Classes | |
struct | CallParams |
Enumerations | |
enum | { PARAM_TYPE_MASK = 0x5, INT_PARAM = 0, REAL_PARAM = 1, REF_PARAM = 4, STR_PARAM = 5, ENDIAN_SWAP_SC = 1, DO_ENDIAN_SWAP = 1 << ENDIAN_SWAP_SC, RESERVED_BITS = 0xf8 } |
Functions | |
void | SerializeHeader (char *&out, unsigned int numParams) |
unsigned int | BuildStack (char *stack) |
template<class P1 > | |
unsigned int | BuildStack (char *stack, P1 p1, bool es1=true) |
template<class P1 , class P2 > | |
unsigned int | BuildStack (char *stack, P1 p1, P2 p2, bool es1=true, bool es2=true) |
template<class P1 , class P2 , class P3 > | |
unsigned int | BuildStack (char *stack, P1 p1, P2 p2, P3 p3, bool es1=true, bool es2=true, bool es3=true) |
template<class P1 , class P2 , class P3 , class P4 > | |
unsigned int | BuildStack (char *stack, P1 p1, P2 p2, P3 p3, P4 p4, bool es1=true, bool es2=true, bool es3=true, bool es4=true) |
template<class P1 , class P2 , class P3 , class P4 , class P5 > | |
unsigned int | BuildStack (char *stack, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, bool es1=true, bool es2=true, bool es3=true, bool es4=true, bool es5=true) |
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 > | |
unsigned int | BuildStack (char *stack, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, bool es1=true, bool es2=true, bool es3=true, bool es4=true, bool es5=true, bool es6=true) |
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 > | |
unsigned int | BuildStack (char *stack, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, bool es1=true, bool es2=true, bool es3=true, bool es4=true, bool es5=true, bool es6=true, bool es7=true) |
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 > | |
unsigned int | BuildStack (char *stack, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, bool es1=true, bool es2=true, bool es3=true, bool es4=true, bool es5=true, bool es6=true, bool es7=true, bool es8=true) |
template<class item > | |
void | Push (char *&p, item const i, bool doEndianSwap) |
template<class item > | |
void | Push (char *&p, item *const i, bool doEndianSwap) |
template<class item > | |
void | Push (char *&p, item const *const i, bool doEndianSwap) |
void | Push (char *&p, char *const i, bool doEndianSwap) |
void | Push (char *&p, const char *const i, bool doEndianSwap) |
bool | DeserializeParametersAndBuildCall (CallParams &call, char *in, unsigned int inLength, void *lastParam, void *thisPtr) |
Given a stack, the length of the stack, a possible last parameter, and a possible this pointer, build a call to a C or C++ function. | |
bool | CallWithStack (CallParams &call, void *functionPtr) |
template<class item > | |
size_t | D_size (item const ) |
template<class item > | |
size_t | D_size (item const *const ) |
template<class item > | |
size_t | D_size (item *const ) |
size_t | D_size (char *const str) |
size_t | D_size (char const *const str) |
template<class item > | |
unsigned | D_type (item const ) |
template<class item > | |
unsigned | D_type (item const *const ) |
template<class item > | |
unsigned | D_type (item *const ) |
unsigned | D_type (const char *const ) |
unsigned | D_type (char *const ) |
unsigned | D_type (float) |
unsigned | D_type (double) |
unsigned | D_type (long double) |
template<class item > | |
void | PushHeader (char *&p, item const i, bool endianSwap) |
anonymous enum |
PARAM_TYPE_MASK | |
INT_PARAM | |
REAL_PARAM | |
REF_PARAM | |
STR_PARAM | |
ENDIAN_SWAP_SC | |
DO_ENDIAN_SWAP | |
RESERVED_BITS |
Definition at line 709 of file Gen_RPC8.h.
unsigned int GenRPC::BuildStack | ( | char * | stack | ) |
Builds up a function call and all parameters onto a stack
[out] | Destination | stack, which must be big enough to hold all parameters |
Definition at line 3 of file Gen_RPC8.cpp.
unsigned int GenRPC::BuildStack | ( | char * | stack, | |
P1 | p1, | |||
P2 | p2, | |||
bool | es1 = true , |
|||
bool | es2 = true | |||
) |
Builds up a function call and all parameters onto a stack
[out] | Destination | stack, which must be big enough to hold all parameters |
Definition at line 465 of file Gen_RPC8.h.
unsigned int GenRPC::BuildStack | ( | char * | stack, | |
P1 | p1, | |||
P2 | p2, | |||
P3 | p3, | |||
P4 | p4, | |||
P5 | p5, | |||
P6 | p6, | |||
bool | es1 = true , |
|||
bool | es2 = true , |
|||
bool | es3 = true , |
|||
bool | es4 = true , |
|||
bool | es5 = true , |
|||
bool | es6 = true | |||
) |
Builds up a function call and all parameters onto a stack
[out] | Destination | stack, which must be big enough to hold all parameters |
Definition at line 537 of file Gen_RPC8.h.
unsigned int GenRPC::BuildStack | ( | char * | stack, | |
P1 | p1, | |||
P2 | p2, | |||
P3 | p3, | |||
P4 | p4, | |||
P5 | p5, | |||
P6 | p6, | |||
P7 | p7, | |||
bool | es1 = true , |
|||
bool | es2 = true , |
|||
bool | es3 = true , |
|||
bool | es4 = true , |
|||
bool | es5 = true , |
|||
bool | es6 = true , |
|||
bool | es7 = true | |||
) |
Builds up a function call and all parameters onto a stack
[out] | Destination | stack, which must be big enough to hold all parameters |
Definition at line 560 of file Gen_RPC8.h.
unsigned int GenRPC::BuildStack | ( | char * | stack, | |
P1 | p1, | |||
P2 | p2, | |||
P3 | p3, | |||
bool | es1 = true , |
|||
bool | es2 = true , |
|||
bool | es3 = true | |||
) |
Builds up a function call and all parameters onto a stack
[out] | Destination | stack, which must be big enough to hold all parameters |
Definition at line 480 of file Gen_RPC8.h.
unsigned int GenRPC::BuildStack | ( | char * | stack, | |
P1 | p1, | |||
P2 | p2, | |||
P3 | p3, | |||
P4 | p4, | |||
P5 | p5, | |||
P6 | p6, | |||
P7 | p7, | |||
P8 | p8, | |||
bool | es1 = true , |
|||
bool | es2 = true , |
|||
bool | es3 = true , |
|||
bool | es4 = true , |
|||
bool | es5 = true , |
|||
bool | es6 = true , |
|||
bool | es7 = true , |
|||
bool | es8 = true | |||
) |
Builds up a function call and all parameters onto a stack
[out] | Destination | stack, which must be big enough to hold all parameters |
Definition at line 585 of file Gen_RPC8.h.
unsigned int GenRPC::BuildStack | ( | char * | stack, | |
P1 | p1, | |||
bool | es1 = true | |||
) |
Builds up a function call and all parameters onto a stack
[out] | Destination | stack, which must be big enough to hold all parameters |
Definition at line 452 of file Gen_RPC8.h.
unsigned int GenRPC::BuildStack | ( | char * | stack, | |
P1 | p1, | |||
P2 | p2, | |||
P3 | p3, | |||
P4 | p4, | |||
bool | es1 = true , |
|||
bool | es2 = true , |
|||
bool | es3 = true , |
|||
bool | es4 = true | |||
) |
Builds up a function call and all parameters onto a stack
[out] | Destination | stack, which must be big enough to hold all parameters |
Definition at line 497 of file Gen_RPC8.h.
unsigned int GenRPC::BuildStack | ( | char * | stack, | |
P1 | p1, | |||
P2 | p2, | |||
P3 | p3, | |||
P4 | p4, | |||
P5 | p5, | |||
bool | es1 = true , |
|||
bool | es2 = true , |
|||
bool | es3 = true , |
|||
bool | es4 = true , |
|||
bool | es5 = true | |||
) |
Builds up a function call and all parameters onto a stack
[out] | Destination | stack, which must be big enough to hold all parameters |
Definition at line 516 of file Gen_RPC8.h.
bool GenRPC::CallWithStack | ( | CallParams & | call, | |
void * | functionPtr | |||
) |
size_t GenRPC::D_size | ( | item | const | ) |
size_t GenRPC::D_size | ( | item const * | const | ) |
Definition at line 696 of file Gen_RPC8.h.
size_t GenRPC::D_size | ( | item * | const | ) |
Definition at line 701 of file Gen_RPC8.h.
size_t GenRPC::D_size | ( | char *const | str | ) |
Definition at line 38 of file Gen_RPC8.cpp.
size_t GenRPC::D_size | ( | char const *const | str | ) |
Definition at line 40 of file Gen_RPC8.cpp.
unsigned GenRPC::D_type | ( | item | const | ) |
unsigned GenRPC::D_type | ( | char * const | ) |
Definition at line 28 of file Gen_RPC8.cpp.
unsigned GenRPC::D_type | ( | long | double | ) |
Definition at line 35 of file Gen_RPC8.cpp.
unsigned GenRPC::D_type | ( | double | ) |
Definition at line 33 of file Gen_RPC8.cpp.
unsigned GenRPC::D_type | ( | const char * const | ) |
Definition at line 26 of file Gen_RPC8.cpp.
unsigned GenRPC::D_type | ( | item const * | const | ) |
Definition at line 732 of file Gen_RPC8.h.
unsigned GenRPC::D_type | ( | item * | const | ) |
Definition at line 736 of file Gen_RPC8.h.
unsigned GenRPC::D_type | ( | float | ) |
Definition at line 31 of file Gen_RPC8.cpp.
bool GenRPC::DeserializeParametersAndBuildCall | ( | CallParams & | call, | |
char * | in, | |||
unsigned int | inLength, | |||
void * | lastParam, | |||
void * | thisPtr | |||
) |
Given a stack, the length of the stack, a possible last parameter, and a possible this pointer, build a call to a C or C++ function.
Definition at line 64 of file Gen_RPC8.cpp.
void GenRPC::Push | ( | char *& | p, | |
item const *const | i, | |||
bool | doEndianSwap | |||
) |
void GenRPC::Push | ( | char *& | p, | |
char *const | i, | |||
bool | doEndianSwap | |||
) |
Definition at line 11 of file Gen_RPC8.cpp.
void GenRPC::Push | ( | char *& | p, | |
const char *const | i, | |||
bool | doEndianSwap | |||
) |
Definition at line 19 of file Gen_RPC8.cpp.
void GenRPC::Push | ( | char *& | p, | |
item const | i, | |||
bool | doEndianSwap | |||
) |
Definition at line 611 of file Gen_RPC8.h.
void GenRPC::Push | ( | char *& | p, | |
item *const | i, | |||
bool | doEndianSwap | |||
) |
void GenRPC::PushHeader | ( | char *& | p, | |
item const | i, | |||
bool | endianSwap | |||
) |
Definition at line 752 of file Gen_RPC8.h.
void GenRPC::SerializeHeader | ( | char *& | out, | |
unsigned int | numParams | |||
) |