Jamba  3.2.0
pongasoft::VST::MessageHandler Class Reference

#include <MessageHandler.h>

Inherits pongasoft::VST::IMessageHandler.

Public Member Functions

tresult handleMessage (Message const &iMessage) override
 
void registerHandler (MessageID iMessageID, IMessageHandler *iMessageHandler)
 
- Public Member Functions inherited from pongasoft::VST::IMessageHandler
virtual ~IMessageHandler ()=default
 

Private Attributes

std::map< MessageID, IMessageHandler * > fHandlers {}
 

Detailed Description

Simple implementation of IMessageHandler which will delegate the message handling based on MessageID

Member Function Documentation

◆ handleMessage()

tresult pongasoft::VST::MessageHandler::handleMessage ( Message const &  iMessage)
overridevirtual

◆ registerHandler()

void pongasoft::VST::MessageHandler::registerHandler ( MessageID  iMessageID,
IMessageHandler iMessageHandler 
)

Member Data Documentation

◆ fHandlers

std::map<MessageID, IMessageHandler *> pongasoft::VST::MessageHandler::fHandlers {}
private

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