コード例 #1
0
    def api(self, destfile=None):
        localdef_dest = False
        if destfile == None:
            localdef_dest = True
            destfile = cStringIO.StringIO()

        SandboxResource.api(self, destfile=destfile)
        print >>destfile, '\n'
        Device.api(self, destfile=destfile)

        if localdef_dest:
            pydoc.pager(destfile.getvalue())
            destfile.close()
コード例 #2
0
ファイル: ide.py プロジェクト: a100lesserfaces/framework-core
 def api(self):
     IDESandboxComponent.api(self)
     print
     Device.api(self)
コード例 #3
0
    def __init__(self, *args, **kwargs):
        Device.__init__(self)
        SandboxResource.__init__(self, *args, **kwargs)

        Device._buildAPI(self)
コード例 #4
0
ファイル: local.py プロジェクト: RedhawkSDR/framework-core
 def api(self):
     LocalSandboxComponent.api(self)
     print
     Device.api(self)
コード例 #5
0
ファイル: ide.py プロジェクト: a100lesserfaces/framework-core
 def __init__(self, *args, **kwargs):
     Device.__init__(self)
     IDESandboxComponent.__init__(self, *args, **kwargs)
     Device._buildAPI(self)
コード例 #6
0
 def api(self):
     LocalSandboxComponent.api(self)
     print
     Device.api(self)
コード例 #7
0
    def __init__(self, *args, **kwargs):
        Device.__init__(self)
        LocalSandboxComponent.__init__(self, *args, **kwargs)

        Device._buildAPI(self)
コード例 #8
0
 def api(self):
     SandboxResource.api(self)
     print
     Device.api(self)
コード例 #9
0
ファイル: ide.py プロジェクト: horn545/framework-core
 def api(self):
     IDESandboxComponent.api(self)
     print
     Device.api(self)
コード例 #10
0
 def __init__(self, *args, **kwargs):
     Device.__init__(self)
     IDESandboxComponent.__init__(self, *args, **kwargs)