VR-Forces 4.1.1 Class Documentation
aggregatedSetController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 
12 #pragma once
13 
14 #include "vrfmodel/lclEntSetCtlr.h"
15 #include "vrfobjcore/simRadio.h"
16 #include "vrftasks/simTask.h"
17 
19 class DtFormation;
22 
29 {
30 
31 public:
32 
36  DtVrfObject* owner,
37  DtSimManager* simManager,
38  DtComponentDescriptor* desc = 0,
39  DtReaderWriterRegistry* parentRegistry = 0);
40 
42  virtual ~DtAggregatedSetController();
43 
44  virtual void processSetTrueAggregateTaskNotify(const DtSimTask & task);
45 
48  virtual void enable();
49 
51  virtual void disable();
52 
54  virtual bool init();
55 
56  virtual bool postAddComponentsInit();
57 
58 public:
59 
60  static void setTrueAggregateTaskNotifyCallback(
61  const DtSimTask & task, const DtSimComponent &notifier, void* usr);
62 
68  static void setFormationCallback(DtSimMessage * msg, void * usr);
69 
73  static DtSimComponent * creator(const DtString& name,
74  DtVrfObject* owner,
75  DtSimManager* simManager,
76  DtComponentDescriptor* desc = 0,
77  DtReaderWriterRegistry* parentRegistry = 0);
78 
79 private:
83 
86 
90 
91 
92 protected:
94  virtual void setRadio(DtSimRadio * radio);
95 
98  virtual void addSetDataCallbacks();
99 
102  void removeSetDataCallbacks();
103 
107  virtual void processSetFormation(DtSimMessage * msg);
108 
109  virtual bool getFormation(const DtString& formationName,
110  const DtAggregateObjectParameters& parameterEntry, DtFormation& formation);
111 
112  virtual void updateBoundingGeometry();
113 
121  virtual void lookupAndCacheProcessSR();
122 
123 protected:
124 
126 
128 
135 };
136 
137 

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)