|
WSF
|
#include <WsfQuantumAllocator.hpp>

Public Member Functions | |
| WsfQuantumAllocator ()=default | |
| virtual | ~WsfQuantumAllocator ()=default |
| WsfQuantumAllocator & | operator= (const WsfQuantumAllocator &)=default |
| virtual std::string | AllocatorType ()=0 |
| virtual WsfQuantumAllocator * | Clone ()=0 |
| virtual void | Initialize (double aSimTime, WsfScriptContext *aParentContextPtr=nullptr) |
| virtual AllocationList | MakeAllocations (WsfQuantumMatrix &aMatrix)=0 |
| virtual WsfQuantumTask * | AllocationFor (WsfAssetPerception *aAssetPtr) |
| virtual WsfAssetPerception * | AllocatedTo (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 |
|
default |
Referenced by Clone(), WsfQuantumAllocatorGreedyIsolated::Clone(), WsfQuantumAllocatorGreedyPriority::Clone(), WsfQuantumAllocatorGreedyProfit::Clone(), WsfQuantumAllocatorGreedyValue::Clone(), WsfQuantumAllocatorOptimalProfit::Clone(), WsfQuantumAllocatorScript::Clone(), WsfQuantumAllocatorSimple::Clone(), operator=(), and WsfQuantumAllocatorScript::WsfQuantumAllocatorScript().
|
virtualdefault |
|
virtual |
References mTaskAllocationMap.
Referenced by MakeAllocations().
|
virtual |
References mAssetAllocationMap.
Referenced by MakeAllocations().
|
pure virtual |
|
pure virtual |
|
inline |
References mTaskType.
|
inlinevirtual |
Reimplemented in WsfQuantumAllocatorScript.
|
pure virtual |
|
default |
References WsfQuantumAllocator().
|
inline |
References mTaskType.
|
inline |
References mTaskType.
|
protected |
Referenced by AllocationFor(), WsfQuantumAllocatorGreedyIsolated::MakeAllocations(), WsfQuantumAllocatorGreedyPriority::MakeAllocations(), WsfQuantumAllocatorGreedyProfit::MakeAllocations(), WsfQuantumAllocatorGreedyValue::MakeAllocations(), WsfQuantumAllocatorOptimalProfit::MakeAllocations(), and WsfQuantumAllocatorSimple::MakeAllocations().
|
protected |
Referenced by AllocatedTo(), WsfQuantumAllocatorGreedyIsolated::MakeAllocations(), WsfQuantumAllocatorGreedyPriority::MakeAllocations(), WsfQuantumAllocatorGreedyProfit::MakeAllocations(), WsfQuantumAllocatorGreedyValue::MakeAllocations(), WsfQuantumAllocatorOptimalProfit::MakeAllocations(), and WsfQuantumAllocatorSimple::MakeAllocations().
|
protected |
Referenced by HasTaskType(), SetTaskType(), and TaskType().