VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simObjectStateRepositoryFactory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2000 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
10 #include <vlutil/vlHashlist.h>
13 
15 class DtLocalObject;
17 class DtString;
19 
20 typedef DtVrfObjectStateRepository* (*DtSimObjectStateRepositoryCreatorFcn)(const DtString & name, DtLocalObject* simObjects,
21  DtReaderWriterRegistry * parentRegistry);
22 
30 {
31 public:
32 
35 
38 
42 
46 
48  virtual void addCreatorFcn(const DtString& type,
50 
51  virtual DtVrfObjectStateRepository * createStateRepository(
52  const DtString & name, const DtString & type, DtLocalObject* simObject, DtReaderWriterRegistry * parentRegistry);
53 
54  static DtSimObjectStateRepositoryFactory* create();
55 };
56 
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:63
Definition: readerWriterRegistry.h:39
Description: This repository is an internal repository accessible only by local objects. It holds all information that is common to all the forms of all entity/aggregate/control objects within VR-Forces.
Definition: vrfObjectStateRepository.h:90
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtVrfObjectStateRepository *(* DtSimObjectStateRepositoryCreatorFcn)(const DtString &name, DtLocalObject *simObjects, DtReaderWriterRegistry *parentRegistry)
Definition: simObjectStateRepositoryFactory.h:20
class DtSimObjectStateRepositoryFactory:
Definition: simObjectStateRepositoryFactory.h:29
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)