port.hh (4190:5069dfa3d62e) | port.hh (4192:7accc6365bb9) |
---|---|
1/* 2 * Copyright (c) 2002-2005 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; --- 106 unchanged lines hidden (view full) --- 115 enum Status { 116 RangeChange 117 }; 118 119 void setName(const std::string &name) 120 { portName = name; } 121 122 /** Function to set the pointer for the peer port. */ | 1/* 2 * Copyright (c) 2002-2005 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; --- 106 unchanged lines hidden (view full) --- 115 enum Status { 116 RangeChange 117 }; 118 119 void setName(const std::string &name) 120 { portName = name; } 121 122 /** Function to set the pointer for the peer port. */ |
123 void setPeer(Port *port); | 123 virtual void setPeer(Port *port); |
124 125 /** Function to get the pointer to the peer port. */ 126 Port *getPeer() { return peer; } 127 128 /** Function to set the owner of this port. */ 129 void setOwner(MemObject *_owner) { owner = _owner; } 130 131 /** Function to return the owner of this port. */ --- 169 unchanged lines hidden --- | 124 125 /** Function to get the pointer to the peer port. */ 126 Port *getPeer() { return peer; } 127 128 /** Function to set the owner of this port. */ 129 void setOwner(MemObject *_owner) { owner = _owner; } 130 131 /** Function to return the owner of this port. */ --- 169 unchanged lines hidden --- |