sim_object.cc (5530:bbfff6d0c42c) | sim_object.cc (5605:b194a80157e2) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 45 unchanged lines hidden (view full) --- 54// static list of all SimObjects, used for initialization etc. 55// 56SimObject::SimObjectList SimObject::simObjectList; 57 58// 59// SimObject constructor: used to maintain static simObjectList 60// 61SimObject::SimObject(const Params *p) | 1/* 2 * Copyright (c) 2001-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; --- 45 unchanged lines hidden (view full) --- 54// static list of all SimObjects, used for initialization etc. 55// 56SimObject::SimObjectList SimObject::simObjectList; 57 58// 59// SimObject constructor: used to maintain static simObjectList 60// 61SimObject::SimObject(const Params *p) |
62 : _params(p) | 62 : EventManager(p->eventq), _params(p) |
63{ 64#ifdef DEBUG 65 doDebugBreak = false; 66#endif 67 68 simObjectList.push_back(this); 69 state = Running; 70} --- 204 unchanged lines hidden --- | 63{ 64#ifdef DEBUG 65 doDebugBreak = false; 66#endif 67 68 simObjectList.push_back(this); 69 state = Running; 70} --- 204 unchanged lines hidden --- |