Public Member Functions | Private Attributes | List of all members
micros_swarm::Swarm Class Reference

#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)
 
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::MsgQueueManagermqm_
 
boost::shared_ptr< micros_swarm::RuntimeHandlerth_
 
int swarm_id_
 

Detailed Description

Definition at line 42 of file swarm.h.

Constructor & Destructor Documentation

micros_swarm::Swarm::Swarm ( )

Definition at line 27 of file swarm.cpp.

micros_swarm::Swarm::Swarm ( int  swarm_id)

Definition at line 32 of file swarm.cpp.

micros_swarm::Swarm::Swarm ( const Swarm s)

Definition at line 40 of file swarm.cpp.

micros_swarm::Swarm::~Swarm ( )

Definition at line 58 of file swarm.cpp.

Member Function Documentation

void micros_swarm::Swarm::breakup ( )

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.

void micros_swarm::Swarm::join ( )

Definition at line 77 of file swarm.cpp.

void micros_swarm::Swarm::leave ( )

Definition at line 98 of file swarm.cpp.

const std::set< int > micros_swarm::Swarm::members ( )

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.

void micros_swarm::Swarm::print ( ) const

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

boost::shared_ptr<micros_swarm::MsgQueueManager> micros_swarm::Swarm::mqm_
private

Definition at line 67 of file swarm.h.

boost::shared_ptr<micros_swarm::RuntimeHandle> micros_swarm::Swarm::rth_
private

Definition at line 66 of file swarm.h.

int micros_swarm::Swarm::swarm_id_
private

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 Mon Jun 10 2019 14:02:06