Public Member Functions | Private Attributes
micros_swarm::Swarm Class Reference

#include <swarm.h>

List of all members.

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)
Swarmoperator= (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_

Detailed Description

Definition at line 42 of file swarm.h.


Constructor & Destructor Documentation

Definition at line 27 of file swarm.cpp.

micros_swarm::Swarm::Swarm ( int  swarm_id)

Definition at line 32 of file swarm.cpp.

Definition at line 40 of file swarm.cpp.

Definition at line 58 of file swarm.cpp.


Member Function Documentation

Definition at line 155 of file swarm.cpp.

const Swarm micros_swarm::Swarm::difference ( const Swarm s,
int  new_swarm_id 
)

Definition at line 216 of file swarm.cpp.

void micros_swarm::Swarm::execute ( const boost::function< void()> &  f)

Definition at line 148 of file swarm.cpp.

const int micros_swarm::Swarm::id ( ) const

Definition at line 64 of file swarm.cpp.

const bool micros_swarm::Swarm::in ( ) const

Definition at line 139 of file swarm.cpp.

const Swarm micros_swarm::Swarm::intersection ( const Swarm s,
int  new_swarm_id 
)

Definition at line 164 of file swarm.cpp.

Definition at line 77 of file swarm.cpp.

Definition at line 98 of file swarm.cpp.

Definition at line 69 of file swarm.cpp.

const Swarm micros_swarm::Swarm::negation ( int  new_swarm_id)

Definition at line 241 of file swarm.cpp.

Swarm & micros_swarm::Swarm::operator= ( const Swarm s)

Definition at line 47 of file swarm.cpp.

Definition at line 257 of file swarm.cpp.

void micros_swarm::Swarm::select ( const boost::function< bool()> &  bf)

Definition at line 119 of file swarm.cpp.

const Swarm micros_swarm::Swarm::swarm_union ( const Swarm s,
int  new_swarm_id 
)

Definition at line 190 of file swarm.cpp.

void micros_swarm::Swarm::unselect ( const boost::function< bool()> &  bf)

Definition at line 129 of file swarm.cpp.


Member Data Documentation

Definition at line 67 of file swarm.h.

Definition at line 66 of file swarm.h.

Definition at line 65 of file swarm.h.


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


micros_swarm
Author(s):
autogenerated on Thu Jun 6 2019 18:52:14