Fawkes API
Fawkes Development Version
|
Interface adapter to set thread name. More...
#include <thread_adapter.h>
Public Member Functions | |
ThreadNamePlexilAdapter (PLEXIL::AdapterExecInterface &execInterface) | |
Constructor. More... | |
ThreadNamePlexilAdapter (PLEXIL::AdapterExecInterface &execInterface, pugi::xml_node const xml) | |
Constructor from configuration XML. More... | |
virtual | ~ThreadNamePlexilAdapter () |
Destructor. More... | |
virtual bool | initialize () |
Initialize adapter. More... | |
virtual bool | start () |
Start adapter. More... | |
virtual bool | stop () |
Stop adapter. More... | |
virtual bool | reset () |
Reset adapter. More... | |
virtual bool | shutdown () |
Shut adapter down. More... | |
Interface adapter to set thread name.
Plexil adapter to provide logging facilities.
Definition at line 30 of file thread_adapter.h.
ThreadNamePlexilAdapter::ThreadNamePlexilAdapter | ( | PLEXIL::AdapterExecInterface & | execInterface | ) |
Constructor.
execInterface | Reference to the parent AdapterExecInterface object. |
Definition at line 38 of file thread_adapter.cpp.
ThreadNamePlexilAdapter::ThreadNamePlexilAdapter | ( | PLEXIL::AdapterExecInterface & | execInterface, |
pugi::xml_node const | xml | ||
) |
Constructor from configuration XML.
execInterface | Reference to the parent AdapterExecInterface object. |
xml | A const reference to the XML element describing this adapter |
Definition at line 48 of file thread_adapter.cpp.
|
virtual |
Destructor.
Definition at line 55 of file thread_adapter.cpp.
|
virtual |
Initialize adapter.
Definition at line 63 of file thread_adapter.cpp.
|
virtual |
Reset adapter.
Definition at line 112 of file thread_adapter.cpp.
|
virtual |
Shut adapter down.
Definition at line 121 of file thread_adapter.cpp.
|
virtual |
Start adapter.
Definition at line 72 of file thread_adapter.cpp.
References fawkes::Thread::current_thread_name().
|
virtual |
Stop adapter.
Definition at line 103 of file thread_adapter.cpp.