VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateSimDataProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
9 #include <vrfGuiNetworkCommon/vrfDataProcessorInterface.inl>
10 #include <vrfGuiCore/DtAggregateStateObjectAgent.hpp>
11 #include <vrfStateData/stateData.h>
13 #include <vrfutil/rwUUID.h>
14 
15 namespace makVrf
16 {
17  class DtVrfGeometryStateComponent;
18 
21  {
22  public:
24 
27 
29  virtual ~DtAggregateSimDataProcessor();
30 
32  virtual void createAndSendState(DtStateData* sd,
33  makVrv::DtSimStateObjectAgent& objectDriver, bool force = false);
34 
35  virtual const makVrv::DtSimState& emptyState() const;
36 
37  static const char* ProcessorName() { return "DtAggregateSimDataProcessor"; };
38  virtual const char* processorName() const { return ProcessorName(); };
39 
40  virtual void setState(const DtStateData*, makVrv::DtSimState& state);
41 
42  protected:
44  virtual void removeData(Legion::UInt64 legionGlobalId);
45  virtual void slot_postUpdateCallback(const DtStateData*);
46  virtual void setupAggregateData();
47  virtual bool shouldForceObjectUpdate(const DtFrameStateInterface* comp) const;
48  virtual void addSimData(DtStateData* sd);
49 
50  protected:
51  typedef std::map<makVrv::DtUniqueID, DtVrlinkSimulatedAggregateState> AggregateStates;
53  };
54 
56  {
57  public:
60 
62 
65  static void registerInstance(makVrv::DtBaseConnection& conn, DtAggregateSimDataProcessorCreator* instance);
66 
68  };
69 }
Contains makVrv::DtSimDataProcessorInterface class.
Class to transfer DtStateData for entities into entity sim data.
Definition: aggregateSimDataProcessor.h:20
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Definition: vrfDataProcessorInterface.h:65
AggregateStates myAggregateStates
Definition: aggregateSimDataProcessor.h:52
Contains the DtUUID class declaration.
static const char * ProcessorName()
Definition: aggregateSimDataProcessor.h:37
Definition: aggregateSimDataProcessor.h:55
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:339
virtual const char * processorName() const
Used to uniquely identify for registration.
Definition: aggregateSimDataProcessor.h:38
unsigned long long UInt64
Definition: stateDataTypes.h:17
std::map< makVrv::DtUniqueID, DtVrlinkSimulatedAggregateState > AggregateStates
Definition: aggregateSimDataProcessor.h:51
#define DT_DLL_vrfGuiNetworkCommon
This file is used to determine how to build.
Definition: vrfGuiNetworkCommonDefines.h:24
A DtSimState is the base class for all state objects. Derived instances of DtSimState will be created...
Definition: DtSimState.h:19
This is a simple base class that will be used to return a pointer to current or next frame state...
Definition: stateComponent.h:291
This class holds the state data that represents each simulation object in the system.
Definition: stateDataManager.h:73

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)