serialize.cc (9086:496304c8017d) | serialize.cc (9356:b279bad40aa3) |
---|---|
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; --- 451 unchanged lines hidden (view full) --- 460 mainEventQueue.serialize(os); 461} 462 463void 464Globals::unserialize(Checkpoint *cp, const std::string §ion) 465{ 466 Tick tick; 467 paramIn(cp, section, "curTick", tick); | 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; --- 451 unchanged lines hidden (view full) --- 460 mainEventQueue.serialize(os); 461} 462 463void 464Globals::unserialize(Checkpoint *cp, const std::string §ion) 465{ 466 Tick tick; 467 paramIn(cp, section, "curTick", tick); |
468 curTick(tick); | 468 mainEventQueue.setCurTick(tick); |
469 470 mainEventQueue.unserialize(cp, "MainEventQueue"); 471} 472 473Serializable::Serializable() 474{ 475} 476 --- 170 unchanged lines hidden --- | 469 470 mainEventQueue.unserialize(cp, "MainEventQueue"); 471} 472 473Serializable::Serializable() 474{ 475} 476 --- 170 unchanged lines hidden --- |