SST/macro
Public Member Functions | Private Types | Private Attributes | Static Private Attributes | List of all members
sstmac::sw::process_manager Class Reference

#include <pmi.h>

Inheritance diagram for sstmac::sw::process_manager:
Inheritance graph
Collaboration diagram for sstmac::sw::process_manager:
Collaboration graph

Public Member Functions

 process_manager (software_id sid)
 
virtual void init_os (operating_system *os)
 
virtual ~process_manager ()
 
int get_partner (node_id addr) const
 
node_id my_addr () const
 
void kill_node ()
 
void kill_process ()
 

Private Types

typedef spkt_unordered_map< int, node_idproc_to_node_map
 
typedef spkt_unordered_map< int, proc_to_node_mapapp_to_proc_to_node_map
 
typedef spkt_unordered_map< node_id, int > node_to_proc_map
 
typedef spkt_unordered_map< int, node_to_proc_mapapp_to_node_to_proc_map
 

Private Attributes

node_id my_addr_
 
operating_systemmy_os_
 
software_id sid_
 

Static Private Attributes

static app_to_proc_to_node_map node_map_
 
static app_to_node_to_proc_map proc_map_
 

Detailed Description

Definition at line 17 of file pmi.h.

Member Typedef Documentation

Definition at line 46 of file pmi.h.

Definition at line 42 of file pmi.h.

typedef spkt_unordered_map<node_id, int> sstmac::sw::process_manager::node_to_proc_map
private

Definition at line 44 of file pmi.h.

typedef spkt_unordered_map<int, node_id> sstmac::sw::process_manager::proc_to_node_map
private

Definition at line 40 of file pmi.h.

Constructor & Destructor Documentation

sstmac::sw::process_manager::process_manager ( software_id  sid)
virtual sstmac::sw::process_manager::~process_manager ( )
virtual

Member Function Documentation

int sstmac::sw::process_manager::get_partner ( node_id  addr) const
virtual void sstmac::sw::process_manager::init_os ( operating_system os)
virtual

Reimplemented in sstmac::sumi_api.

void sstmac::sw::process_manager::kill_node ( )

Referenced by my_addr().

void sstmac::sw::process_manager::kill_process ( )

Referenced by my_addr().

node_id sstmac::sw::process_manager::my_addr ( ) const
inline

Definition at line 31 of file pmi.h.

References kill_node(), kill_process(), and my_addr_.

Here is the call graph for this function:

Member Data Documentation

node_id sstmac::sw::process_manager::my_addr_
private

Definition at line 52 of file pmi.h.

Referenced by my_addr().

operating_system* sstmac::sw::process_manager::my_os_
private

Definition at line 54 of file pmi.h.

app_to_proc_to_node_map sstmac::sw::process_manager::node_map_
staticprivate

Definition at line 48 of file pmi.h.

app_to_node_to_proc_map sstmac::sw::process_manager::proc_map_
staticprivate

Definition at line 50 of file pmi.h.

software_id sstmac::sw::process_manager::sid_
private

Definition at line 56 of file pmi.h.


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