BlocksProtocol::BlockDataSheet Struct Reference

Classes

struct  ButtonInfo
 
struct  StatusLEDInfo
 

Public Member Functions

 BlockDataSheet (const BlocksProtocol::BlockSerialNumber &serial)
 
Block::ConnectionPort convertPortIndexToConnectorPort (BlocksProtocol::ConnectorPort port) const noexcept
 

Public Attributes

const BlocksProtocol::BlockSerialNumber serialNumber
 
Block::Type apiType = Block::Type::unknown
 
const char * description = nullptr
 
int widthUnits = 0
 
int heightUnits = 0
 
int lightGridWidth = 0
 
int lightGridHeight = 0
 
int lightGridStartIndex = 0
 
bool hasTouchSurface = false
 
int numKeywaves = 0
 
int numLEDRowLEDs = 0
 
uint32 programAndHeapSize = 0
 
juce::Array< ButtonInfobuttons
 
juce::Array< StatusLEDInfostatusLEDs
 
juce::Array< Block::ConnectionPortports
 
juce::Array< const char * > dials
 

Constructor & Destructor Documentation

◆ BlockDataSheet()

Member Function Documentation

◆ convertPortIndexToConnectorPort()

Block::ConnectionPort BlocksProtocol::BlockDataSheet::convertPortIndexToConnectorPort ( BlocksProtocol::ConnectorPort  port) const
noexcept

References ports.

Member Data Documentation

◆ serialNumber

const BlocksProtocol::BlockSerialNumber BlocksProtocol::BlockDataSheet::serialNumber

Referenced by BlockDataSheet().

◆ apiType

Block::Type BlocksProtocol::BlockDataSheet::apiType = Block::Type::unknown

◆ description

const char* BlocksProtocol::BlockDataSheet::description = nullptr

◆ widthUnits

int BlocksProtocol::BlockDataSheet::widthUnits = 0

◆ heightUnits

int BlocksProtocol::BlockDataSheet::heightUnits = 0

◆ lightGridWidth

int BlocksProtocol::BlockDataSheet::lightGridWidth = 0

◆ lightGridHeight

int BlocksProtocol::BlockDataSheet::lightGridHeight = 0

◆ lightGridStartIndex

int BlocksProtocol::BlockDataSheet::lightGridStartIndex = 0

◆ hasTouchSurface

bool BlocksProtocol::BlockDataSheet::hasTouchSurface = false

◆ numKeywaves

int BlocksProtocol::BlockDataSheet::numKeywaves = 0

◆ numLEDRowLEDs

int BlocksProtocol::BlockDataSheet::numLEDRowLEDs = 0

◆ programAndHeapSize

uint32 BlocksProtocol::BlockDataSheet::programAndHeapSize = 0

◆ buttons

juce::Array<ButtonInfo> BlocksProtocol::BlockDataSheet::buttons

◆ statusLEDs

juce::Array<StatusLEDInfo> BlocksProtocol::BlockDataSheet::statusLEDs

◆ ports

juce::Array<Block::ConnectionPort> BlocksProtocol::BlockDataSheet::ports

◆ dials

juce::Array<const char*> BlocksProtocol::BlockDataSheet::dials

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