Fawkes API
Fawkes Development Version
|
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_;
Base class for all messages passed through interfaces in Fawkes BlackBoard.
virtual void loop()
Code to execute in the thread.
BlackBoard interface listener.
Thread aspect to get access to NaoQi broker.
Thread aspect to use blocked timing.
Thread to synchronize with LEDs.
virtual ~NaoQiLedThread()
Destructor.
Thread aspect to access to BlackBoard.
virtual void finalize()
Finalize the thread.
Fawkes library namespace.
Thread aspect to log output.
virtual void init()
Initialize the thread.
Base class for all Fawkes BlackBoard interfaces.
Thread class encapsulation of pthreads.
bool bb_interface_message_received(fawkes::Interface *interface, fawkes::Message *message)
BlackBoard message received notification.
Thread aspect to access configuration data.
virtual void run()
Stub to see name in backtrace for easier debugging.
NaoQiLedThread()
Constructor.