VR-Forces 4.2 Class Documentation
bhaveLinesModelAgent.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
7 
8 #pragma once
9 
12 #include <vrvCore/DtAgent.h>
13 #include <vrvCore/DtAgentCreator.h>
14 #include <vrvCore/DtAgentDefinition.h>
15 
17 {
18 public:
19  DtBhaveLinesModel(makVrv::DtDe& de, makVrv::DtUniqueID id);
20  virtual void update();
21 };
22 
24 class DT_DLL_bhave3DGui DtBhaveLinesModelAgent : public makVrv::DtAgent
25 {
26 public:
29 
31  static DtBhaveLinesModelAgent* create(makVrv::DtAgentManagerInterface& sceneInterface, bool bDistribute = true);
32 
34  virtual ~DtBhaveLinesModelAgent();
35 
39  DtBhaveLinesModel* findObject();
40  const DtBhaveLinesModel* findObject() const;
41 
42 
43  virtual void update() = 0;
44 
45 
46  virtual void init(std::string& str,bool useLocalCoord) = 0;
47 
48 
49 protected:
50  virtual DtBhaveLinesModel* findObjectAsDtBhaveLinesModel() = 0;
51 };
52 
53 
56 {
57 public:
60 
63 
64  virtual void update();
65 
66 
67  virtual void init(std::string& str,bool useLocalCoord);
68 
69 
70 protected:
72 
73 };
74 
76 class DtBhaveLinesModelClassDefinition : public makVrv::DtAgentDefinition<DtBhaveLinesModel>
77 {
78 public:
80  DtBhaveLinesModelClassDefinition(const std::string& className = "DtBhaveLinesModel");
81 
84 
87  {
91  };
92 
93 };
94 
96 class DtBhaveLinesModelClassesCreator : public makVrv::DtAgentCreator
97 {
98 public:
99 
102 
105 
106  static makVrv::DtAgentCreator* create();
107 
109  virtual makVrv::DtAgent* createAgent(makVrv::DtAgentManagerInterface& sceneInterface);
110 
112  virtual makVrv::DtAgentUpdateResolverInterface* createResolver(makVrv::DtDe& de, makVrv::DtUniqueID id);
113 
114 protected:
116 
117  static bool theRegisteredFlag;
118 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)