packet.hh (5319:13cb690ba6d6) | packet.hh (5386:5614618f4027) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 281 unchanged lines hidden (view full) --- 290 291 /** A virtual base opaque structure used to hold state associated 292 * with the packet but specific to the sending device (e.g., an 293 * MSHR). A pointer to this state is returned in the packet's 294 * response so that the sender can quickly look up the state 295 * needed to process it. A specific subclass would be derived 296 * from this to carry state specific to a particular sending 297 * device. */ | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 281 unchanged lines hidden (view full) --- 290 291 /** A virtual base opaque structure used to hold state associated 292 * with the packet but specific to the sending device (e.g., an 293 * MSHR). A pointer to this state is returned in the packet's 294 * response so that the sender can quickly look up the state 295 * needed to process it. A specific subclass would be derived 296 * from this to carry state specific to a particular sending 297 * device. */ |
298 class SenderState : public FastAlloc { | 298 class SenderState { |
299 public: 300 virtual ~SenderState() {} 301 }; 302 303 /** 304 * Object used to maintain state of a PrintReq. The senderState 305 * field of a PrintReq should always be of this type. 306 */ | 299 public: 300 virtual ~SenderState() {} 301 }; 302 303 /** 304 * Object used to maintain state of a PrintReq. The senderState 305 * field of a PrintReq should always be of this type. 306 */ |
307 class PrintReqState : public SenderState { | 307 class PrintReqState : public SenderState, public FastAlloc { |
308 /** An entry in the label stack. */ 309 class LabelStackEntry { 310 public: 311 const std::string label; 312 std::string *prefix; 313 bool labelPrinted; 314 LabelStackEntry(const std::string &_label, 315 std::string *_prefix); --- 350 unchanged lines hidden --- | 308 /** An entry in the label stack. */ 309 class LabelStackEntry { 310 public: 311 const std::string label; 312 std::string *prefix; 313 bool labelPrinted; 314 LabelStackEntry(const std::string &_label, 315 std::string *_prefix); --- 350 unchanged lines hidden --- |