+ @staticmethod
+ def retrieve_tag_locator (name):
+ return Accessor.tag_locators[name]
+
+ # this is designed to be part of the 'service plc start' sequence
+ # it ensures the creation of all the tagtypes defined
+ # in the various accessors, and enforces consistency to the DB
+ # it's not easy to have define_accessors do this because at
+ # load-time as we do not have an instance of API yet
+ def run_all_tag_locators (self):
+ for (name, tag_locator) in Accessor.tag_locators.items():
+ tag_locator(self,enforce=True)