Package cmion.storage
Class BlackBoard
java.lang.Object
ion.Meta.Element
cmion.architecture.CmionComponent
cmion.storage.CmionStorageContainer
cmion.storage.BlackBoard
The BlackBoard is a storage container for competencies to share information
with each other. For time critical applications, it has some additional
functions to store "real-time" properties, those are properties that are not written
and read through ION requests and events but directly. The advantage of this is faster
reaction times (not tied to the ION simulation loop), the disadvantage, is that there
are no event listeners for changes to those properties available and access is less
controlled
-
Field Summary
Fields inherited from class cmion.storage.CmionStorageContainer
persistentPropertiesFields inherited from class cmion.architecture.CmionComponent
architecture -
Constructor Summary
ConstructorsConstructorDescriptionBlackBoard(IArchitecture architecture, String name) create a new black board with the specified name -
Method Summary
Modifier and TypeMethodDescriptiongetRTPropertyValue(String propertyName) returns the value of the real time property with the given namebooleanhasRTProperty(String propertyName) sets the value of the real time property with the given namevoidremoveRTProperty(String propertyName) sets the value of the real time property with the given namevoidsetRTProperty(String propertyName, Object propertyValue) sets the value of the real time property with the given nameMethods inherited from class cmion.storage.CmionStorageContainer
getContainerName, getContainerType, getParentContainer, getPropertyNames, getPropertyNames, getPropertyValue, getSubContainer, getSubContainerNames, getSubContainerNames, getTopContainer, hasProperty, hasProperty, hasSubContainer, hasSubContainer, isPropertyPersistent, registerEventHandlerWithSubContainers, registerHandlers, requestAddSubContainer, requestAddSubContainer, requestAddSubContainer, requestRemoveProperty, requestRemoveSubContainer, requestSetProperty, requestSetProperty, toStringMethods inherited from class cmion.architecture.CmionComponent
getArchitecture, isConnected, onDestroy, raiseMethods inherited from class ion.Meta.Element
destroy, getEventFilters, getEventHandlers, getRequestFilters, getRequestHandlers, getSimulation, getUID, schedule, wasDestroyed
-
Constructor Details
-
BlackBoard
create a new black board with the specified name
-
-
Method Details
-
getRTPropertyValue
returns the value of the real time property with the given name -
setRTProperty
sets the value of the real time property with the given name -
removeRTProperty
sets the value of the real time property with the given name -
hasRTProperty
sets the value of the real time property with the given name
-