SST/macro
netlink.h
Go to the documentation of this file.
1 #ifndef sstmac_hw_NETLINK_H
2 #define sstmac_hw_NETLINK_H
3 
8 
9 namespace sstmac {
10 namespace hw {
11 
12 class netlink :
14  public connectable,
15  public event_subscheduler
16 {
17  public:
18  virtual ~netlink(){}
19 
20  virtual void
21  init_factory_params(sprockit::sim_parameters* params);
22 
23  int
24  node_port(int node_offset) const {
25  return num_inject_ + node_offset;
26  }
27 
28  int
29  switch_port(int tile_offset) const {
30  return tile_offset;
31  }
32 
33  protected:
35 
39 
40 };
42 
43 }
44 }
45 
46 #endif // NETLINK_H
endpoint_id netlink_id
Definition: node_address.h:25
DeclareFactory1InitParam(nic, sprockit::factory_type *)
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...