The BLOCKS SDK
BlocksProtocol::BlockSerialNumber Struct Reference

Description

Structure describing a block's serial number.

Inheritance diagram for BlocksProtocol::BlockSerialNumber:

Public Member Functions

bool isValid () const noexcept
 
bool isPadBlock () const noexcept
 
bool isLiveBlock () const noexcept
 
bool isLoopBlock () const noexcept
 
bool isDevCtrlBlock () const noexcept
 
bool isTouchBlock () const noexcept
 
bool isSeaboardBlock () const noexcept
 
bool isLumiKeysBlock () const noexcept
 
bool isAnyControlBlock () const noexcept
 
bool hasPrefix (const char *prefix) const noexcept
 
- Public Member Functions inherited from BlocksProtocol::BlockStringData< 16 >
bool isNotEmpty () const
 
juce::String asString () const
 
bool operator== (const BlockStringData &other) const
 
bool operator!= (const BlockStringData &other) const
 

Additional Inherited Members

- Public Attributes inherited from BlocksProtocol::BlockStringData< 16 >
juce::uint8 data [MaxSize]
 
juce::uint8 length
 
- Static Public Attributes inherited from BlocksProtocol::BlockStringData< 16 >
static const size_t maxLength
 

Member Function Documentation

◆ isValid()

bool BlocksProtocol::BlockSerialNumber::isValid ( ) const
noexcept

◆ isPadBlock()

bool BlocksProtocol::BlockSerialNumber::isPadBlock ( ) const
noexcept

References hasPrefix().

Referenced by isValid().

◆ isLiveBlock()

bool BlocksProtocol::BlockSerialNumber::isLiveBlock ( ) const
noexcept

References hasPrefix().

Referenced by isAnyControlBlock().

◆ isLoopBlock()

bool BlocksProtocol::BlockSerialNumber::isLoopBlock ( ) const
noexcept

References hasPrefix().

Referenced by isAnyControlBlock().

◆ isDevCtrlBlock()

bool BlocksProtocol::BlockSerialNumber::isDevCtrlBlock ( ) const
noexcept

References hasPrefix().

Referenced by isAnyControlBlock().

◆ isTouchBlock()

bool BlocksProtocol::BlockSerialNumber::isTouchBlock ( ) const
noexcept

References hasPrefix().

Referenced by isAnyControlBlock().

◆ isSeaboardBlock()

bool BlocksProtocol::BlockSerialNumber::isSeaboardBlock ( ) const
noexcept

References hasPrefix().

Referenced by isValid().

◆ isLumiKeysBlock()

bool BlocksProtocol::BlockSerialNumber::isLumiKeysBlock ( ) const
noexcept

References hasPrefix().

Referenced by isValid().

◆ isAnyControlBlock()

bool BlocksProtocol::BlockSerialNumber::isAnyControlBlock ( ) const
noexcept

◆ hasPrefix()

bool BlocksProtocol::BlockSerialNumber::hasPrefix ( const char *  prefix) const
noexcept

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