Represents both network sends and receives.
More...
#include <simpleNetwork.h>
|
static constexpr uint32_t | NullClsId = std::numeric_limits<uint32_t>::max() |
|
enum | cxn_flag_t { ConstructorFlag
} |
|
static void | serializable_abort (uint32_t line, const char *file, const char *func, const char *obj) |
|
Represents both network sends and receives.
◆ TraceType
Trace types.
Enumerator |
---|
NONE | No tracing enabled
|
ROUTE | Trace route information only
|
FULL | Trace all movements of packets through network
|
◆ givePayload()
void SST::Interfaces::SimpleNetwork::Request::givePayload |
( |
Event * |
event | ) |
|
|
inline |
Sets the payload field for this request.
- Parameters
-
payload_in | Event to set as payload. |
◆ inspectPayload()
Event * SST::Interfaces::SimpleNetwork::Request::inspectPayload |
( |
| ) |
|
|
inline |
Returns the payload for the request for inspection.
This call does not set the payload to nullptr, so deleting the request will also delete the payload. If the request is going to be deleted, use takePayload instead.
- Returns
- Event that was set as payload of the request.
◆ serialize_order()
◆ takePayload()
Event * SST::Interfaces::SimpleNetwork::Request::takePayload |
( |
| ) |
|
|
inline |
Returns the payload for the request.
This will also set the payload to nullptr, so the call will only return valid data one time after each givePayload call.
- Returns
- Event that was set as payload of the request.
◆ allow_adaptive
bool SST::Interfaces::SimpleNetwork::Request::allow_adaptive |
Indicates whether adaptive routing is allowed or not.
◆ dest
nid_t SST::Interfaces::SimpleNetwork::Request::dest |
◆ head
bool SST::Interfaces::SimpleNetwork::Request::head |
True if this is the head of a stream
◆ size_in_bits
size_t SST::Interfaces::SimpleNetwork::Request::size_in_bits |
◆ src
nid_t SST::Interfaces::SimpleNetwork::Request::src |
◆ tail
bool SST::Interfaces::SimpleNetwork::Request::tail |
True if this is the tail of a steram
◆ vn
int SST::Interfaces::SimpleNetwork::Request::vn |
Virtual network of packet
The documentation for this class was generated from the following file: