24 #include <plugins/nao/aspect/naoqi_inifin.h> 25 #include <core/threading/thread_finalizer.h> 50 if (naoqi_thread == NULL) {
52 "NaoQiAspect, but RTTI says it " 53 "has not. ", thread->
name());
55 if (! __naoqi_broker) {
59 naoqi_thread->init_NaoQiAspect(__naoqi_broker);
74 __naoqi_broker = naoqi_broker;
virtual void init(Thread *thread)
Initialize thread.
NaoQiAspectIniFin()
Constructor.
Fawkes library namespace.
Thread class encapsulation of pthreads.
Thread cannot be initialized.
const char * name() const
Get name of thread.
Thread aspect to get access to NaoQi broker.
virtual void finalize(Thread *thread)
Finalize thread.
void set_naoqi_broker(AL::ALPtr< AL::ALBroker > naoqi_broker)
Set the NaoQi broker to use for aspect initialization.
Aspect initializer/finalizer base class.