23#ifndef _PLUGINS_NAO_LED_THREAD_H_
24#define _PLUGINS_NAO_LED_THREAD_H_
26#include <aspect/blackboard.h>
27#include <aspect/blocked_timing.h>
28#include <aspect/configurable.h>
29#include <aspect/logging.h>
30#include <blackboard/interface_listener.h>
31#include <core/threading/thread.h>
32#include <core/utils/lock_multimap.h>
33#include <plugins/nao/aspect/naoqi.h>
42class ALMemoryFastAccess;
74 AL::ALPtr<AL::DCMProxy> dcm_;
75 AL::ALPtr<AL::ALMemoryProxy> almem_;
76 AL::ALPtr<AL::ALMemoryFastAccess> memfa_;
78 std::vector<float> values_;
80 typedef std::multimap<fawkes::LedInterface *, unsigned int> LedMemMap;
86 bool cfg_verbose_face_;
87 std::string subd_prefix_;
Thread to synchronize with LEDs.
virtual void finalize()
Finalize the thread.
virtual ~NaoQiLedThread()
Destructor.
bool bb_interface_message_received(fawkes::Interface *interface, fawkes::Message *message) noexcept
BlackBoard message received notification.
NaoQiLedThread()
Constructor.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void loop()
Code to execute in the thread.
virtual void init()
Initialize the thread.
Thread aspect to access to BlackBoard.
BlackBoard interface listener.
Thread aspect to use blocked timing.
Thread aspect to access configuration data.
Base class for all Fawkes BlackBoard interfaces.
Thread aspect to log output.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
Thread aspect to get access to NaoQi broker.
Thread class encapsulation of pthreads.
Fawkes library namespace.