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; --- 59 unchanged lines hidden (view full) --- 68 void 69 refresh() 70 { 71 if (!ptr) 72 return; 73 74 VirtualPort *port = tc->getVirtPort(); 75 port->readBlob(ptr, buffer, sizeof(T)); |
76 } 77 78 bool 79 operator!() const 80 { 81 return ptr == 0; 82 } 83 --- 54 unchanged lines hidden --- |