1 #ifndef PACKETFLOW_COMPONENT_H 2 #define PACKETFLOW_COMPONENT_H 15 std::list<packet_flow_payload*>
queue;
17 typedef std::list<packet_flow_payload*>::iterator
iterator;
39 return "packet_flow_handler";
48 handle_credit(packet_flow_credit* msg) = 0;
51 handle_payload(packet_flow_payload* pkt) = 0;
90 #endif // PACKETFLOW_COMPONENT_H packet_flow_payload * front()
The main interface for something that can respond to an event (sst_message).
std::list< packet_flow_payload * > queue
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual ~packet_flow_handler()
void push_back(packet_flow_payload *payload)
virtual std::string to_string() const
packet_flow_payload * pop(int num_credits)
std::list< packet_flow_payload * >::iterator iterator