|
fipa_acl
1.4
|
#include <conversation.h>
Public Member Functions | |
| ConversationObserver () | |
| virtual | ~ConversationObserver () |
| bool | hasEvents () const |
| conversation::Event | waitForNextEvent () |
| bool | getNextEvent (conversation::Event &msg) |
| std::vector< fipa::acl::ConversationID > | getConversationIdsOfObservables () const |
Friends | |
| class | ConversationObservable |
Observer of a conversation The observer can either operate in a non-blocking fashion relying on hasEvents and getNextEvent or block using waitForNextEvent
Definition at line 95 of file conversation.h.
| fipa::acl::ConversationObserver::ConversationObserver | ( | ) |
Definition at line 27 of file conversation.cpp.
|
inlinevirtual |
Desconstructor marked virtual to create polymorphic class At least one virtual method required to allow compile to take care of polymorphism
Definition at line 106 of file conversation.h.
| std::vector< fipa::acl::ConversationID > fipa::acl::ConversationObserver::getConversationIdsOfObservables | ( | ) | const |
| bool fipa::acl::ConversationObserver::getNextEvent | ( | conversation::Event & | msg | ) |
Retrieve next event
Definition at line 60 of file conversation.cpp.
| bool fipa::acl::ConversationObserver::hasEvents | ( | ) | const |
Check if there is a next message
Definition at line 30 of file conversation.cpp.
| conversation::Event fipa::acl::ConversationObserver::waitForNextEvent | ( | ) |
Block this thread until a new message arrives
Definition at line 43 of file conversation.cpp.
|
friend |
Definition at line 97 of file conversation.h.
1.8.13