sim_object.hh (3202:c095cfd0da96) sim_object.hh (3451:185232d74b31)
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;

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

96
97 virtual ~SimObject() {}
98
99 virtual const std::string name() const { return params()->name; }
100
101 // initialization pass of all objects.
102 // Gets invoked after construction, before unserialize.
103 virtual void init();
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;

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

96
97 virtual ~SimObject() {}
98
99 virtual const std::string name() const { return params()->name; }
100
101 // initialization pass of all objects.
102 // Gets invoked after construction, before unserialize.
103 virtual void init();
104 virtual void connect();
105 static void initAll();
104 static void initAll();
106 static void connectAll();
107
108 // register statistics for this object
109 virtual void regStats();
110 virtual void regFormulas();
111 virtual void resetStats();
112
113 // static: call reg_stats on all SimObjects
114 static void regAllStats();

--- 31 unchanged lines hidden ---
105
106 // register statistics for this object
107 virtual void regStats();
108 virtual void regFormulas();
109 virtual void resetStats();
110
111 // static: call reg_stats on all SimObjects
112 static void regAllStats();

--- 31 unchanged lines hidden ---