Functions
Helper for transport layers using buffers

Functions

uint16 AsebaGetBuffer (AsebaVMState *vm, uint8 *data, uint16 maxLength, uint16 *source)
const AsebaLocalEventDescriptionAsebaGetLocalEventsDescriptions (AsebaVMState *vm)
const
AsebaNativeFunctionDescription
*const * 
AsebaGetNativeFunctionsDescriptions (AsebaVMState *vm)
const AsebaVMDescriptionAsebaGetVMDescription (AsebaVMState *vm)
void AsebaProcessIncomingEvents (AsebaVMState *vm)
void AsebaSendBuffer (AsebaVMState *vm, const uint8 *data, uint16 length)

Detailed Description

This helper provides to the VM: AsebaSendMessage() AsebaSendVariables() AsebaSendDescription()

This helper provides to the glue code: AsebaProcessIncomingEvents()

This helper requires from the lower level transport layer: AsebaSendBuffer() AsebaGetBuffer()

This helper requires from the glue code: AsebaGetVMDescription() AsebaGetNativeFunctionsDescriptions()

To have a working implementation, the glue code must still implement: AsebaNativeFunction() AsebaAssert(), if ASEBA_ASSERT is defined


Function Documentation

uint16 AsebaGetBuffer ( AsebaVMState vm,
uint8 data,
uint16  maxLength,
uint16 source 
)

Definition at line 990 of file challenge.cpp.

Definition at line 1010 of file challenge.cpp.

Definition at line 1015 of file challenge.cpp.

Definition at line 1000 of file challenge.cpp.

Read messages and process messages from transport layer, if any

Definition at line 203 of file vm-buffer.c.

void AsebaSendBuffer ( AsebaVMState vm,
const uint8 data,
uint16  length 
)

Definition at line 969 of file challenge.cpp.



aseba
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:46:39