#include <PluginInstance.h>
Public Member Functions | |
void | consumeEvent (Event evEvent) |
Event | consumeServiceEvent (ServiceEvent seServiceEvent) |
Result | currentResult () |
Result | cycle () |
std::list< std::string > | dependencies () |
bool | developmentPlugin () |
Result | init (int argc, char **argv) |
Result | loadPluginLibrary (std::string strFilepath) |
std::string | name () |
bool | offersService (std::string strServiceName) |
int | pluginID () |
PluginInstance () | |
void | setDevelopmentPlugin (bool bDevelopmentPlugin) |
void | setRunning (bool bRunCycle) |
void | spinCycle () |
bool | subscribedToEvent (std::string strEventName) |
void | unload () |
void | waitForJoin () |
~PluginInstance () | |
Private Attributes | |
bool | m_bRunCycle |
std::mutex | m_mtxCycleResults |
plugins::Plugin * | m_piInstance |
Result | m_resCycleResult |
std::string | m_strName |
std::thread * | m_thrdPluginCycle |
void * | m_vdLibHandle |
Definition at line 60 of file PluginInstance.h.
Definition at line 44 of file PluginInstance.cpp.
Definition at line 55 of file PluginInstance.cpp.
void beliefstate::PluginInstance::consumeEvent | ( | Event | evEvent | ) |
Definition at line 195 of file PluginInstance.cpp.
Event beliefstate::PluginInstance::consumeServiceEvent | ( | ServiceEvent | seServiceEvent | ) |
Definition at line 203 of file PluginInstance.cpp.
Definition at line 211 of file PluginInstance.cpp.
Definition at line 153 of file PluginInstance.cpp.
std::list< std::string > beliefstate::PluginInstance::dependencies | ( | ) |
Definition at line 187 of file PluginInstance.cpp.
Definition at line 128 of file PluginInstance.cpp.
Result beliefstate::PluginInstance::init | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 110 of file PluginInstance.cpp.
Result beliefstate::PluginInstance::loadPluginLibrary | ( | std::string | strFilepath | ) |
Definition at line 58 of file PluginInstance.cpp.
std::string beliefstate::PluginInstance::name | ( | ) |
Definition at line 207 of file PluginInstance.cpp.
bool beliefstate::PluginInstance::offersService | ( | std::string | strServiceName | ) |
Definition at line 199 of file PluginInstance.cpp.
Definition at line 149 of file PluginInstance.cpp.
void beliefstate::PluginInstance::setDevelopmentPlugin | ( | bool | bDevelopmentPlugin | ) |
Definition at line 122 of file PluginInstance.cpp.
void beliefstate::PluginInstance::setRunning | ( | bool | bRunCycle | ) |
Definition at line 223 of file PluginInstance.cpp.
Definition at line 161 of file PluginInstance.cpp.
bool beliefstate::PluginInstance::subscribedToEvent | ( | std::string | strEventName | ) |
Definition at line 191 of file PluginInstance.cpp.
void beliefstate::PluginInstance::unload | ( | ) |
Definition at line 136 of file PluginInstance.cpp.
Definition at line 229 of file PluginInstance.cpp.
bool beliefstate::PluginInstance::m_bRunCycle [private] |
Definition at line 66 of file PluginInstance.h.
std::mutex beliefstate::PluginInstance::m_mtxCycleResults [private] |
Definition at line 67 of file PluginInstance.h.
Definition at line 63 of file PluginInstance.h.
Definition at line 68 of file PluginInstance.h.
std::string beliefstate::PluginInstance::m_strName [private] |
Definition at line 64 of file PluginInstance.h.
std::thread* beliefstate::PluginInstance::m_thrdPluginCycle [private] |
Definition at line 65 of file PluginInstance.h.
void* beliefstate::PluginInstance::m_vdLibHandle [private] |
Definition at line 62 of file PluginInstance.h.