vptr.hh (5191:bebbfea0baf3) | vptr.hh (5498:2af99511ded4) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 57 unchanged lines hidden (view full) --- 66 {} 67 68 void 69 refresh() 70 { 71 if (!ptr) 72 return; 73 | 1/* 2 * Copyright (c) 2004-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; --- 57 unchanged lines hidden (view full) --- 66 {} 67 68 void 69 refresh() 70 { 71 if (!ptr) 72 return; 73 |
74 VirtualPort *port = tc->getVirtPort(tc); | 74 VirtualPort *port = tc->getVirtPort(); |
75 port->readBlob(ptr, buffer, sizeof(T)); 76 tc->delVirtPort(port); 77 } 78 79 bool 80 operator!() const 81 { 82 return ptr == 0; --- 56 unchanged lines hidden --- | 75 port->readBlob(ptr, buffer, sizeof(T)); 76 tc->delVirtPort(port); 77 } 78 79 bool 80 operator!() const 81 { 82 return ptr == 0; --- 56 unchanged lines hidden --- |