|
JUCE
|
A reference to a block of memory which contains a complete program. More...
Public Member Functions | |
| Program (const void *data, uint32 totalMemorySize) noexcept | |
| uint16 | getStoredChecksum () const noexcept |
| uint16 | calculateChecksum () const noexcept |
| bool | checksumMatches () const noexcept |
| uint32 | getProgramSize () const noexcept |
| uint32 | getNumFunctions () const noexcept |
| FunctionID | getFunctionID (uint32 functionIndex) const noexcept |
| const uint8 * | getFunctionStartAddress (uint32 functionIndex) const noexcept |
| const uint8 * | getFunctionEndAddress (uint32 functionIndex) const noexcept |
| uint16 | getNumGlobals () const noexcept |
| Returns the number of global variables the program uses. More... | |
| uint16 | getHeapSizeBytes () const noexcept |
| Returns the number of bytes of heap space the program needs. More... | |
Static Public Member Functions | |
| static float | intToFloat (int32 value) noexcept |
| static int32 | floatToInt (float value) noexcept |
| static int16 | readInt16 (const uint8 *d) noexcept |
| static int32 | readInt32 (const uint8 *d) noexcept |
| static void | writeInt16 (uint8 *d, int16 v) noexcept |
| static void | writeInt32 (uint8 *d, int32 v) noexcept |
Public Attributes | |
| const uint8 * | programStart = 0 |
| const uint32 | maxProgramSize |
Static Public Attributes | |
| static constexpr uint32 | programHeaderSize = 10 |
A reference to a block of memory which contains a complete program.
Data format: 2 bytes - program checksum 2 bytes - program size 2 bytes - num functions 2 bytes - num globals 2 bytes - amount of heap space needed (bytes) 2 bytes - ID of function 1 2 bytes - byte offset of function 1 code 2 bytes - ID of function 2 2 bytes - byte offset of function 2 code etc.. ...function code...
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Returns the number of global variables the program uses.
|
noexcept |
Returns the number of bytes of heap space the program needs.
|
staticnoexcept |
|
staticnoexcept |
|
static |
| const uint8* juce::littlefoot::Program::programStart = 0 |
| const uint32 juce::littlefoot::Program::maxProgramSize |