The BLOCKS SDK
Block::ProgramEventListener Struct Referenceabstract

Description

Interface for objects listening to custom program events.

Public Member Functions

virtual ~ProgramEventListener ()=default
 
virtual void handleProgramEvent (Block &source, const ProgramEventMessage &)=0
 Called whenever a message from a block is received. More...
 

Constructor & Destructor Documentation

◆ ~ProgramEventListener()

virtual Block::ProgramEventListener::~ProgramEventListener ( )
virtualdefault

Member Function Documentation

◆ handleProgramEvent()

virtual void Block::ProgramEventListener::handleProgramEvent ( Block source,
const ProgramEventMessage  
)
pure virtual

Called whenever a message from a block is received.


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