SST/macro
Classes | Public Member Functions | Protected Types | Protected Attributes | List of all members
sstmac::hw::recv_cq Class Reference

#include <recv_cq.h>

Collaboration diagram for sstmac::hw::recv_cq:
Collaboration graph

Classes

struct  incoming_msg
 

Public Member Functions

messagerecv (packet *pkt)
 Log packet and determine if parent message has fully arrived. More...
 
messagerecv (uint64_t unique_id, int bytes, message *payload)
 
void print ()
 

Protected Types

typedef spkt_unordered_map< uint64_t, incoming_msgreceived_map
 Keys are unique network ID for all messages. More...
 

Protected Attributes

received_map bytes_recved_
 

Detailed Description

Definition at line 20 of file recv_cq.h.

Member Typedef Documentation

typedef spkt_unordered_map<uint64_t, incoming_msg> sstmac::hw::recv_cq::received_map
protected

Keys are unique network ID for all messages.

Value is the number of bytes receved.

Definition at line 55 of file recv_cq.h.

Member Function Documentation

void sstmac::hw::recv_cq::print ( )
message* sstmac::hw::recv_cq::recv ( packet pkt)

Log packet and determine if parent message has fully arrived.

Parameters
packetThe arriving packet
Returns
The completed msg or a null msg indicating not yet complete
message* sstmac::hw::recv_cq::recv ( uint64_t  unique_id,
int  bytes,
message payload 
)

Member Data Documentation

received_map sstmac::hw::recv_cq::bytes_recved_
protected

Definition at line 56 of file recv_cq.h.


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