Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fawkes::BlackBoardAspect Class Reference

Thread aspect to access to BlackBoard. More...

#include <>>

Inherits fawkes::Aspect.

Inherited by AgentControlThread, AmclThread, BallPosLogThread, BBLoggerThread, BBLogReplayThread, BlackBoardSynchronizationThread, EclipseAgentThread, ExampleBlackBoardThread, FestivalSynthThread, FliteSynthThread, FvSrSavePipelineThread, JoystickActThread, JoystickSensorThread, KatanaActThread, LaserFilterThread, LaserHtSensorProcThread, LaserPointCloudThread, LaserSensorThread, LuaAgentContinuousExecutionThread, LuaAgentPeriodicExecutionThread, MapLaserGenThread, NaoQiButtonThread, NaoQiDCMThread, NaoQiLedThread, NaoQiMotionThread, NaoQiSpeechSynthThread, OpenNiHandTrackerThread, OpenNiUserTrackerThread, OpenRaveMessageHandlerThread, PanTiltActThread, PlayerClientThread, RefBoxCommThread, RobotinoActThread, RobotinoIrPclThread, RobotinoJoystickThread, RobotinoRosJointsThread, RobotinoSensorThread, Roomba500Thread, RoombaJoystickThread, ROSCmdVelThread, RosLaserScanThread, RosNavigatorThread, ROSOdometryThread, RosTfThread, SkillerExecutionThread, StaticTransformsThread, TabletopObjectsThread, TfExampleThread, WebviewThread, WorldModelNetworkThread, WorldModelThread, XabslEngineThread, and XmlRpcThread.

Public Member Functions

 BlackBoardAspect ()
 Constructor. More...
 
virtual ~BlackBoardAspect ()
 Virtual empty destructor. More...
 
void init_BlackBoardAspect (BlackBoard *bb)
 Init BlackBoard aspect. More...
 
- Public Member Functions inherited from fawkes::Aspect
const std::list< const char * > & get_aspects () const
 Get list of aspect names attached to a aspected thread. More...
 

Protected Attributes

BlackBoardblackboard
 This is the BlackBoard instance you can use to interact with the BlackBoard. More...
 

Additional Inherited Members

- Protected Member Functions inherited from fawkes::Aspect
void add_aspect (const char *name)
 Add an aspect to a thread. More...
 

Detailed Description

Thread aspect to access to BlackBoard.

Give this aspect to your thread to gain access to the BlackBoard. It is guaranteed that if used properly from within plugins that the blackboard member has been initialized properly.

Author
Tim Niemueller

Definition at line 34 of file blackboard.h.

Constructor & Destructor Documentation

fawkes::BlackBoardAspect::BlackBoardAspect ( )

Constructor.

Definition at line 46 of file blackboard.cpp.

fawkes::BlackBoardAspect::~BlackBoardAspect ( )
virtual

Virtual empty destructor.

Definition at line 54 of file blackboard.cpp.

Member Function Documentation

void fawkes::BlackBoardAspect::init_BlackBoardAspect ( BlackBoard bb)

Init BlackBoard aspect.

This set the BlackBoard interface manager that can be used to access the BB. It is guaranteed that this is called for a BlackBoardThread before start is called (when running regularly inside Fawkes).

Parameters
bbBlackBoard to use

Definition at line 67 of file blackboard.cpp.

Referenced by fawkes::BlackBoardAspectIniFin::init().

Member Data Documentation

BlackBoard * fawkes::BlackBoardAspect::blackboard
protected

This is the BlackBoard instance you can use to interact with the BlackBoard.

It is set when the thread starts.

Definition at line 43 of file blackboard.h.

Referenced by WorldModelNetworkThread::ball_pos_rcvd(), ExampleBlackBoardThread::finalize(), BallPosLogThread::finalize(), AgentControlThread::finalize(), JoystickSensorThread::finalize(), RoombaJoystickThread::finalize(), ROSOdometryThread::finalize(), OpenRaveMessageHandlerThread::finalize(), PanTiltSonyEviD100PThread::finalize(), RobotinoJoystickThread::finalize(), FestivalSynthThread::finalize(), RobotinoRosJointsThread::finalize(), ROSCmdVelThread::finalize(), FliteSynthThread::finalize(), PanTiltDirectedPerceptionThread::finalize(), LaserSensorThread::finalize(), RobotinoIrPclThread::finalize(), LaserHtSensorProcThread::finalize(), RefBoxCommThread::finalize(), RosNavigatorThread::finalize(), MapLaserGenThread::finalize(), OpenNiHandTrackerThread::finalize(), LaserPointCloudThread::finalize(), WorldModelThread::finalize(), NaoQiSpeechSynthThread::finalize(), NaoQiMotionThread::finalize(), LaserFilterThread::finalize(), RosLaserScanThread::finalize(), NaoQiLedThread::finalize(), WorldModelNetworkThread::finalize(), PanTiltRX28Thread::finalize(), BBLogReplayThread::finalize(), RosTfThread::finalize(), NaoQiButtonThread::finalize(), XabslEngineThread::finalize(), OpenNiUserTrackerThread::finalize(), BBLoggerThread::finalize(), TabletopObjectsThread::finalize(), NaoQiDCMThread::finalize(), LuaAgentPeriodicExecutionThread::finalize(), RobotinoActThread::finalize(), LuaAgentContinuousExecutionThread::finalize(), RobotinoSensorThread::finalize(), SkillerExecutionThread::finalize(), KatanaActThread::finalize(), AmclThread::finalize(), WorldModelNetworkThread::global_ball_pos_rcvd(), OpenNiHandTrackerThread::hand_create(), OpenNiHandTrackerThread::hand_destroy(), ExampleBlackBoardThread::init(), BallPosLogThread::init(), AgentControlThread::init(), JoystickSensorThread::init(), EclipseAgentThread::init(), RobotinoJoystickThread::init(), RoombaJoystickThread::init(), ROSCmdVelThread::init(), ROSOdometryThread::init(), OpenRaveMessageHandlerThread::init(), RobotinoRosJointsThread::init(), PanTiltSonyEviD100PThread::init(), FliteSynthThread::init(), FestivalSynthThread::init(), PanTiltDirectedPerceptionThread::init(), RobotinoIrPclThread::init(), LaserSensorThread::init(), LaserHtSensorProcThread::init(), MapLaserGenThread::init(), RefBoxCommThread::init(), WorldModelThread::init(), LaserPointCloudThread::init(), NaoQiSpeechSynthThread::init(), Roomba500Thread::init(), RosNavigatorThread::init(), RosLaserScanThread::init(), NaoQiMotionThread::init(), NaoQiLedThread::init(), WorldModelNetworkThread::init(), LaserFilterThread::init(), PanTiltRX28Thread::init(), RosTfThread::init(), NaoQiButtonThread::init(), BBLogReplayThread::init(), XabslEngineThread::init(), TabletopObjectsThread::init(), NaoQiDCMThread::init(), BBLoggerThread::init(), WebviewThread::init(), LuaAgentPeriodicExecutionThread::init(), RobotinoActThread::init(), LuaAgentContinuousExecutionThread::init(), RobotinoSensorThread::init(), SkillerExecutionThread::init(), KatanaActThread::init(), AmclThread::init(), WorldModelNetworkThread::loop(), RosLaserScanThread::loop(), OpenNiUserTrackerThread::new_user(), WorldModelNetworkThread::opponent_disapp_rcvd(), WorldModelNetworkThread::opponent_pose_rcvd(), and WorldModelNetworkThread::pose_rcvd().


The documentation for this class was generated from the following files: