{"id":1707,"date":"2017-03-22T09:45:38","date_gmt":"2017-03-22T01:45:38","guid":{"rendered":"https:\/\/drho.club\/?p=1707"},"modified":"2017-03-22T09:45:38","modified_gmt":"2017-03-22T01:45:38","slug":"dds-application-generator","status":"publish","type":"post","link":"https:\/\/104.es\/index.php\/2017\/03\/22\/dds-application-generator\/","title":{"rendered":"[DDS]\u4f7f\u7528DDS Application Generator\u958b\u59cb\u958b\u767cDDS\u61c9\u7528\u7a0b\u5f0f"},"content":{"rendered":"<p>\u5927\u90e8\u4efd\u7684DDS\u521d\u5b78\u8005\u5728\u5b89\u88dd\u4e86OpenSplice\u4e14\u53ef\u4ee5\u9806\u5229\u57f7\u884c\u7bc4\u4f8b\u7a0b\u5f0f\u4e4b\u5f8c\uff0c\u7576\u8981\u8457\u624b\u958b\u59cb\u7de8\u8f2fDDS\u61c9\u7528\u7a0b\u5f0f\u6642\u5f80\u5f80\u6703\u53d7\u9650\u5236\u65bcMakefile\u7684\u7de8\u5beb\u800c\u6709\u8a31\u591a\u7684\u56f0\u64fe\uff0c\u70ba\u4e86\u8b93\u5c0d\u65bcLinux\u7a0b\u5f0f\u958b\u767c\u4e0d\u592a\u719f\u6089\u7684\u521d\u5b78\u8005\u53ef\u4ee5\u544a\u5225\u9019\u4e9b\u7463\u4e8b\uff0c\u76f4\u63a5\u958b\u59cb\u958b\u767c\u81ea\u5df1\u7684DDS\u61c9\u7528\u7a0b\u5f0f\uff0c\u7b46\u8005\u7279\u5225\u958b\u767c\u4e86\u4e00\u500bDDS\u61c9\u7528\u7a0b\u5f0f\u7522\u751f\u5668\u4f9b\u521d\u5b78\u8005\u99ac\u4e0a\u4e0a\u624b\u4f7f\u7528\u3002<\/p>\n<p>\u9019\u500b\u7522\u751f\u5668\u662f\u4ee5\u7bc4\u4f8b\u7a0b\u5f0f\u4e2d\u7684HelloWorld\u70ba\u57fa\u790e\uff0c\u5728Ubuntu 14.04\u4e4b\u4e0b\u5148\u5b89\u88dd\u597dgit\u7248\u63a7\u7cfb\u7d71\uff0c\u7136\u5f8c\u5c31\u53ef\u4ee5\u958b\u59cb\u4f60\u7684DDS\u958b\u767c\u4f5c\u696d\u3002\u6b65\u9a5f\u5982\u4e0b\uff08\u5047\u8a2d\u662f\u4f7f\u7528root\u6b0a\u9650\uff09\uff1a<\/p>\n<p>[code]<br \/>\n# git clone https:\/\/hophd@bitbucket.org\/hophd\/ddsappgen.git &lt;your_project_directory&gt;<br \/>\n# cd &lt;your_project_directory&gt;<br \/>\n# touch COMMUNITY (\u5982\u679c\u662f\u6b63\u5f0f\u7248\u5247\u4e0d\u9700\u52a0\u4e0a\u6b64\u6307\u4ee4)<br \/>\n# vi LogData.idl (\u6b64\u70ba\u7bc4\u4f8bIDL\uff0c\u5176\u4e2dLog\u53ef\u4ee5\u66f4\u6539\u70ba\u4f60\u7684projet\u540d\u7a31)<br \/>\n# .\/ddsappgen.py Log (Log\u70ba\u4f60\u7684\u7bc4\u4f8b\u540d\u7a31\uff0c\u9700\u548c\u524d\u4e00\u6b65\u9a5f\u4e00\u81f4\uff0c\u4ee5\u4e0b\u985e\u63a8)<br \/>\n# cd Log\/standalone<br \/>\n# make<br \/>\n[\/code]<\/p>\n<p>\u5728\u524d\u9762\u7684\u6b65\u9a5f\u9806\u5229\u5b8c\u6210\u4e4b\u5f8c\uff0c\u5c31\u53ef\u4ee5\u770b\u5230\u4e00\u500b\u53eb\u505aLog\u7684\u8cc7\u6599\u593e\uff0c\u800c\u5728\u5176\u4e0b\u7684idl\u76ee\u9304\u5b58\u653e\u7684\u662f\u53ef\u4ee5\u7de8\u8f2f\u7684IDL\u6a94\u6848\uff0c\u800csrc\u4e4b\u4e0b\u5247\u662f\u653e\u7f6e\u4e3b\u7a0b\u5f0f\uff0cstandalone\u5e95\u4e0b\u662f\u7528\u4f86make\u7a0b\u57f7\u884c\u61c9\u7528\u7a0b\u5f0f\u7684\u5730\u65b9\u3002<\/p>\n<p>\u4e5f\u5c31\u662f\u8aaa\uff0c\u4e4b\u5f8c\u4f60\u53ef\u4ee5\u4fee\u6539LogData.ild\u4e2d\u7684\u8cc7\u6599\u7d50\u69cb\uff0c\u4f46\u662f\u6a94\u6848\u540d\u7a31\u53ef\u5225\u6539\u3002\u800c\u5927\u90e8\u4efd\u7684\u5de5\u4f5c\uff0c\u90fd\u662f\u5728\u7de8\u5bebsrc\u76ee\u9304\u4e0b\u7684\u90a3\u5169\u500bpub\u548csub\u7684\u61c9\u7528\u7a0b\u5f0f\u6a94\u6848\u3002\u4ee5\u4e0b\u662f\u64cd\u4f5c\u904e\u7a0b\u7684\u5f71\u7247\uff1a<\/p>\n<p><iframe loading=\"lazy\" title=\"DDS Application Generator\u4f7f\u7528\u5c55\u793a\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/DAqlJeZOR6E?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u90e8\u4efd\u7684DDS\u521d\u5b78\u8005\u5728\u5b89\u88dd\u4e86OpenSplice\u4e14\u53ef\u4ee5\u9806\u5229\u57f7\u884c\u7bc4\u4f8b\u7a0b\u5f0f\u4e4b\u5f8c\uff0c\u7576\u8981\u8457\u624b\u958b\u59cb\u7de8\u8f2fDDS\u61c9\u7528\u7a0b\u5f0f\u6642\u5f80\u5f80\u6703\u53d7\u9650\u5236\u65bcMakefile\u7684\u7de8\u5beb\u800c\u6709\u8a31\u591a\u7684\u56f0\u64fe\uff0c\u70ba\u4e86\u8b93\u5c0d\u65bcLinux\u7a0b\u5f0f\u958b\u767c\u4e0d\u592a\u719f\u6089\u7684\u521d\u5b78\u8005\u53ef\u4ee5\u544a\u5225\u9019\u4e9b\u7463\u4e8b\uff0c\u76f4\u63a5\u958b\u59cb\u958b\u767c\u81ea\u5df1\u7684DDS\u61c9\u7528\u7a0b\u5f0f\uff0c\u7b46\u8005\u7279\u5225\u958b\u767c\u4e86\u4e00\u500bDDS\u61c9\u7528\u7a0b\u5f0f\u7522\u751f\u5668\u4f9b\u521d\u5b78\u8005\u99ac\u4e0a\u4e0a\u624b\u4f7f\u7528\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[96],"tags":[123,153],"class_list":["post-1707","post","type-post","status-publish","format-standard","hentry","category-dds","tag-dds","tag-opensplice"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/1707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/comments?post=1707"}],"version-history":[{"count":0,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/1707\/revisions"}],"wp:attachment":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/media?parent=1707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/categories?post=1707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/tags?post=1707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}