|
PaCO++
0.05
|
#include <GaBro.h>


Classes | |
| struct | info_t |
Public Member Functions | |
| virtual void | clientFree () |
| virtual PieceToSend * | computePiecesToSend (unsigned &size) |
| virtual bool | freeComId (long id) |
| GaBro () | |
| virtual void * | getClientData (void *pid, int server_node, long &size, long &length, bool &end) |
| virtual void * | getDescr () |
| virtual PaCO::PacoTopology_t | getDestTopology () |
| virtual long | getNodeRank () |
| virtual void * | getServerData (long &length) |
| virtual PaCO::PacoTopology_t | getSourceTopology () |
| virtual bool | insertData (void *rcptBuf, unsigned long element_nb) |
| virtual void | serverFree () |
| virtual bool | setComId (long id) |
| virtual void | setCommunicator (void *group) |
| virtual void | setDataPtr (void *dataPtr) |
| virtual void | setDescr (void *descr) |
| virtual void | setDestTopology (PaCO::PacoTopology_t topo) |
| void | setEltSize (long size) |
| void | setNodeNbElt (long elt_node_nb) |
| void | setNodePos (long node_pos) |
| virtual void | setNodeRank (long Rank) |
| virtual void | setSourceTopology (PaCO::PacoTopology_t topo) |
| void | setTotalNbElt (long elt_nb) |
| virtual | ~GaBro () |
Private Types | |
| typedef map< long, info_t * > | info_list_map_t |
Private Attributes | |
| char * | _client_buffer |
| long | _cur_id |
| info_t * | _cur_info |
| long | _current_data_size |
| long | _current_pos |
| int | _current_rcp |
| long | _data_elt_nb |
| long | _data_size |
| GaBroLib::GaBroDescr | _descr |
| PaCO::PacoTopology_t | _destTopo |
| long | _elt_node_nb |
| info_list_map_t | _info_list_map |
| long | _my_rank |
| long * | _nb_rcp |
| long | _node_data_nb |
| long | _node_pos |
| int * | _pos |
| char * | _server_buffer |
| long | _server_nb_nodes |
| PaCO::PacoTopology_t | _srcTopo |
| long | _total_data_nb |
|
private |
| GaBro::GaBro | ( | ) |
Definition at line 4 of file GaBro.cc.
References _client_buffer, _current_data_size, _current_pos, _current_rcp, _data_elt_nb, _data_size, _elt_node_nb, _my_rank, _nb_rcp, _node_data_nb, _node_pos, _pos, _server_buffer, _server_nb_nodes, _total_data_nb, and setComId().

|
virtual |
|
virtual |
Implements DistributionLibrary.
Definition at line 181 of file GaBro.cc.
References _pos, and _server_nb_nodes.
|
virtual |
Implements DistributionLibrary.
Definition at line 122 of file GaBro.cc.
References _data_size, _elt_node_nb, _my_rank, _server_nb_nodes, PieceToSend::destNode, PieceToSend::size, and PieceToSend::sourceNode.
|
virtual |
Reimplemented from DistributionLibrary.
Definition at line 301 of file GaBro.cc.
References _cur_id, and _info_list_map.
|
virtual |
Implements DistributionLibrary.
Definition at line 145 of file GaBro.cc.
References _client_buffer, _data_size, _descr, _elt_node_nb, _pos, and GaBroLib::GaBroDescr::current_data_size.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements DistributionLibrary.
Definition at line 227 of file GaBro.cc.
References _server_buffer, and _total_data_nb.
|
virtual |
|
virtual |
Implements DistributionLibrary.
Definition at line 196 of file GaBro.cc.
References _current_data_size, _current_pos, _current_rcp, _data_size, _nb_rcp, _node_data_nb, _server_buffer, _srcTopo, _total_data_nb, and PaCO::PacoTopology_s::total.
|
virtual |
Implements DistributionLibrary.
Definition at line 254 of file GaBro.cc.
References _current_pos, _current_rcp, _nb_rcp, _server_buffer, _srcTopo, and PaCO::PacoTopology_s::total.
|
virtual |
Reimplemented from DistributionLibrary.
Definition at line 266 of file GaBro.cc.
References _cur_id, _cur_info, _data_elt_nb, GaBro::info_t::_data_elt_nb, _data_size, GaBro::info_t::_data_size, _descr, _elt_node_nb, GaBro::info_t::_elt_node_nb, _info_list_map, _node_pos, GaBro::info_t::_node_pos, _server_nb_nodes, GaBro::info_t::_server_nb_nodes, GaBroLib::GaBroDescr::node_data_nb, GaBroLib::GaBroDescr::node_position, and GaBroLib::GaBroDescr::total_data_nb.
Referenced by GaBro().
|
inlinevirtual |
|
virtual |
|
virtual |
Implements DistributionLibrary.
Definition at line 234 of file GaBro.cc.
References _current_data_size, _current_pos, _current_rcp, _data_size, _descr, _nb_rcp, _node_data_nb, _total_data_nb, GaBroLib::GaBroDescr::current_data_size, GaBroLib::GaBroDescr::node_data_nb, GaBroLib::GaBroDescr::node_position, GaBroLib::GaBroDescr::sender, and GaBroLib::GaBroDescr::total_data_nb.
|
virtual |
Implements DistributionLibrary.
Definition at line 61 of file GaBro.cc.
References _destTopo, _pos, _server_nb_nodes, and PaCO::PacoTopology_s::total.
| void GaBro::setEltSize | ( | long | size | ) |
| void GaBro::setNodeNbElt | ( | long | elt_node_nb | ) |
Definition at line 107 of file GaBro.cc.
References _descr, _elt_node_nb, and GaBroLib::GaBroDescr::node_data_nb.
| void GaBro::setNodePos | ( | long | node_pos | ) |
Definition at line 115 of file GaBro.cc.
References _descr, _node_pos, and GaBroLib::GaBroDescr::node_position.
|
virtual |
Implements DistributionLibrary.
Definition at line 80 of file GaBro.cc.
References _descr, _my_rank, and GaBroLib::GaBroDescr::sender.
|
virtual |
Implements DistributionLibrary.
Definition at line 44 of file GaBro.cc.
References _nb_rcp, _srcTopo, and PaCO::PacoTopology_s::total.
| void GaBro::setTotalNbElt | ( | long | elt_nb | ) |
Definition at line 100 of file GaBro.cc.
References _data_elt_nb, _descr, and GaBroLib::GaBroDescr::total_data_nb.
|
private |
Definition at line 61 of file GaBro.h.
Referenced by GaBro(), getClientData(), and setDataPtr().
|
private |
Definition at line 77 of file GaBro.h.
Referenced by freeComId(), and setComId().
|
private |
Definition at line 78 of file GaBro.h.
Referenced by setComId().
|
private |
Definition at line 87 of file GaBro.h.
Referenced by GaBro(), insertData(), and setDescr().
|
private |
Definition at line 84 of file GaBro.h.
Referenced by GaBro(), insertData(), serverFree(), and setDescr().
|
private |
Definition at line 83 of file GaBro.h.
Referenced by GaBro(), insertData(), serverFree(), and setDescr().
|
private |
Definition at line 56 of file GaBro.h.
Referenced by GaBro(), setComId(), and setTotalNbElt().
|
private |
Definition at line 55 of file GaBro.h.
Referenced by computePiecesToSend(), GaBro(), getClientData(), insertData(), setComId(), setDescr(), and setEltSize().
|
private |
Definition at line 52 of file GaBro.h.
Referenced by getClientData(), getDescr(), setComId(), setDescr(), setNodeNbElt(), setNodePos(), setNodeRank(), and setTotalNbElt().
|
private |
Definition at line 49 of file GaBro.h.
Referenced by getDestTopology(), and setDestTopology().
|
private |
Definition at line 63 of file GaBro.h.
Referenced by computePiecesToSend(), GaBro(), getClientData(), setComId(), and setNodeNbElt().
|
private |
Definition at line 75 of file GaBro.h.
Referenced by freeComId(), setComId(), and ~GaBro().
|
private |
Definition at line 57 of file GaBro.h.
Referenced by computePiecesToSend(), GaBro(), getNodeRank(), and setNodeRank().
|
private |
Definition at line 82 of file GaBro.h.
Referenced by GaBro(), insertData(), serverFree(), setDescr(), setSourceTopology(), and ~GaBro().
|
private |
Definition at line 86 of file GaBro.h.
Referenced by GaBro(), insertData(), and setDescr().
|
private |
Definition at line 64 of file GaBro.h.
Referenced by GaBro(), setComId(), and setNodePos().
|
private |
Definition at line 62 of file GaBro.h.
Referenced by clientFree(), GaBro(), getClientData(), setDestTopology(), and ~GaBro().
|
private |
Definition at line 81 of file GaBro.h.
Referenced by GaBro(), getServerData(), insertData(), and serverFree().
|
private |
Definition at line 58 of file GaBro.h.
Referenced by clientFree(), computePiecesToSend(), GaBro(), setComId(), and setDestTopology().
|
private |
Definition at line 48 of file GaBro.h.
Referenced by getSourceTopology(), insertData(), serverFree(), and setSourceTopology().
|
private |
Definition at line 85 of file GaBro.h.
Referenced by GaBro(), getServerData(), insertData(), and setDescr().