Loading...
Searching...
No Matches
bitfocus::module_handler Struct Referencefinal
Inheritance diagram for bitfocus::module_handler:
bitfocus::module_handler_base

Public Member Functions

 module_handler (QString path, QString entrypoint, QString nodeVersion, QString apiversion, module_configuration config)
 
void do_write (QString res)
 
QString jsonToString (QJsonObject obj)
 
void afterRegistration (std::function< void()>)
 
void processMessage (std::string_view v) override
 
int writeRequest (QString name, QString p)
 
void writeReply (QJsonValue id, QString p)
 
void writeReply (QJsonValue id, QJsonObject p)
 
void writeReply (QJsonValue id, QString p, bool success)
 
void writeReply (QJsonValue id, QJsonObject p, bool success)
 
void on_register (QJsonValue id)
 
void on_setActionDefinitions (QJsonArray obj)
 
void on_setVariableDefinitions (QJsonArray obj)
 
void on_setFeedbackDefinitions (QJsonArray obj)
 
void on_setPresetDefinitions (QJsonArray obj)
 
void on_setVariableValues (QJsonArray obj)
 
void on_set_status (QJsonObject obj)
 
void on_saveConfig (QJsonObject obj)
 
void on_parseVariablesInString (QJsonValue id, QJsonObject obj)
 
void on_updateFeedbackValues (QJsonObject obj)
 
void on_recordAction (QJsonObject obj)
 
void on_setCustomVariable (QJsonObject obj)
 
void on_sharedUdpSocketJoin (QJsonObject obj)
 
void on_sharedUdpSocketLeave (QJsonObject obj)
 
void on_sharedUdpSocketSend (QJsonObject obj)
 
void on_send_osc (QJsonObject obj)
 
module_data::config_field parseConfigField (QJsonObject f)
 
void on_response_configFields (QJsonArray fields)
 
int init (QString label)
 
void send_success (QJsonValue id)
 
void updateConfigAndLabel (QString label, module_configuration conf)
 
int requestConfigFields ()
 
void updateFeedbacks ()
 
void feedbackLearnValues ()
 
void feedbackDelete ()
 
void variablesChanged ()
 
void actionUpdate ()
 
void actionDelete ()
 
void actionLearnValues ()
 
void actionRun (std::string_view act, QVariantMap options)
 
void destroy ()
 
void executeHttpRequest ()
 
void startStopRecordingActions ()
 
void sharedUdpSocketMessage ()
 
void sharedUdpSocketError ()
 
const bitfocus::module_datamodel ()
 
void configurationParsed ()
 
void variableChanged (QString var, QVariant val)
 
void do_write (std::string_view res)
 
- Public Member Functions inherited from bitfocus::module_handler_base
 module_handler_base (QString node_path, QString module_path, QString entrypoint)
 
void on_read (QSocketDescriptor, QSocketNotifier::Type)
 
void do_write (std::string_view res)
 

Additional Inherited Members

- Public Attributes inherited from bitfocus::module_handler_base
char buf [16 *4096] {}
 
std::vector< char > queue
 
QProcess process {}
 
QSocketNotifier * socket {}
 
int pfd [2] {}
 

Constructor & Destructor Documentation

◆ module_handler()

bitfocus::module_handler::module_handler ( QString  path,
QString  entrypoint,
QString  nodeVersion,
QString  apiversion,
module_configuration  config 
)
explicit

Connection flow:

Member Function Documentation

◆ processMessage()

void bitfocus::module_handler::processMessage ( std::string_view  v)
overridevirtual

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