CommandWrapperBad.py 文件源码

python
阅读 44 收藏 0 点赞 0 评论 0

项目:core-framework 作者: RedhawkSDR 项目源码 文件源码
def __init__(self, parent_orb, execparams,  poa):
        # The CORBA name this object is registered under
        self.naming_service_name = execparams['NAME_BINDING']
        # The parent ORB for this object
        self.parent_orb = parent_orb
        # The CORBA portable object adapter
        self.poa = poa
        # The uuid assigned to this instance of the component
        self.uuid = execparams['COMPONENT_IDENTIFIER']
        # The storage of property values that don't have getters/setters
        self.propertySet = {}
        execparams_value = " ".join(["%s %s" % x for x in execparams.items()]) 
        self.propertySet[getId("execparams")] = CF.DataType(id=getId("execparams"), value=omniORB.any.to_any(execparams_value))

        # The PID of the child process
        self._pid = None
        self._log = logging.getLogger(self.naming_service_name)

    ######################################
    # Implement the Resource interface
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号