| 285 | U32 gNextObjectId; |
| 286 | |
| 287 | static void initRoot() |
| 288 | { |
| 289 | gIdDictionary = new SimIdDictionary; |
| 290 | gNameDictionary = new SimManagerNameDictionary; |
| 291 | |
| 292 | gRootGroup = new SimGroup(); |
| 293 | gRootGroup->incRefCount(); |
| 294 | |
| 295 | gRootGroup->setId(RootGroupId); |
| 296 | gRootGroup->assignName("RootGroup"); |
| 297 | gRootGroup->registerObject(); |
| 298 | |
| 299 | gNextObjectId = DynamicObjectIdFirst; |
| 300 | } |
| 301 | |
| 302 | static void shutdownRoot() |
| 303 | { |
no test coverage detected