配置( configuration)
發(fā)布時間:2012/4/2 14:41:27 訪問次數(shù):645
配置通過連接一些列其他組件來實現(xiàn)一個W528S12-2804 組件的規(guī)范。配置的語法如下:
configuration-implementation:
implementation { component-list印t connection-list }
connection-list中列出用來構(gòu)成配置的組件,connection-list指出這些組件是如何相連接以及如何與配置規(guī)范連接在一起。這里把配置規(guī)范中的規(guī)范元素稱為外部( extemal)規(guī)范元素,而把在配置的組件中的規(guī)范元素稱為內(nèi)部(internal)規(guī)范元素。
配置中包含的組件列表
connection-list指出用來構(gòu)建這一個配置的所有組件。這些組件可以在配置中重命名,這就既可以避免與配置規(guī)范元素的名字發(fā)生沖突,又可以簡化配置所使用組件的修改以避免修改連接( wirmg)中的內(nèi)容。為組件所選擇的名字屬于實現(xiàn)作用域。
component-list:
components
component-list components
components:
components component-line ;
component-line:
renamed-identifier
component-line , renamed-identifier
renamed-identifier:
identifier
identifier as identifier
如果兩個組件使用as而導(dǎo)致重名,則會產(chǎn)生編譯時錯誤(如components X、Y as X)。一個組件始終只能有一個實例:如果在兩個不同的配置都使用了組件K,或者在同一配置中使用兩次組件K,在程序中仍然只有K(及它的變量)的一個實例。
configuration-implementation:
implementation { component-list印t connection-list }
connection-list中列出用來構(gòu)成配置的組件,connection-list指出這些組件是如何相連接以及如何與配置規(guī)范連接在一起。這里把配置規(guī)范中的規(guī)范元素稱為外部( extemal)規(guī)范元素,而把在配置的組件中的規(guī)范元素稱為內(nèi)部(internal)規(guī)范元素。
配置中包含的組件列表
connection-list指出用來構(gòu)建這一個配置的所有組件。這些組件可以在配置中重命名,這就既可以避免與配置規(guī)范元素的名字發(fā)生沖突,又可以簡化配置所使用組件的修改以避免修改連接( wirmg)中的內(nèi)容。為組件所選擇的名字屬于實現(xiàn)作用域。
component-list:
components
component-list components
components:
components component-line ;
component-line:
renamed-identifier
component-line , renamed-identifier
renamed-identifier:
identifier
identifier as identifier
如果兩個組件使用as而導(dǎo)致重名,則會產(chǎn)生編譯時錯誤(如components X、Y as X)。一個組件始終只能有一個實例:如果在兩個不同的配置都使用了組件K,或者在同一配置中使用兩次組件K,在程序中仍然只有K(及它的變量)的一個實例。
配置通過連接一些列其他組件來實現(xiàn)一個W528S12-2804 組件的規(guī)范。配置的語法如下:
configuration-implementation:
implementation { component-list印t connection-list }
connection-list中列出用來構(gòu)成配置的組件,connection-list指出這些組件是如何相連接以及如何與配置規(guī)范連接在一起。這里把配置規(guī)范中的規(guī)范元素稱為外部( extemal)規(guī)范元素,而把在配置的組件中的規(guī)范元素稱為內(nèi)部(internal)規(guī)范元素。
配置中包含的組件列表
connection-list指出用來構(gòu)建這一個配置的所有組件。這些組件可以在配置中重命名,這就既可以避免與配置規(guī)范元素的名字發(fā)生沖突,又可以簡化配置所使用組件的修改以避免修改連接( wirmg)中的內(nèi)容。為組件所選擇的名字屬于實現(xiàn)作用域。
component-list:
components
component-list components
components:
components component-line ;
component-line:
renamed-identifier
component-line , renamed-identifier
renamed-identifier:
identifier
identifier as identifier
如果兩個組件使用as而導(dǎo)致重名,則會產(chǎn)生編譯時錯誤(如components X、Y as X)。一個組件始終只能有一個實例:如果在兩個不同的配置都使用了組件K,或者在同一配置中使用兩次組件K,在程序中仍然只有K(及它的變量)的一個實例。
configuration-implementation:
implementation { component-list印t connection-list }
connection-list中列出用來構(gòu)成配置的組件,connection-list指出這些組件是如何相連接以及如何與配置規(guī)范連接在一起。這里把配置規(guī)范中的規(guī)范元素稱為外部( extemal)規(guī)范元素,而把在配置的組件中的規(guī)范元素稱為內(nèi)部(internal)規(guī)范元素。
配置中包含的組件列表
connection-list指出用來構(gòu)建這一個配置的所有組件。這些組件可以在配置中重命名,這就既可以避免與配置規(guī)范元素的名字發(fā)生沖突,又可以簡化配置所使用組件的修改以避免修改連接( wirmg)中的內(nèi)容。為組件所選擇的名字屬于實現(xiàn)作用域。
component-list:
components
component-list components
components:
components component-line ;
component-line:
renamed-identifier
component-line , renamed-identifier
renamed-identifier:
identifier
identifier as identifier
如果兩個組件使用as而導(dǎo)致重名,則會產(chǎn)生編譯時錯誤(如components X、Y as X)。一個組件始終只能有一個實例:如果在兩個不同的配置都使用了組件K,或者在同一配置中使用兩次組件K,在程序中仍然只有K(及它的變量)的一個實例。
熱門點擊
- 典型的層次型拓撲控制方法
- 具有高通濾波器特性的放大器電路
- TinyOS操作系統(tǒng)
- nesC語言基礎(chǔ)
- 采用內(nèi)置交流激勵的AD7195的電子秤系統(tǒng)
- TinyOS安裝測試和試運行編譯程序功能
- TinyOS的組件模型
- Amorphous定位方法
- 網(wǎng)外集中式存儲方案
- SOS簡介
推薦技術(shù)資料
- 頻譜儀的解調(diào)功能
- 現(xiàn)代頻譜儀在跟蹤源模式下也可以使用Maker和△Mak... [詳細]
- MOSFET 電感單片降壓開關(guān)模式變換器優(yōu)勢
- SiC MOSFET 和 IG
- 新型 電隔離無芯線性霍爾效應(yīng)電
- 業(yè)界超小絕對位置編碼器技術(shù)參數(shù)設(shè)計
- 高帶寬、更高分辨率磁角度傳感技術(shù)應(yīng)用探究
- MagAlpha 角度位置傳感
- 多媒體協(xié)處理器SM501在嵌入式系統(tǒng)中的應(yīng)用
- 基于IEEE802.11b的EPA溫度變送器
- QUICCEngine新引擎推動IP網(wǎng)絡(luò)革新
- SoC面世八年后的產(chǎn)業(yè)機遇
- MPC8xx系列處理器的嵌入式系統(tǒng)電源設(shè)計
- dsPIC及其在交流變頻調(diào)速中的應(yīng)用研究