#include <ExampleModuleB.hpp>
| ExampleModuleB::ExampleModuleB |
( |
uint64_t |
instanceId | ) |
|
| ExampleModuleB::~ExampleModuleB |
( |
| ) |
|
| void ExampleModuleB::disable |
( |
| ) |
|
|
virtual |
Called when the module should disable itself. Must stop the module (threads etc.).
| bool ExampleModuleB::enable |
( |
| ) |
|
|
protectedvirtual |
Called when the module should enable itself. Must initialize and start the module.
- Returns
- True if enable successful, False if enable failed or rejected
| std::string ExampleModuleB::getModuleName |
( |
| ) |
|
|
virtual |
| void ExampleModuleB::handleModuleStateChange |
( |
std::shared_ptr< zmf::data::ModuleHandle > |
changedModule, |
|
|
zmf::data::ModuleState |
newState, |
|
|
zmf::data::ModuleState |
lastState |
|
) |
| |
|
overridevirtual |
Optional: Handle state changes of other modules
| zmf::data::ZmfOutReply ExampleModuleB::handleRequest |
( |
const zmf::data::ZmfMessage & |
message, |
|
|
const zmf::data::ModuleUniqueId & |
sender |
|
) |
| |
|
overridevirtual |
Optional: Handle incoming ZMQ requests from other modules
- Returns
- Response message if we want to respond on the request, nullptr otherwise
The documentation for this class was generated from the following files: