SST/macro
Public Member Functions | Protected Member Functions | List of all members
sstmac::hw::minimal_router Class Reference

The minimal_router class Router that performs. More...

#include <minimal_routing.h>

Inheritance diagram for sstmac::hw::minimal_router:
Inheritance graph
Collaboration diagram for sstmac::hw::minimal_router:
Collaboration graph

Public Member Functions

 minimal_router ()
 
virtual ~minimal_router ()
 
virtual void route (packet *pkt)
 
std::string to_string () const
 
virtual void finalize_init ()
 
virtual void set_topology (topology *top)
 set_topology Set the topology to be used for route computations. More...
 
- Public Member Functions inherited from sstmac::hw::structured_router
virtual ~structured_router ()
 
virtual void set_switch (network_switch *sw)
 set_switch Set the parent switch using this router to perform route computations More...
 
void minimal_route_to_node (node_id node_addr, structured_routable::path &path)
 
void minimal_routes_to_node (node_id node_addr, structured_routable::path &current_path, structured_routable::path_set &paths)
 minimal_routes_to_node Special version of routing function that computes all possible minimal paths. More...
 
virtual void minimal_route_to_switch (switch_id sw_addr, structured_routable::path &path)
 
virtual void productive_paths_to_switch (switch_id dst, structured_routable::path_set &paths)
 

Protected Member Functions

 minimal_router (routing::algorithm_t algo)
 
virtual void route (packet *pkt, structured_routable::path_set &paths)
 
- Protected Member Functions inherited from sstmac::hw::structured_router
 structured_router (routing::algorithm_t algo)
 

Additional Inherited Members

- Protected Attributes inherited from sstmac::hw::structured_router
structured_topologyregtop_
 

Detailed Description

The minimal_router class Router that performs.

Definition at line 13 of file minimal_routing.h.

Constructor & Destructor Documentation

sstmac::hw::minimal_router::minimal_router ( )
inline

Definition at line 18 of file minimal_routing.h.

virtual sstmac::hw::minimal_router::~minimal_router ( )
inlinevirtual

Definition at line 21 of file minimal_routing.h.

References route().

Here is the call graph for this function:

sstmac::hw::minimal_router::minimal_router ( routing::algorithm_t  algo)
inlineprotected

Definition at line 38 of file minimal_routing.h.

References route().

Here is the call graph for this function:

Member Function Documentation

virtual void sstmac::hw::minimal_router::finalize_init ( )
virtual
virtual void sstmac::hw::minimal_router::route ( packet pkt)
virtual
virtual void sstmac::hw::minimal_router::route ( packet pkt,
structured_routable::path_set paths 
)
protectedvirtual

Reimplemented in sstmac::hw::valiant_router.

virtual void sstmac::hw::minimal_router::set_topology ( topology top)
virtual

set_topology Set the topology to be used for route computations.

This should always call the parent router::set_topology function.

Parameters
top

Reimplemented from sstmac::hw::structured_router.

Referenced by to_string().

std::string sstmac::hw::minimal_router::to_string ( ) const
inline

Definition at line 27 of file minimal_routing.h.

References finalize_init(), and set_topology().

Here is the call graph for this function:


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