bridge.hh (5012:c0a28154d002) bridge.hh (5336:c7e21f4e5a2e)
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;

--- 136 unchanged lines hidden (view full) ---

145 BridgePort *port;
146
147 public:
148 SendEvent(BridgePort *p)
149 : Event(&mainEventQueue), port(p) {}
150
151 virtual void process() { port->trySend(); }
152
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;

--- 136 unchanged lines hidden (view full) ---

145 BridgePort *port;
146
147 public:
148 SendEvent(BridgePort *p)
149 : Event(&mainEventQueue), port(p) {}
150
151 virtual void process() { port->trySend(); }
152
153 virtual const char *description() { return "bridge send"; }
153 virtual const char *description() const { return "bridge send"; }
154 };
155
156 SendEvent sendEvent;
157
158 public:
159 /** Constructor for the BusPort.*/
160 BridgePort(const std::string &_name, Bridge *_bridge,
161 BridgePort *_otherPort, int _delay, int _nack_delay,

--- 54 unchanged lines hidden ---
154 };
155
156 SendEvent sendEvent;
157
158 public:
159 /** Constructor for the BusPort.*/
160 BridgePort(const std::string &_name, Bridge *_bridge,
161 BridgePort *_otherPort, int _delay, int _nack_delay,

--- 54 unchanged lines hidden ---