HiveMind
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
BittyBuzzTask Class Reference
Inheritance diagram for BittyBuzzTask:
Inheritance graph
Collaboration diagram for BittyBuzzTask:
Collaboration graph

Public Member Functions

 BittyBuzzTask (const char *taskName, UBaseType_t priority, IDeviceStateUI &deviceStateUI, IButtonCallbackRegister &buttonCallbackRegister)
 
 ~BittyBuzzTask () override=default
 

Private Member Functions

void task () override
 

Static Private Member Functions

static DeviceState vmErrorToDeviceState (bbzvm_error err)
 
static void resetVmButtonCallback (void *context)
 

Private Attributes

ILoggerm_logger
 
IDeviceStateUIm_deviceStateUI
 
IButtonCallbackRegisterm_buttonCallbackRegister
 
BittyBuzzBytecode m_bytecode
 
BittyBuzzStringResolver m_stringResolver
 
BittyBuzzVm m_bittybuzzVm
 
std::atomic_bool m_resetVm = false
 

Constructor & Destructor Documentation

◆ BittyBuzzTask()

BittyBuzzTask::BittyBuzzTask ( const char *  taskName,
UBaseType_t  priority,
IDeviceStateUI deviceStateUI,
IButtonCallbackRegister buttonCallbackRegister 
)
inline

◆ ~BittyBuzzTask()

BittyBuzzTask::~BittyBuzzTask ( )
overridedefault

Member Function Documentation

◆ resetVmButtonCallback()

static void BittyBuzzTask::resetVmButtonCallback ( void *  context)
inlinestaticprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task()

void BittyBuzzTask::task ( )
inlineoverrideprivate
Here is the call graph for this function:

◆ vmErrorToDeviceState()

static DeviceState BittyBuzzTask::vmErrorToDeviceState ( bbzvm_error  err)
inlinestaticprivate
Here is the caller graph for this function:

Member Data Documentation

◆ m_bittybuzzVm

BittyBuzzVm BittyBuzzTask::m_bittybuzzVm
private

◆ m_buttonCallbackRegister

IButtonCallbackRegister& BittyBuzzTask::m_buttonCallbackRegister
private

◆ m_bytecode

BittyBuzzBytecode BittyBuzzTask::m_bytecode
private

◆ m_deviceStateUI

IDeviceStateUI& BittyBuzzTask::m_deviceStateUI
private

◆ m_logger

ILogger& BittyBuzzTask::m_logger
private

◆ m_resetVm

std::atomic_bool BittyBuzzTask::m_resetVm = false
private

◆ m_stringResolver

BittyBuzzStringResolver BittyBuzzTask::m_stringResolver
private

The documentation for this class was generated from the following file: