12 #ifndef SST_CORE_LINKPAIR_H
13 #define SST_CORE_LINKPAIR_H
15 #include "sst/core/sst_types.h"
17 #include "sst/core/link.h"
27 #if !SST_BUILDING_CORE
28 LinkPair(LinkId_t
id) __attribute__ ((deprecated(
"LinkPair class was not intended to be used outside of SST Core and will be removed in SST 12."))) :
42 #if !SST_BUILDING_CORE
43 virtual ~
LinkPair() __attribute__ ((deprecated("
LinkPair class was not intended to be used outside of SST Core and will be removed in SST 12."))) {}
49 #if !SST_BUILDING_CORE
50 LinkId_t
getId() __attribute__ ((deprecated("
LinkPair class was not intended to be used outside of SST Core and will be removed in SST 12."))) {
58 #if !SST_BUILDING_CORE
59 inline Link*
getLeft() __attribute__ ((deprecated("
LinkPair class was not intended to be used outside of SST Core and will be removed in SST 12."))) {
return left;}
64 #if !SST_BUILDING_CORE
65 inline Link*
getRight() __attribute__ ((deprecated("
LinkPair class was not intended to be used outside of SST Core and will be removed in SST 12."))) {
return right;}
81 #endif // SST_CORE_LINKPAIR_H
LinkId_t getId()
return the ID of the LinkPair
Definition: linkPair.h:50
Link * getLeft()
Return the Left Link.
Definition: linkPair.h:59
Link * pair_link
Pointer to the opposite side of this link.
Definition: link.h:255
Defines a pair of links (to define a connected link)
Definition: linkPair.h:24
Link * getRight()
Return the Right Link.
Definition: linkPair.h:65
LinkPair(LinkId_t id)
Create a new LinkPair with specified ID.
Definition: linkPair.h:28
Link between two components.
Definition: link.h:32