|
INET Framework for OMNeT++/OMNEST
|
#include <Blackboard.h>
Public Member Functions | |
| const char * | getLabel () |
| cPolymorphic * | getData () |
| const cPolymorphic * | getData () const |
Private Attributes | |
| cPolymorphic * | _item |
| std::string | _label |
| SubscriberVector | subscribers |
Friends | |
| class | Blackboard |
Represents a blackboard item.
Definition at line 170 of file Blackboard.h.
| cPolymorphic* Blackboard::BBItem::getData | ( | ) | [inline] |
Return the data item
Definition at line 181 of file Blackboard.h.
Referenced by operator<<().
{return _item;}
| const cPolymorphic* Blackboard::BBItem::getData | ( | ) | const [inline] |
| const char* Blackboard::BBItem::getLabel | ( | ) | [inline] |
Return the label of this data item
Definition at line 179 of file Blackboard.h.
Referenced by Blackboard::changed(), Blackboard::publish(), Blackboard::subscribe(), Blackboard::unsubscribe(), and Blackboard::withdraw().
{return _label.c_str();}
friend class Blackboard [friend] |
Definition at line 173 of file Blackboard.h.
cPolymorphic* Blackboard::BBItem::_item [private] |
Definition at line 174 of file Blackboard.h.
Referenced by Blackboard::changed(), Blackboard::publish(), and Blackboard::withdraw().
std::string Blackboard::BBItem::_label [private] |
Definition at line 175 of file Blackboard.h.
Referenced by Blackboard::publish(), and Blackboard::withdraw().
Definition at line 176 of file Blackboard.h.
Referenced by Blackboard::changed(), Blackboard::subscribe(), Blackboard::unsubscribe(), and Blackboard::withdraw().