sim_object.cc (5314:e902f12a3af1) sim_object.cc (5530:bbfff6d0c42c)
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;

--- 55 unchanged lines hidden (view full) ---

64#ifdef DEBUG
65 doDebugBreak = false;
66#endif
67
68 simObjectList.push_back(this);
69 state = Running;
70}
71
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;

--- 55 unchanged lines hidden (view full) ---

64#ifdef DEBUG
65 doDebugBreak = false;
66#endif
67
68 simObjectList.push_back(this);
69 state = Running;
70}
71
72SimObjectParams *
73SimObject::makeParams(const std::string &name)
74{
75 SimObjectParams *params = new SimObjectParams;
76 params->name = name;
77 return params;
78}
79
80void
81SimObject::init()
82{
83}
84
85//
86// no default statistics, so nothing to do in base implementation
87//

--- 195 unchanged lines hidden ---
72void
73SimObject::init()
74{
75}
76
77//
78// no default statistics, so nothing to do in base implementation
79//

--- 195 unchanged lines hidden ---