VR-Forces 4.1 Class Documentation
cmpntList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: cmpntList.h,v $ $Revision: 1.13 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 
19 #ifndef DtSimComponentList_H_
20 #define DtSimComponentList_H_
21 
22 #include <vlutil/vlString.h>
23 #include <vlutil/vlList.h>
24 #include "vrfutil/rwList.h"
25 #include <map>
26 
27 class DtSimComponent;
29 
38 
39 
42 {
43 public:
45  DtSimComponentList(const DtString & name,
46  DtReaderWriterRegistry * const parentRegistry = 0);
47 
49  virtual ~DtSimComponentList();
50 
54  virtual void tick(bool hostEntityDestroyed);
55 
56  virtual DtSimComponent * lookupComponent(const DtString & name);
57 
58  virtual void addComponent(DtSimComponent * component);
59  virtual void removeComponent(DtSimComponent * component);
60 
61  virtual DtSimComponent * firstComponent();
62  virtual DtSimComponent * lastComponent();
63 
64 protected:
67 
70  virtual void emptyList();
71 
74  virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
75  const DtVariableBindingsList& variableBindings);
76 
77 protected:
78 
79  typedef std::map<DtString, DtSimComponent*> DtSimComponentMap;
81 };
82 
83 #endif
84 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)