Public Member Functions | Private Member Functions | Private Attributes
micros_swarm::Worker Struct Reference

#include <app_manager.h>

List of all members.

Public Member Functions

void addApp (AppInstance *app)
AppInstancegetAppInstance (const std::string &app_name)
int getAppNum ()
void removeApp (const std::string &app_name)
 Worker (int id)
 ~Worker ()

Private Member Functions

void workFunc ()

Private Attributes

std::vector< AppInstance * > apps_
int id_
volatile bool run_
boost::thread * thread_

Detailed Description

Definition at line 53 of file app_manager.h.


Constructor & Destructor Documentation

Definition at line 27 of file app_manager.cpp.

Definition at line 35 of file app_manager.cpp.


Member Function Documentation

Definition at line 48 of file app_manager.cpp.

AppInstance * micros_swarm::Worker::getAppInstance ( const std::string &  app_name)

Definition at line 73 of file app_manager.cpp.

Definition at line 68 of file app_manager.cpp.

void micros_swarm::Worker::removeApp ( const std::string &  app_name)

Definition at line 53 of file app_manager.cpp.

void micros_swarm::Worker::workFunc ( ) [private]

Definition at line 86 of file app_manager.cpp.


Member Data Documentation

std::vector<AppInstance*> micros_swarm::Worker::apps_ [private]

Definition at line 66 of file app_manager.h.

Definition at line 63 of file app_manager.h.

volatile bool micros_swarm::Worker::run_ [private]

Definition at line 64 of file app_manager.h.

boost::thread* micros_swarm::Worker::thread_ [private]

Definition at line 65 of file app_manager.h.


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


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