WSF
MTT_PerceivedCluster.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI//REL TO USA ONLY
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef MTT_PERCEIVED_CLUSTER_HPP
13#define MTT_PERCEIVED_CLUSTER_HPP
14
15#include <map>
16
17#include "MTT_NonlocalTrack.hpp"
18#include "WsfStringId.hpp"
19class MTT_Measurement;
20class SupBlock;
21
22class WsfTrack;
24
27{
28public:
30
31 virtual ~MTT_PerceivedCluster();
32
33 void SetCombinedTrack(const MTT_CombinedTrack& aCombinedTrack);
34
35 void SetMeasurement(const MTT_Measurement& aMeasurement);
36
37 void CopyFrom(double aSimTime, WsfMTT_Interface* aMTT_InterfacePtr, const WsfTrack& aTrack);
38
39 void ConvertFrom(const SupBlock& aBlock);
40 // Suppressor equivalent offset
42 // MTT_InteractionKey mIndirectSource; // 3+2 (21 case 1 + 2)
44 int mTrackNumber; // 41 (value==0 if measurement)
45
46 // The following are stored here for convenience; they are not part of the suppressor block
47 WsfStringId mLastOriginatorId; // measurements only
48 WsfStringId mLastSensorId; // measurements only
49 int mConsecutiveSingleSourceHits; // measurements only
50
51 // static std::map<int, MTT_CombinedTrack*> mTrackIdToCombinedTrackMap;
52};
53
54#endif
MTT_NonlocalTrack MTT_CombinedTrack
Definition MTT_NonlocalTrack.hpp:83
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
Definition MTT_Measurement.hpp:20
int mConsecutiveSingleSourceHits
Definition MTT_PerceivedCluster.hpp:49
void SetMeasurement(const MTT_Measurement &aMeasurement)
Definition MTT_PerceivedCluster.cpp:537
void CopyFrom(double aSimTime, WsfMTT_Interface *aMTT_InterfacePtr, const WsfTrack &aTrack)
Definition MTT_PerceivedCluster.cpp:54
MTT_PerceivedCluster()
Definition MTT_PerceivedCluster.cpp:37
WsfStringId mLastOriginatorId
Definition MTT_PerceivedCluster.hpp:47
MTT_CombinedTrack * mCombinedTrackPtr
Definition MTT_PerceivedCluster.hpp:41
MTT_Measurement * mMeasurementPtr
Definition MTT_PerceivedCluster.hpp:43
void ConvertFrom(const SupBlock &aBlock)
Definition MTT_PerceivedCluster.cpp:546
WsfStringId mLastSensorId
Definition MTT_PerceivedCluster.hpp:48
virtual ~MTT_PerceivedCluster()
Definition MTT_PerceivedCluster.cpp:48
void SetCombinedTrack(const MTT_CombinedTrack &aCombinedTrack)
Definition MTT_PerceivedCluster.cpp:528
int mTrackNumber
Definition MTT_PerceivedCluster.hpp:44
Definition SupBlock.hpp:21
Definition WsfMTT_Interface.hpp:55
An object that represents an 'track' (perception) of something.
Definition WsfTrack.hpp:120
Copyrights Multiple, All Rights Reserved