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 Details

    • BlackBoard

      public BlackBoard(IArchitecture architecture, String name)
      create a new black board with the specified name
  • Method Details

    • getRTPropertyValue

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

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

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

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