Package cmion.storage

Class BlackBoard


  • public class BlackBoard
    extends CmionStorageContainer
    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
    • Constructor Detail

      • BlackBoard

        public BlackBoard​(IArchitecture architecture,
                          java.lang.String name)
        create a new black board with the specified name
    • Method Detail

      • getRTPropertyValue

        public java.lang.Object getRTPropertyValue​(java.lang.String propertyName)
        returns the value of the real time property with the given name
      • setRTProperty

        public void setRTProperty​(java.lang.String propertyName,
                                  java.lang.Object propertyValue)
        sets the value of the real time property with the given name
      • removeRTProperty

        public void removeRTProperty​(java.lang.String propertyName)
        sets the value of the real time property with the given name
      • hasRTProperty

        public boolean hasRTProperty​(java.lang.String propertyName)
        sets the value of the real time property with the given name