Logo
Public Member Functions | Protected Attributes | List of all members
eclipse::TaskManager Class Reference

#include <task_manager.hh>

Inheritance diagram for eclipse::TaskManager:
Inheritance graph
Collaboration diagram for eclipse::TaskManager:
Collaboration graph

Public Member Functions

 TaskManager (network::ClientHandler *)
 
void task_init (std::string file, struct logical_block_metadata &assigned_chunks, std::string job_id, int task_id)
 
 ~TaskManager ()
 
- Public Member Functions inherited from eclipse::Node
 Node ()
 
 ~Node ()
 
std::string get_ip () const override
 
- Public Member Functions inherited from eclipse::Machine
 Machine ()=default
 
 Machine (int)
 
virtual ~Machine ()
 
int get_id () const
 

Protected Attributes

int network_size
 
std::map< int, shared_ptr< int > > to_process_file
 
- Protected Attributes inherited from eclipse::Node
network::ClientHandlernetwork
 
Loggerlogger
 
std::string ip_of_this
 
int port
 
- Protected Attributes inherited from eclipse::Machine
int id
 

Constructor & Destructor Documentation

◆ TaskManager()

eclipse::TaskManager::TaskManager ( network::ClientHandler net)

◆ ~TaskManager()

eclipse::TaskManager::~TaskManager ( )

Member Function Documentation

◆ task_init()

void eclipse::TaskManager::task_init ( std::string  file,
struct logical_block_metadata assigned_chunks,
std::string  job_id,
int  task_id 
)

Member Data Documentation

◆ network_size

int eclipse::TaskManager::network_size
protected

◆ to_process_file

std::map<int, shared_ptr<int> > eclipse::TaskManager::to_process_file
protected

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