|
WSF
|
#include "WsfScriptWeaponThreatProcessorClass.hpp"#include "UtMemory.hpp"#include "WsfScriptThreatReportClass.hpp"#include "WsfWeaponThreatProcessor.hpp"#include "script/WsfScriptContext.hpp"
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptWeaponThreatProcessorClass | , |
| WsfWeaponThreatProcessor | , | ||
| QueryDurationSec | , | ||
| 1 | , | ||
| "void" | , | ||
| "double" | ) |
Sets the duration window the search should through.
A longer window, can mean longer execution times, and means the extrapolation is more uncertain.
References WsfWeaponThreatProcessor::SetQueryTime().
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptWeaponThreatProcessorClass | , |
| WsfWeaponThreatProcessor | , | ||
| ReportCount | , | ||
| 0 | , | ||
| "int" | , | ||
| "" | ) |
References WsfWeaponThreatProcessor::GetThreatList().
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptWeaponThreatProcessorClass | , |
| WsfWeaponThreatProcessor | , | ||
| RunQuerySortProbabilityKillAtT0 | , | ||
| 0 | , | ||
| "int" | , | ||
| "" | ) |
Sets the fan behind the shooter that can/will be ignored.
If not set, none will be used and it may assume an instantaneous heading change. Runs the query. The reports will be ordered by: highest pk (not pt) at t0. It returns the number of threat reports: = #query_tracks*#entity_types*#weapons_types - filtered_out
References WsfWeaponThreatProcessor::CreateThreatList(), WsfScriptContext::GetPLATFORM(), WsfWeaponThreatProcessor::GetThreatList(), platformPtr, WsfWeaponThreatProcessor::QUERY_SORT_PK_T0, and WsfWeaponThreatProcessor::SetQuerySort().
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptWeaponThreatProcessorClass | , |
| WsfWeaponThreatProcessor | , | ||
| RunQuerySortProbabilityKillMax | , | ||
| 0 | , | ||
| "int" | , | ||
| "" | ) |
Runs the query.
The reports will be ordered by: highest pk (not pt). It returns the number of threat reports: = #query_tracks*#entity_types*#weapons_types - filtered_out
References WsfWeaponThreatProcessor::CreateThreatList(), WsfScriptContext::GetPLATFORM(), WsfWeaponThreatProcessor::GetThreatList(), platformPtr, WsfWeaponThreatProcessor::QUERY_SORT_PK_MAX, and WsfWeaponThreatProcessor::SetQuerySort().
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptWeaponThreatProcessorClass | , |
| WsfWeaponThreatProcessor | , | ||
| RunQuerySortProbabilityThreatAtT0 | , | ||
| 0 | , | ||
| "int" | , | ||
| "" | ) |
Runs the query.
The reports will be ordered by: highest pt (not pk) at t0. It returns the number of threat reports: = #query_tracks*#entity_types*#weapons_types - filtered_out
References WsfWeaponThreatProcessor::CreateThreatList(), WsfScriptContext::GetPLATFORM(), WsfWeaponThreatProcessor::GetThreatList(), platformPtr, WsfWeaponThreatProcessor::QUERY_SORT_PT_T0, and WsfWeaponThreatProcessor::SetQuerySort().
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptWeaponThreatProcessorClass | , |
| WsfWeaponThreatProcessor | , | ||
| RunQuerySortProbabilityThreatMax | , | ||
| 0 | , | ||
| "int" | , | ||
| "" | ) |
Runs the query.
The reports will be ordered by: highest pt (not pk). It returns the number of threat reports: = #query_tracks*#entity_types*#weapons_types - filtered_out
References WsfWeaponThreatProcessor::CreateThreatList(), WsfScriptContext::GetPLATFORM(), WsfWeaponThreatProcessor::GetThreatList(), platformPtr, WsfWeaponThreatProcessor::QUERY_SORT_PT_MAX, and WsfWeaponThreatProcessor::SetQuerySort().
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptWeaponThreatProcessorClass | , |
| WsfWeaponThreatProcessor | , | ||
| ThreatReport | , | ||
| 1 | , | ||
| WsfScriptThreatReportClass::GetScriptClassname() | , | ||
| "int" | ) |