12 #include <json/json.h>
13 #include <boost/signals2/connection.hpp>
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Definition: scenarioManager.h:40
Json::Value myTypeModifiers
Definition: resourceListCommandSpecParam.h:60
RequestType
Definition: resourceListCommandSpecParam.h:27
Json::Value myChoices
Definition: resourceListCommandSpecParam.h:57
DtScenarioManager & myScnMgr
Definition: resourceListCommandSpecParam.h:61
std::atomic< bool > myReady
Definition: resourceListCommandSpecParam.h:59
virtual void resourcesChanged()
Virtual overrides to complete class.
Definition: resourceListCommandSpecParam.h:48
DtResourceListCommandSpecParamBuilder.
Definition: resourceListCommandSpecParam.h:23
virtual void resourceCheckingDisabled()
Called when this item can not longer set resources. This will happen when multiple requests are made ...
Definition: resourceListCommandSpecParam.h:49
std::set< DtEntityType > bombTypes
Definition: resourceListCommandSpecParam.h:65
virtual Json::Value result() const override
Returns the fully populated JSON descriptor for this parameter. Only valid after isReady() returns tr...
Definition: resourceListCommandSpecParam.h:53
virtual bool isCorrectResourceType(const DtSimResource &resource)
DtResourceListCommandSpecParamBuilder(const RequestType &type, const Json::Value &staticParams, const std::string &entityName, DtScenarioManager &scnMgr, const Json::Value &typeModifiers)
virtual bool isBomb(const DtSimResource &resource)
Awaitable result handle for asynchronous command spec building.
~DtResourceListCommandSpecParamBuilder()
virtual bool getGuidingTarget(std::string &target) const
IMGUI_API void Value(const char *prefix, bool b)
Abstract base for a single-parameter command spec builder.
Definition: commandSpecParamBuilder.h:25
RequestType myRequestType
Definition: resourceListCommandSpecParam.h:62
The class that is the interface between the GUI and the back-end.
Definition: remoteControlResourceRequestor.h:33
DtSimResource is a class which will define a SISO Enumeration to use as a resource and the quantity o...
Definition: simResource.h:32
virtual bool isReady() const override
Returns true once result() can be safely called.
Definition: resourceListCommandSpecParam.h:52
virtual void resourceUpdated(const DtSimResource &)
Called when a particular resource has been updated.
Definition: resourceListCommandSpecParam.h:50
Json::Value myResult
Definition: resourceListCommandSpecParam.h:56
virtual void resourceCheckComplete() override
Called when resource checking is complete.
virtual bool resourceMatchesGuiding(const DtEntityType &type, const bool target) const
DtUUID myEntityUuid
Definition: resourceListCommandSpecParam.h:58
virtual void addResource(const DtSimResource &) override
Called to add a new resource.
virtual bool isCounterMeasure(const DtSimResource &resource) const