VR-Forces 4.1.1 Class Documentation
compSystem.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: compSystem.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef compSystem_h
15 #define compSystem_h
16 
18 #include <list>
19 
20 class DtVrfObject;
21 class DtSimManager;
24 class DtString;
25 class DtSimComponent;
29 
35 {
36 private:
38 
41  DtComponentSystem& operator=(const DtComponentSystem& orig);
43 
44 public:
46  DtSimManager* simManager,
47  const DtComponentSystemDescriptor* desc,
48  DtComponentSystem* parentSystem);
49 
50  virtual ~DtComponentSystem();
51 
52  virtual bool init();
53 
59  virtual bool initializeFromDescriptor(int& priority);
60 
62  virtual bool postAddComponentsInit();
63 
65  virtual void tick();
66 
69  virtual DtString name() const;
70 
74  virtual DtString fullName() const;
75 
77 
78  virtual DtSimComponentNetwork* componentNetwork();
79  virtual const DtSimComponentNetwork* componentNetwork() const;
81 
84  virtual DtVrfProcessStateRepositoryManager* processStateRepositoryManager();
85 
88 
89  virtual DtSimResourceManager& resourceManager();
90  virtual const DtSimResourceManager& resourceManager() const;
92 
95  virtual void restoreResources();
96 
97  typedef std::list< std::pair<DtSimComponent*, DtString> > DtComponentPortList;
98 
99 
108 
109  virtual void resolveSystemOutput(const DtString& outputName, DtComponentPortList& componentOutputs);
110 
111  virtual void resolveSystemInput(const DtString& inputName, DtComponentPortList& componentInputs);
113 
114 
115 
117 
118  virtual void enable();
119  virtual void disable();
121 
125  virtual bool isEnabled();
126  virtual void setIsEnabled(bool yesNo);
128 
129 protected:
131  virtual bool createPsr();
132 
133 protected:
140 };
141 
142 typedef std::list<DtComponentSystem*> DtComponentSystemList;
143 
144 #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)