WSF
WsfTaskData.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
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 WSFTASKDATA_HPP
13#define WSFTASKDATA_HPP
14
15#include "wsf_export.h"
16
17#include "UtReferenceTracked.hpp"
18#include "WsfAuxDataEnabled.hpp"
19#include "WsfTaskResource.hpp"
20#include "WsfTrackId.hpp"
21
22class WSF_EXPORT WsfTaskData : public UtReferenceTracked, public WsfAuxDataEnabled
23{
24public:
26 WsfTaskData(const WsfTaskData& aSrc);
27 WsfTaskData(const WsfTaskResource& aTaskResource);
28 WsfTaskData& operator=(const WsfTaskData& aRhs);
29 virtual ~WsfTaskData();
30
31 // ================================= WARNING: New member variables ===========================
32 //
33 // This class is transmitted over the network. If you add a new member variable, it is
34 // YOUR RESPONSIBILITY to verify that the member is serialized correctly.
35 // Please see the implementation of WsfTaskData::SerializeP in xio/WsfXIO_SerializeTypes.cpp
36 //
37 // ===========================================================================================
38
40 unsigned int mTaskId;
41
45
51
54
57
60
63
66
69
72
75
78
82
85
88
91
94
97
99 template<typename T>
100 void SerializeP(T& aBuff);
101};
102#endif
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
WsfAuxDataEnabled & operator=(const WsfAuxDataEnabled &aRhs)
Definition WsfAuxDataEnabled.cpp:20
WsfAuxDataEnabled()=default
WsfTaskResource * mResourcePtr
Attributes of the assigned resource.
Definition WsfTaskData.hpp:77
WsfTaskData()
Definition WsfTaskData.cpp:16
WsfStringId mTaskSubStatus
Task sub status reported by assignee. (User Defined).
Definition WsfTaskData.hpp:96
WsfStringId mCommName
Definition WsfTaskData.hpp:81
double mAssignTime
The simulation time when the assignment was made.
Definition WsfTaskData.hpp:84
WsfStringId mTaskStatus
Task status.
Definition WsfTaskData.hpp:93
WsfStringId mTaskType
The task type (string ID).
Definition WsfTaskData.hpp:53
WsfTrackId mTrackId
Definition WsfTaskData.hpp:44
WsfStringId mAssigneePlatformName
The name of the assigned platform (string ID).
Definition WsfTaskData.hpp:68
double mUpdateTime
The simulation time when an update was last sent or received.
Definition WsfTaskData.hpp:87
WsfStringId mTargetName
The name of the target (string ID) IF it is known.
Definition WsfTaskData.hpp:56
unsigned int mTaskId
The serial number of the task.
Definition WsfTaskData.hpp:40
void SerializeP(T &aBuff)
For XIO (de)serialization.
Definition WsfXIO_SerializeTypes.cpp:325
int mObjectsPending
The number of objects that are pending (requested but not yet in operation).
Definition WsfTaskData.hpp:90
size_t mAssigneePlatformIndex
The platform index of the assigned platform.
Definition WsfTaskData.hpp:71
WsfStringId mAssignerProcessorName
The name of the processor on the assigning platform (string ID).
Definition WsfTaskData.hpp:65
WsfStringId mAssigneeProcessorName
The name of the processor on the assigned platform (string ID).
Definition WsfTaskData.hpp:74
WsfStringId mAssignerPlatformName
The name of the assigning platform (string ID).
Definition WsfTaskData.hpp:59
size_t mAssignerPlatformIndex
The platform index of the assigning platform.
Definition WsfTaskData.hpp:62
WsfTrackId mLocalTrackId
Definition WsfTaskData.hpp:50
Attributes of a task-able resource.
Definition WsfTaskResource.hpp:30
Definition WsfTrackId.hpp:33
Copyrights Multiple, All Rights Reserved