Fawkes API  Fawkes Development Version
fawkes::EclExternalBlackBoard Class Reference

Wrapper class for using the blackboard in the implementation of the external predicates. More...

#include <blackboard.h>

Public Member Functions

 ~EclExternalBlackBoard ()
 Destructor. More...
 
std::map< std::string, Interface * > & interfaces ()
 Obtain the list of opened interfaces. More...
 

Static Public Member Functions

static void create_initial_object (BlackBoard *bb, Logger *logger)
 Creates the initial EclExternalBlackBoard object. More...
 
static void cleanup_instance ()
 Delete the current EclExternalBlackBoard instance and set it to NULL. More...
 
static EclExternalBlackBoardinstance ()
 Get the EclExternalBlackBoard instance. More...
 
static BlackBoardblackboard_instance ()
 Access the BlackBoard instance. More...
 
static Loggerlogger ()
 
static const char * name ()
 

Detailed Description

Wrapper class for using the blackboard in the implementation of the external predicates.

Author
Daniel Beck

Definition at line 39 of file blackboard.h.

Constructor & Destructor Documentation

◆ ~EclExternalBlackBoard()

fawkes::EclExternalBlackBoard::~EclExternalBlackBoard ( )

Destructor.

Definition at line 55 of file blackboard.cpp.

Member Function Documentation

◆ blackboard_instance()

BlackBoard * fawkes::EclExternalBlackBoard::blackboard_instance ( )
static

Access the BlackBoard instance.

Returns
the blackboard instance

Definition at line 92 of file blackboard.cpp.

◆ cleanup_instance()

void fawkes::EclExternalBlackBoard::cleanup_instance ( )
static

Delete the current EclExternalBlackBoard instance and set it to NULL.

Definition at line 71 of file blackboard.cpp.

Referenced by EclipseAgentThread::finalize().

◆ create_initial_object()

void fawkes::EclExternalBlackBoard::create_initial_object ( BlackBoard bb,
Logger logger 
)
static

Creates the initial EclExternalBlackBoard object.

Parameters
bbpointer to the BlackBoard to be used
loggerpointer to the Logger to be used

Definition at line 64 of file blackboard.cpp.

References logger().

Referenced by EclipseAgentThread::init().

◆ instance()

EclExternalBlackBoard * fawkes::EclExternalBlackBoard::instance ( )
static

Get the EclExternalBlackBoard instance.

Returns
the instance

Definition at line 83 of file blackboard.cpp.

◆ interfaces()

std::map< std::string, Interface * > & fawkes::EclExternalBlackBoard::interfaces ( )

Obtain the list of opened interfaces.

Returns
list of opened interfaces

Definition at line 101 of file blackboard.cpp.

◆ logger()

static Logger* fawkes::EclExternalBlackBoard::logger ( )
inlinestatic
Returns
A pointer to the plugin-central logger

Definition at line 62 of file blackboard.h.

Referenced by create_initial_object().

◆ name()

static const char* fawkes::EclExternalBlackBoard::name ( )
inlinestatic
Returns
Name for logging

Definition at line 71 of file blackboard.h.


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