本文整理汇总了Python中shinysdr.values.CollectionState.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python CollectionState.__init__方法的具体用法?Python CollectionState.__init__怎么用?Python CollectionState.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类shinysdr.values.CollectionState
的用法示例。
在下文中一共展示了CollectionState.__init__方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from shinysdr.values import CollectionState [as 别名]
# 或者: from shinysdr.values.CollectionState import __init__ [as 别名]
def __init__(self, time_source=the_reactor):
self.__interesting_objects = CellDict(dynamic=True)
CollectionState.__init__(self, self.__interesting_objects)
self.__objects = {}
self.__expiry_times = {}
self.__time_source = IReactorTime(time_source)
self.__flush_call = None
示例2: __init__
# 需要导入模块: from shinysdr.values import CollectionState [as 别名]
# 或者: from shinysdr.values.CollectionState import __init__ [as 别名]
def __init__(self, table, top):
CollectionState.__init__(self, table, dynamic=True)
self.__top = top
示例3: __init__
# 需要导入模块: from shinysdr.values import CollectionState [as 别名]
# 或者: from shinysdr.values.CollectionState import __init__ [as 别名]
def __init__(self):
self.__stations = {}
CollectionState.__init__(self, self.__stations, dynamic=True)
示例4: __init__
# 需要导入模块: from shinysdr.values import CollectionState [as 别名]
# 或者: from shinysdr.values.CollectionState import __init__ [as 别名]
def __init__(self, table, top):
CollectionState.__init__(self, table)
self.__top = top
示例5: __init__
# 需要导入模块: from shinysdr.values import CollectionState [as 别名]
# 或者: from shinysdr.values.CollectionState import __init__ [as 别名]
def __init__(self):
self.__aircraft = {}
self.__interesting_aircraft = {}
CollectionState.__init__(self, self.__interesting_aircraft, dynamic=True)
示例6: __init__
# 需要导入模块: from shinysdr.values import CollectionState [as 别名]
# 或者: from shinysdr.values.CollectionState import __init__ [as 别名]
def __init__(self):
self.table = {}
CollectionState.__init__(self, self.table, dynamic=True)
示例7: __init__
# 需要导入模块: from shinysdr.values import CollectionState [as 别名]
# 或者: from shinysdr.values.CollectionState import __init__ [as 别名]
def __init__(self):
self.table = CellDict(dynamic=True)
CollectionState.__init__(self, self.table)
示例8: __init__
# 需要导入模块: from shinysdr.values import CollectionState [as 别名]
# 或者: from shinysdr.values.CollectionState import __init__ [as 别名]
def __init__(self, cap_table, unserializer):
self.__cap_table = cap_table
self.__unserializer = unserializer
CollectionState.__init__(self, cap_table._get_cap_dict())
示例9: __init__
# 需要导入模块: from shinysdr.values import CollectionState [as 别名]
# 或者: from shinysdr.values.CollectionState import __init__ [as 别名]
def __init__(self, time_source=the_reactor):
self.__interesting_objects = {}
CollectionState.__init__(self, self.__interesting_objects, dynamic=True)
self.__objects = {}
self.__expiry_times = {}
self.__time_source = IReactorTime(time_source)