#include <swarm.h>
Public Member Functions | |
| void | breakup () |
| const Swarm | difference (const Swarm &s, int new_swarm_id) |
| void | execute (const boost::function< void()> &f) |
| const int | id () const |
| const bool | in () const |
| const Swarm | intersection (const Swarm &s, int new_swarm_id) |
| void | join () |
| void | leave () |
| const std::set< int > | members () |
| const Swarm | negation (int new_swarm_id) |
| Swarm & | operator= (const Swarm &s) |
| void | print () const |
| void | select (const boost::function< bool()> &bf) |
| Swarm () | |
| Swarm (int swarm_id) | |
| Swarm (const Swarm &s) | |
| const Swarm | swarm_union (const Swarm &s, int new_swarm_id) |
| void | unselect (const boost::function< bool()> &bf) |
| ~Swarm () | |
Private Attributes | |
| boost::shared_ptr < micros_swarm::MsgQueueManager > | mqm_ |
| boost::shared_ptr < micros_swarm::RuntimeHandle > | rth_ |
| int | swarm_id_ |
| micros_swarm::Swarm::Swarm | ( | int | swarm_id | ) |
| micros_swarm::Swarm::Swarm | ( | const Swarm & | s | ) |
| void micros_swarm::Swarm::breakup | ( | ) |
| const Swarm micros_swarm::Swarm::difference | ( | const Swarm & | s, |
| int | new_swarm_id | ||
| ) |
| void micros_swarm::Swarm::execute | ( | const boost::function< void()> & | f | ) |
| const int micros_swarm::Swarm::id | ( | ) | const |
| const bool micros_swarm::Swarm::in | ( | ) | const |
| const Swarm micros_swarm::Swarm::intersection | ( | const Swarm & | s, |
| int | new_swarm_id | ||
| ) |
| void micros_swarm::Swarm::join | ( | ) |
| void micros_swarm::Swarm::leave | ( | ) |
| const std::set< int > micros_swarm::Swarm::members | ( | ) |
| const Swarm micros_swarm::Swarm::negation | ( | int | new_swarm_id | ) |
| void micros_swarm::Swarm::print | ( | ) | const |
| void micros_swarm::Swarm::select | ( | const boost::function< bool()> & | bf | ) |
| const Swarm micros_swarm::Swarm::swarm_union | ( | const Swarm & | s, |
| int | new_swarm_id | ||
| ) |
| void micros_swarm::Swarm::unselect | ( | const boost::function< bool()> & | bf | ) |
boost::shared_ptr<micros_swarm::MsgQueueManager> micros_swarm::Swarm::mqm_ [private] |
boost::shared_ptr<micros_swarm::RuntimeHandle> micros_swarm::Swarm::rth_ [private] |
int micros_swarm::Swarm::swarm_id_ [private] |