Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore > API/Runtime/ChaosVehiclesCore/SimModule
References
| Module | ChaosVehiclesCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SimModule/VehicleBlackboard.h |
| Include | #include "SimModule/VehicleBlackboard.h" |
Syntax
class FVehicleBlackboard
Remarks
VehicleBlackboard: this is a simple generic map that can store any type, used as a way for decoupled modules to share calculations or transient state data (on the physics thread only). Values submitted are copy-in, copy-out. Unlike a traditional blackboard pattern, there is no support for subscribing to changes.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Returns true/false to indicate if an object is stored with that name | ||
| void | Invalidate
(
FName ObjName |
Invalidate an object by name | |
| void | Invalidate
(
EInvalidationReason Reason |
Invalidate all objects that can be affected by a particular circumstance (such as a rollback) | |
| void | Invalidate all objects | ||
| void | Store object by a named key, overwriting any existing object | ||
| bool | Attempt to retrieve an object from the blackboard. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EInvalidationReason |