MythTV
master
|
Public Member Functions | |
def | __init__ (self, ostype=-1, func=None, inst=None) |
def | __get__ (self, inst, owner) |
def | __call__ (self, func=None) |
def | do_test (self, *args, **kwargs) |
Public Member Functions inherited from hardwareprofile.os_detect.OrderedType | |
def | __new__ (mcs, name, bases, attrs) |
Public Attributes | |
ostype | |
func | |
inst | |
Private Attributes | |
__doc__ | |
__name__ | |
__module__ | |
Static Private Attributes | |
bool | _requires_func = True |
Additional Inherited Members | |
Static Public Attributes inherited from hardwareprofile.os_detect.OrderedType | |
int | nextorder = 0 |
Definition at line 39 of file os_detect.py.
def hardwareprofile.os_detect.OS.__init__ | ( | self, | |
ostype = -1 , |
|||
func = None , |
|||
inst = None |
|||
) |
Definition at line 41 of file os_detect.py.
def hardwareprofile.os_detect.OS.__get__ | ( | self, | |
inst, | |||
owner | |||
) |
Reimplemented in hardwareprofile.os_detect.OSWithFile.
Definition at line 62 of file os_detect.py.
def hardwareprofile.os_detect.OS.__call__ | ( | self, | |
func = None |
|||
) |
Definition at line 69 of file os_detect.py.
def hardwareprofile.os_detect.OS.do_test | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Reimplemented in hardwareprofile.os_detect.OSFromUname, and hardwareprofile.os_detect.OSWithFile.
Definition at line 94 of file os_detect.py.
Referenced by hardwareprofile.os_detect.OS.__call__().
|
staticprivate |
Definition at line 40 of file os_detect.py.
Referenced by hardwareprofile.os_detect.OS.__call__().
hardwareprofile.os_detect.OS.ostype |
Definition at line 48 of file os_detect.py.
Referenced by hardwareprofile.os_detect.OS.__call__(), hardwareprofile.os_detect.OS.__get__(), and hardwareprofile.os_detect.OSWithFile.__get__().
hardwareprofile.os_detect.OS.func |
Definition at line 54 of file os_detect.py.
Referenced by hardwareprofile.os_detect.OS.__call__(), hardwareprofile.os_detect.OS.__get__(), hardwareprofile.os_detect.OSWithFile.__get__(), hardwareprofile.os_detect.OS.do_test(), and hardwareprofile.os_detect.OSWithFile.do_test().
hardwareprofile.os_detect.OS.inst |
Definition at line 55 of file os_detect.py.
Referenced by hardwareprofile.os_detect.OS.__call__(), hardwareprofile.os_detect.OS.do_test(), and hardwareprofile.os_detect.OSWithFile.do_test().
|
private |
Definition at line 58 of file os_detect.py.
|
private |
Definition at line 59 of file os_detect.py.
|
private |
Definition at line 60 of file os_detect.py.