|
WSF
|
#include <WsfCyberProtect.hpp>


Public Member Functions | |
| ~ProtectedAttack () override=default | |
| bool | ProcessInput (UtInput &aInput, WsfScriptContext &aContext) |
| Public Member Functions inherited from WsfNamed | |
| WsfNamed () | |
| WsfNamed (WsfStringId aName) | |
| WsfNamed (const WsfNamed &)=default | |
| WsfNamed & | operator= (const WsfNamed &)=default |
| virtual | ~WsfNamed ()=default |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
Public Attributes | |
| double | mScanDetection {0.0} |
| double | mScanAttribution {0.0} |
| double | mAttackSuccess {1.0} |
| double | mStatusReport {0.0} |
| double | mAttackDetection {0.0} |
| double | mAttackAttribution {0.0} |
| double | mImmunity {0.0} |
| WsfRandomVariable | mDetectionDelay {WsfRandomVariable::cCONSTANT, 0, 0, WsfRandomVariable::cNON_NEGATIVE} |
| WsfRandomVariable | mRecoveryDelay {WsfRandomVariable::cCONSTANT, 0, 0, WsfRandomVariable::cNON_NEGATIVE} |
| bool | mRestore {false} |
| UtScript * | mOnAttackDetection {nullptr} |
| UtScript * | mOnAttackRecovery {nullptr} |
| UtScript * | mOnScanDetection {nullptr} |
| UtScript * | mIsVulnerable {nullptr} |
A container class for storing the specific parameters for each attack protected against. Placed here as the implementation shouldn't be visible outside of WsfCyberProtect or its derived classes
|
overridedefault |
References ProcessInput().
| bool wsf::cyber::Protect::ProtectedAttack::ProcessInput | ( | UtInput & | aInput, |
| WsfScriptContext & | aContext ) |
References WsfScriptContext::Compile(), WsfNamed::GetName(), mAttackAttribution, mAttackDetection, mAttackSuccess, mDetectionDelay, mImmunity, mIsVulnerable, mOnAttackDetection, mOnAttackRecovery, mOnScanDetection, mRecoveryDelay, mRestore, mScanAttribution, mScanDetection, mStatusReport, WsfNamed::SetName(), and WsfScriptContext::ValidateScript().
Referenced by wsf::cyber::Protect::ProcessInput(), and ~ProtectedAttack().
| double wsf::cyber::Protect::ProtectedAttack::mAttackAttribution {0.0} |
Referenced by ProcessInput().
| double wsf::cyber::Protect::ProtectedAttack::mAttackDetection {0.0} |
Referenced by ProcessInput().
| double wsf::cyber::Protect::ProtectedAttack::mAttackSuccess {1.0} |
Referenced by ProcessInput().
|
mutable |
Referenced by ProcessInput().
| double wsf::cyber::Protect::ProtectedAttack::mImmunity {0.0} |
Referenced by ProcessInput().
| UtScript* wsf::cyber::Protect::ProtectedAttack::mIsVulnerable {nullptr} |
Referenced by ProcessInput().
| UtScript* wsf::cyber::Protect::ProtectedAttack::mOnAttackDetection {nullptr} |
Referenced by ProcessInput().
| UtScript* wsf::cyber::Protect::ProtectedAttack::mOnAttackRecovery {nullptr} |
Referenced by ProcessInput().
| UtScript* wsf::cyber::Protect::ProtectedAttack::mOnScanDetection {nullptr} |
Referenced by ProcessInput().
|
mutable |
Referenced by ProcessInput().
| bool wsf::cyber::Protect::ProtectedAttack::mRestore {false} |
Referenced by ProcessInput().
| double wsf::cyber::Protect::ProtectedAttack::mScanAttribution {0.0} |
Referenced by ProcessInput().
| double wsf::cyber::Protect::ProtectedAttack::mScanDetection {0.0} |
These are all public, as they should only be accessed within the WsfCyberProtect class, and an interface is overkill
Referenced by ProcessInput().
| double wsf::cyber::Protect::ProtectedAttack::mStatusReport {0.0} |
Referenced by ProcessInput().