Fawkes API
Fawkes Development Version
|
Thread aspect to communicate with a group of robots. More...
#include <>>
Public Member Functions | |
GossipAspect (const char *group_name) | |
Constructor. More... | |
virtual | ~GossipAspect () |
Virtual empty destructor. More... | |
![]() | |
const std::list< const char * > & | get_aspects () const |
Get list of aspect names attached to a aspected thread. More... | |
Protected Attributes | |
RefPtr< GossipGroup > | gossip_group |
Gossip group to communicate with other robots. More... | |
Friends | |
class | GossipAspectIniFin |
Additional Inherited Members | |
![]() | |
void | add_aspect (const char *name) |
Add an aspect to a thread. More... | |
Thread aspect to communicate with a group of robots.
Give this aspect to your thread to get access to a communication group.
fawkes::GossipAspect::GossipAspect | ( | const char * | group_name | ) |
Constructor.
group_name | Gossip group to join and communicate with. |
Definition at line 48 of file gossip.cpp.
References fawkes::Aspect::add_aspect().
|
virtual |
Virtual empty destructor.
Definition at line 56 of file gossip.cpp.
|
protected |
Gossip group to communicate with other robots.
Definition at line 48 of file gossip.h.
Referenced by fawkes::GossipAspectIniFin::finalize(), fawkes::GossipAspectIniFin::init(), GossipExampleReceiverThread::init(), and GossipExampleSenderThread::loop().