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> 42 class 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_;
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.
Fawkes library namespace.
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.