VR-Forces 4.1.1 Class Documentation
objectSensorPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: objectSensorPSR.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef objectSensorPSR_H_
13 #define objectSensorPSR_H_
14 
15 #include "vrfobjcore/processSR.h"
16 #include "vrfutil/rwReal.h"
17 #include <vlutil/vlTime.h>
19 
24 
25 class DtEntityIdentifier;
26 
29 {
30 public:
31 
33  DtObjectSensorPSR(DtVrfObject* vrfObject,
34  const DtString& rwName = DtString::nullString(),
35  DtReaderWriterRegistry* parentRegistry = 0);
36 
39  const DtString& rwName = DtString::nullString(),
40  DtReaderWriterRegistry* parentRegistry = 0);
41 
43  virtual ~DtObjectSensorPSR();
44 
47 
50  const DtString& rwName = DtString::nullString(),
51  DtReaderWriterRegistry* parentRegistry = 0) const;
52 
54  virtual DtString type() const;
55 
58  virtual bool init();
59 
64  virtual DtSensorContactInfoList* contactInfoList();
70  virtual const DtSensorContactInfoList* contactInfoList() const;
71 
74  virtual DtRwSensorContactInfo* lookupContactById(const DtEntityIdentifier& id) const;
75 
77  virtual void clearContactInfoList();
78 
84  virtual DtRwSensorContactInfo* createSensorContactInfo() const;
85 
91  virtual void putSelf(FILE *fp, int indentLevel = 0,
92  bool writeUnspecified = false, const DtFilename& path = DtReaderWriter::appPath());
93 
96  virtual void getSelf(DtlObjPtr args, const DtFilename& searchPath,
97  const DtVariableBindingsList& variableBindings);
98 
99 protected:
104  virtual DtSensorContactInfoList* createSensorContactInfoList(const DtString& name);
105 
106 public:
107 
109  static DtVrfProcessStateRepository* creator (const DtString& rwName,
110  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
111 
112 protected:
113 
118  virtual void mapContactIdsToContactNames();
119 
123  virtual void mapContactNamesToContactIds();
124 
125 protected:
126 
130 
134 };
135 
136 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)