WSF
WsfQuantumAllocator Class Referenceabstract

#include <WsfQuantumAllocator.hpp>

Inheritance diagram for WsfQuantumAllocator:

Public Member Functions

 WsfQuantumAllocator ()=default
virtual ~WsfQuantumAllocator ()=default
WsfQuantumAllocatoroperator= (const WsfQuantumAllocator &)=default
virtual std::string AllocatorType ()=0
virtual WsfQuantumAllocatorClone ()=0
virtual void Initialize (double aSimTime, WsfScriptContext *aParentContextPtr=nullptr)
virtual AllocationList MakeAllocations (WsfQuantumMatrix &aMatrix)=0
virtual WsfQuantumTaskAllocationFor (WsfAssetPerception *aAssetPtr)
virtual WsfAssetPerceptionAllocatedTo (WsfQuantumTask *aTaskPtr)
std::string TaskType ()
bool HasTaskType ()
void SetTaskType (std::string &aType)

Protected Attributes

std::string mTaskType
std::map< WsfAssetPerception *, WsfQuantumTask * > mAssetAllocationMap
std::map< WsfQuantumTask *, WsfAssetPerception * > mTaskAllocationMap

Constructor & Destructor Documentation

◆ WsfQuantumAllocator()

◆ ~WsfQuantumAllocator()

virtual WsfQuantumAllocator::~WsfQuantumAllocator ( )
virtualdefault

Member Function Documentation

◆ AllocatedTo()

WsfAssetPerception * WsfQuantumAllocator::AllocatedTo ( WsfQuantumTask * aTaskPtr)
virtual

References mTaskAllocationMap.

Referenced by MakeAllocations().

◆ AllocationFor()

WsfQuantumTask * WsfQuantumAllocator::AllocationFor ( WsfAssetPerception * aAssetPtr)
virtual

References mAssetAllocationMap.

Referenced by MakeAllocations().

◆ AllocatorType()

◆ Clone()

◆ HasTaskType()

bool WsfQuantumAllocator::HasTaskType ( )
inline

References mTaskType.

◆ Initialize()

virtual void WsfQuantumAllocator::Initialize ( double aSimTime,
WsfScriptContext * aParentContextPtr = nullptr )
inlinevirtual

Reimplemented in WsfQuantumAllocatorScript.

◆ MakeAllocations()

◆ operator=()

WsfQuantumAllocator & WsfQuantumAllocator::operator= ( const WsfQuantumAllocator & )
default

References WsfQuantumAllocator().

◆ SetTaskType()

void WsfQuantumAllocator::SetTaskType ( std::string & aType)
inline

References mTaskType.

◆ TaskType()

std::string WsfQuantumAllocator::TaskType ( )
inline

References mTaskType.

Member Data Documentation

◆ mAssetAllocationMap

◆ mTaskAllocationMap

◆ mTaskType

std::string WsfQuantumAllocator::mTaskType
protected

Referenced by HasTaskType(), SetTaskType(), and TaskType().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved