HiveMind
Namespaces | Functions | Variables
BittyBuzzSystem.h File Reference
#include "IBittyBuzzClosureRegister.h"
#include "IBittyBuzzMessageService.h"
#include "IBittyBuzzStringResolver.h"
#include <application-interface/IUserUI.h>
#include <bbzvm.h>
#include <bsp/IBSP.h>
#include <bsp/IUserInterface.h>
#include <logger/ILogger.h>
Include dependency graph for BittyBuzzSystem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 BittyBuzzSystem
 Namespace to help manage the bittybuzz system.
 

Functions

void BittyBuzzSystem::functionCall (uint16_t stringId)
 Call a bittybuzz function that takes not arguments (init, step, etc),. More...
 
void BittyBuzzSystem::errorReceiver (bbzvm_error errcode)
 Callback to handle errors on bittybuzz vm. More...
 
void BittyBuzzSystem::logVmDump (LogLevel logLevel)
 Logs the vm dump which contains information about the vm state, heap, stack, etc. More...
 
const char * BittyBuzzSystem::getStateString (bbzvm_state state)
 
const char * BittyBuzzSystem::getErrorString (bbzvm_error error)
 
const char * BittyBuzzSystem::getInstructionString (bbzvm_instr instruction)
 

Variables

IUserInterfaceBittyBuzzSystem::g_ui = NULL
 UserInterface used by the bbvm for printing user logs. More...
 
ILoggerBittyBuzzSystem::g_logger = NULL
 Logger used for error reception or user functions. More...
 
const IBittyBuzzStringResolverBittyBuzzSystem::g_stringResolver = NULL
 String resolver used for user functions. More...
 
IBittyBuzzClosureRegisterBittyBuzzSystem::g_closureRegister = NULL
 Function register used by the BBVM to register new functions. More...
 
IBittyBuzzMessageServiceBittyBuzzSystem::g_messageService = NULL
 Message service used by the BBVM to send requests to host and remote. More...
 
IBSPBittyBuzzSystem::g_bsp = NULL
 BSP used by the bbvm for random numbers. More...
 
IUserUIBittyBuzzSystem::g_userUI
 User interface (LED, Hex display, etc) available to the user via buzz. More...