SST 16.0.0
Structural Simulation Toolkit
SST::LinkPair Class Reference

Defines a pair of links (to define a connected link). More...

#include <linkPair.h>

Public Member Functions

 LinkPair (LinkId_t id)
 Create a new LinkPair.
 LinkPair ()
 Create a new LinkPair.
LinkgetLeft ()
 Return the Left Link.
LinkgetRight ()
 Return the Right Link.

Detailed Description

Defines a pair of links (to define a connected link).

Constructor & Destructor Documentation

◆ LinkPair() [1/2]

SST::LinkPair::LinkPair ( LinkId_t id)
inlineexplicit

Create a new LinkPair.

This is used when the endpoints are in the same partition.

Parameters
idID of the link

◆ LinkPair() [2/2]

SST::LinkPair::LinkPair ( )
inline

Create a new LinkPair.

This is used on restart.

Parameters
orderValue used to enforce the link order.

Member Function Documentation

◆ getLeft()

Link * SST::LinkPair::getLeft ( )
inline

Return the Left Link.

Returns
Left link

◆ getRight()

Link * SST::LinkPair::getRight ( )
inline

Return the Right Link.

Returns
Right link

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