23 #ifndef __PLUGINS_NAO_LED_THREAD_H_
24 #define __PLUGINS_NAO_LED_THREAD_H_
26 #include <core/threading/thread.h>
27 #include <aspect/logging.h>
28 #include <aspect/configurable.h>
29 #include <aspect/blackboard.h>
30 #include <aspect/blocked_timing.h>
31 #include <plugins/nao/aspect/naoqi.h>
32 #include <blackboard/interface_listener.h>
34 #include <core/utils/lock_multimap.h>
42 class ALMemoryFastAccess;
63 protected:
virtual void run() { Thread::run(); }
70 AL::ALPtr<AL::DCMProxy> __dcm;
71 AL::ALPtr<AL::ALMemoryProxy> __almem;
72 AL::ALPtr<AL::ALMemoryFastAccess> __memfa;
74 std::vector<float> __values;
76 typedef std::multimap<fawkes::LedInterface *, unsigned int> LedMemMap;
82 bool __cfg_verbose_face;
83 std::string __subd_prefix;
virtual void finalize()
Finalize the thread.
Thread aspect to access to BlackBoard.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread class encapsulation of pthreads.
Base class for all Fawkes BlackBoard interfaces.
virtual void init()
Initialize the thread.
Thread aspect to use blocked timing.
virtual void loop()
Code to execute in the thread.
Thread aspect to log output.
bool bb_interface_message_received(fawkes::Interface *interface, fawkes::Message *message)
BlackBoard message received notification.
Thread aspect to get access to NaoQi broker.
Thread aspect to access configuration data.
NaoQiLedThread()
Constructor.
Thread to synchronize with LEDs.
virtual ~NaoQiLedThread()
Destructor.
BlackBoard interface listener.