sim_object.hh (5314:e902f12a3af1) sim_object.hh (5315:30997e988446)
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;

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

128#ifdef DEBUG
129 public:
130 bool doDebugBreak;
131 static void debugObjectBreak(const std::string &objs);
132#endif
133
134 /**
135 * Find the SimObject with the given name and return a pointer to
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;

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

128#ifdef DEBUG
129 public:
130 bool doDebugBreak;
131 static void debugObjectBreak(const std::string &objs);
132#endif
133
134 /**
135 * Find the SimObject with the given name and return a pointer to
136 * it. Priarily used for interactive debugging. Argument is
136 * it. Primarily used for interactive debugging. Argument is
137 * char* rather than std::string to make it callable from gdb.
138 */
139 static SimObject *find(const char *name);
140
141 public:
142 void recordEvent(const std::string &stat);
143};
144
145#endif // __SIM_OBJECT_HH__
137 * char* rather than std::string to make it callable from gdb.
138 */
139 static SimObject *find(const char *name);
140
141 public:
142 void recordEvent(const std::string &stat);
143};
144
145#endif // __SIM_OBJECT_HH__