feature-h.md 2.4 KB
Newer Older
W
wenjun 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
# feature.h<a name="ZH-CN_TOPIC_0000001054595093"></a>

## **Overview**<a name="section705740805191848"></a>

**Related Modules:**

[Samgr](Samgr.md)

**Description:**

Defines the base class of a feature. 

This class is used to develop service features. It provides functions for the feature lifecycle of a service. 

**Since:**

1.0

**Version:**

1.0

## **Summary**<a name="section1257874734191848"></a>

## Data Structures<a name="nested-classes"></a>

<a name="table130538906191848"></a>
<table><thead align="left"><tr id="row1383258689191848"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p1484158451191848"><a name="p1484158451191848"></a><a name="p1484158451191848"></a>Data Structure Name</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p2067934937191848"><a name="p2067934937191848"></a><a name="p2067934937191848"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row2008303694191848"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p229058552191848"><a name="p229058552191848"></a><a name="p229058552191848"></a><a href="Feature.md">Feature</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1286986416191848"><a name="p1286986416191848"></a><a name="p1286986416191848"></a>Defines the base class of a feature. </p>
</td>
</tr>
</tbody>
</table>

## Macros<a name="define-members"></a>

<a name="table2020904004191848"></a>
<table><thead align="left"><tr id="row173275647191848"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p1078152486191848"><a name="p1078152486191848"></a><a name="p1078152486191848"></a>Macro Name and Value</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p315906278191848"><a name="p315906278191848"></a><a name="p315906278191848"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row297842718191848"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1237363542191848"><a name="p1237363542191848"></a><a name="p1237363542191848"></a><a href="Samgr.md#ga63c2f681bde297cb28a9a300a462f3f4">INHERIT_FEATURE</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1798406794191848"><a name="p1798406794191848"></a><a name="p1798406794191848"></a>Inherits from the macro of the feature class. </p>
</td>
</tr>
</tbody>
</table>