资源简介
APM2.8地面站 PlayUAV 社区版 完整汉化版,可以在线直接更新。
代码片段和文件信息
# Copyright 2007 Google Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
“““Abstract base Classes (ABCs) according to PEP 3119.“““
import types
from _weakrefset import WeakSet
# Instance of old-style class
class _C: pass
_InstanceType = type(_C())
def abstractmethod(funcobj):
“““A decorator indicating abstract methods.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract methods are overridden.
The abstract methods can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C:
__metaclass__ = ABCmeta
@abstractmethod
def my_abstract_method(self ...):
...
“““
funcobj.__isabstractmethod__ = True
return funcobj
class abstractproperty(property):
“““A decorator indicating abstract properties.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract properties are overridden.
The abstract properties can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C:
__metaclass__ = ABCmeta
@abstractproperty
def my_abstract_property(self):
...
This defines a read-only property; you can also define a read-write
abstract property using the ‘long‘ form of property declaration:
class C:
__metaclass__ = ABCmeta
def getx(self): ...
def setx(self value): ...
x = abstractproperty(getx setx)
“““
__isabstractmethod__ = True
class ABCmeta(type):
“““metaclass for defining Abstract base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed
directly and then acts as a mix-in class. You can also register
unrelated concrete classes (even built-in classes) and unrelated
ABCs as ‘virtual subclasses‘ -- these and their descendants will
be considered subclasses of the registering ABC by the built-in
issubclass() function but the registering ABC won‘t show up in
their MRO (Method Resolution Order) nor will method
implementations defined by the registering ABC be callable (not
even via super()).
“““
# A global counter that is incremented each time a class is
# registered as a virtual subclass of anything. It forces the
# negative cache to be cleared before its next use.
_abc_invalidation_counter = 0
def __new__(mcls name bases namespace):
cls = super(ABCmeta mcls).__new__(mcls name bases namespace)
# Compute set of abstract method names
abstracts = set(name
for name value in namespace.items()
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1650 2014-11-28 16:46 acsimplepids.xm
目录 0 2015-03-03 13:45 aircraft\
文件 1330 2014-11-28 16:46 aircraft.xm
目录 0 2015-01-22 17:08 aircraft\arducopter\
文件 2983 2014-11-28 16:46 aircraft\arducopter\arducopter-set.xm
文件 18083 2014-11-28 16:46 aircraft\arducopter\arducopter.jpg
文件 7887 2014-11-28 16:46 aircraft\arducopter\arducopter.xm
目录 0 2015-01-22 17:08 aircraft\arducopter\data\
文件 118126 2014-11-28 16:46 aircraft\arducopter\data\arducopter_half_step.txt
文件 151569 2014-11-28 16:46 aircraft\arducopter\data\arducopter_step.txt
文件 35072 2014-11-28 16:46 aircraft\arducopter\data\rw_generic_pylon.ac
目录 0 2015-01-22 17:08 aircraft\arducopter\Engines\
文件 116 2014-11-28 16:46 aircraft\arducopter\Engines\a2830-12.xm
文件 2145 2014-11-28 16:46 aircraft\arducopter\Engines\prop10x4.5.xm
文件 399 2014-11-28 16:46 aircraft\arducopter\initfile.xm
目录 0 2015-01-22 17:08 aircraft\arducopter\Models\
文件 187989 2014-11-28 16:46 aircraft\arducopter\Models\arducopter.ac
文件 2178 2014-11-28 16:46 aircraft\arducopter\Models\arducopter.xm
文件 948606 2014-11-28 16:46 aircraft\arducopter\Models\plus_quad.ac
文件 747158 2014-11-28 16:46 aircraft\arducopter\Models\plus_quad2.ac
文件 2202 2014-11-28 16:46 aircraft\arducopter\Models\plus_quad2.xm
文件 59695 2014-11-28 16:46 aircraft\arducopter\Models\quad.3ds
文件 176428 2014-11-28 16:46 aircraft\arducopter\Models\shareware_output.3ds
文件 11168 2014-11-28 16:46 aircraft\arducopter\Models\Unti
文件 630363 2014-11-28 16:46 aircraft\arducopter\Models\Y6_test.ac
文件 3108 2014-11-28 16:46 aircraft\arducopter\plus_quad2-set.xm
文件 7887 2014-11-28 16:46 aircraft\arducopter\plus_quad2.xm
文件 1254 2014-11-28 16:46 aircraft\arducopter\quad.nas
文件 157 2014-11-28 16:46 aircraft\arducopter\README
文件 0 2015-10-14 10:56 aircraft\placeholder.txt
目录 0 2015-01-22 17:08 aircraft\Rascal\
............此处省略1592个文件信息
相关资源
- MapMagic World Generator 1.10.6.unitypackage
- 应用预测建模 (Applied Predictive Model
- 亚太数学建模APMCM历年赛题与优秀论文
- APM 超声波
- LeapMotion PPT控制软件
- 3dr数传调试软件新
- visual studio 2017社区版
- VS 2017 正式版 (免费社区版)
- 开源飞控卡尔曼EKF3笔记干货
- APM 2.8版开源飞控PCB\\SCH
- APM2.8原理图
- APM源码笔记
- 无人机源代码
- APM2.8接口介绍
- LeapMotion在UE4上的插件
- APMS本地安装包
- LeapMotion官方开发文档
- apm硬件信息-适配Visual Studio
- Mission Planner、APMPlanner2全部参数汉化版
- loadrunner12.60社区版.TXT
- apm飞控原理图
- MC6改6段飞行模式
- win7精简版APM驱动添加
- Visual paradigm 社区版及中文菜单的设置
- vs2017安装包社区版
- Leap_Motion_Core_Assets_ 4.4.0.rar
- SAP MM模块基本操作手册
- 里诺人口管理软件(社区版)完美无
- VS2017 pro 含社区版离线完整包 目前最
- Mapmaker3.0_winQTLCart2.0简单中文教程和举
评论
共有 条评论