Package xbot.common.properties
Class XPropertyManager
java.lang.Object
xbot.common.properties.XPropertyManager
- All Implemented Interfaces:
DataFrameRefreshable
The PropertyManager keeps track of all properties in CoreCode. All properties are implicitly added into its storage.
It is capable of loading or saving all properties via permanentStorage, and getting updates to these properties via
the RandomAccessStore.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Must be called every robot loop, and should be done before any properties are accessed in order to make the robot as responsive as possible.void
registerProperty
(Property property) Adds the property to the local collection.
-
Field Details
-
IN_MEMORY_STORE_NAME
- See Also:
-
properties
-
permanentStore
-
inMemoryRandomAccessStore
-
-
Constructor Details
-
XPropertyManager
-
-
Method Details
-
registerProperty
Adds the property to the local collection. -
refreshDataFrame
public void refreshDataFrame()Must be called every robot loop, and should be done before any properties are accessed in order to make the robot as responsive as possible.- Specified by:
refreshDataFrame
in interfaceDataFrameRefreshable
-