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 tc->delVirtPort(port);
77 }
78
79 bool
80 operator!() const
81 {
82 return ptr == 0;
83 }
84
--- 54 unchanged lines hidden ---
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 tc->delVirtPort(port);
77 }
78
79 bool
80 operator!() const
81 {
82 return ptr == 0;
83 }
84
--- 54 unchanged lines hidden ---