24 #include <navgraph/aspect/navgraph_inifin.h> 25 #include <navgraph/aspect/navgraph.h> 26 #include <core/threading/thread_finalizer.h> 27 #include <navgraph/navgraph.h> 61 if (navgraph_thread == NULL) {
63 "NavGraphAspect, but RTTI says it " 64 "has not. ", thread->
name());
67 navgraph_thread->
navgraph = navgraph_;
75 if (navgraph_thread == NULL) {
77 "NavGraphAspect, but RTTI says it " 78 "has not. ", thread->
name());
void set_navgraph(LockPtr< NavGraph > &navgraph)
Set navgraph.
fawkes::LockPtr< NavGraph > navgraph
NavGraph instance shared in framework.
Fawkes library namespace.
Thread class encapsulation of pthreads.
LockPtr<> is a reference-counting shared lockable smartpointer.
Thread cannot be initialized.
const char * name() const
Get name of thread.
virtual void init(Thread *thread)
Initialize thread.
NavGraphAspectIniFin()
Constructor.
Thread cannot be finalized.
virtual void finalize(Thread *thread)
Finalize thread.
Thread aspect to access NavGraph.
Aspect initializer/finalizer base class.