Fawkes API  Fawkes Development Version
fawkes::EclExternalBlackBoard Class Reference

#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 38 of file blackboard.h.

Constructor & Destructor Documentation

◆ ~EclExternalBlackBoard()

fawkes::EclExternalBlackBoard::~EclExternalBlackBoard ( )

Destructor.

Definition at line 60 of file blackboard.cpp.

References logger().

Member Function Documentation

◆ blackboard_instance()

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

Access the BlackBoard instance.

Returns
the blackboard instance

Definition at line 97 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 76 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 69 of file blackboard.cpp.

Referenced by EclipseAgentThread::init().

◆ instance()

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

Get the EclExternalBlackBoard instance.

Returns
the instance

Definition at line 88 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 106 of file blackboard.cpp.

◆ logger()

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

Definition at line 61 of file blackboard.h.

Referenced by ~EclExternalBlackBoard().

◆ name()

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

Definition at line 70 of file blackboard.h.


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