📄 c-wfc5.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title> C++ Development </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-wfc.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-wfc4.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-smo.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84656">5.5 Wind Foundation Classes</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84657"> </a>The Wind Foundation Classes include three libraries:</p><dl class="margin"><ul class="DashSingle2" type="circle"><li><a name="84658"> </a>VxWorks Wrapper Class library</li></ul><ul class="DashSingle2" type="circle"><li><a name="84659"> </a>Tools.h++ library from Rogue Wave Software</li></ul></dl><dd><p class="Body"><a name="84661"> </a>The VxWorks Wrapper Class library provides a thin C++ interface to several standard VxWorks modules. The Tools.h++ foundation class library from Rogue Wave Software supports a variety of C++ features. </p></dl></dl><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/caution.gif"></td><td><hr><div class="CalloutCell"><a name="85167"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">CAUTION: </font></b></a>In order to prevent dependency conflicts between VxWorks libraries and Rogue Wave libraries, all VxWorks libraries, including the VxWorks Wrapper Class Library, should be included before all Rogue Wave libraries, including the Tools.h++ library.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84671">5.5.1 VxWorks Wrapper Class Library</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="86189"> </a>The classes in this library are called <i class="term">wrapper</i> classes because each class encapsulates, or <i class="term">wraps</i>, the interfaces for some portion of standard VxWorks functionality. Select <b class="symbol_UC">INCLUDE_CPLUS_VXW</b> for inclusion in the project facility VxWorks view to configure this library into VxWorks; see <a href="c-wfc2.html#84436"><i class="title">5.2.4 Configuration Constants</i></a>. </p><dd><p class="Body"><a name="86195"> </a>The VxWorks Wrapper Class library header files reside in the standard VxWorks header file directory, <i class="textVariable">installDir</i><b class="file">/target/h</b>. The classes and their corresponding header files are shown in <a href="c-wfc5.html#86205">Table 5-1</a>. To use one of these classes, include the corresponding header file in the appropriate modules of your application.<p class="table"><h4 class="EntityTitle"><a name="86205"><font face="Helvetica, sans-serif" size="-1" class="sans">Table 5-1: Header Files for VxWorks Wrapper Classes </font></a></h4><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="86209"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Header File</font></b></div></th><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="86211"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Description</font></b></div></th></tr><tr><td colspan="20"><hr class="tablerule2"></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86213"> </a><b class="file">vxwLoadLib.h</b> </div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="86215"> </a>Object module loader and unloader (wraps <b class="library">loadLib</b>, <b class="library">unldLib</b>, <b class="library">moduleLib</b>) </div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86217"> </a><b class="file">vxwLstLib.h</b> </div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="86219"> </a>Linked lists (wraps <b class="library">lstLib</b>) </div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86221"> </a><b class="file">vxwMemPartLib.h</b> </div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="86223"> </a>Memory partitions (wraps <b class="library">memLib</b>) </div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86225"> </a><b class="file">vxwMsgQLib.h</b> </div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="86227"> </a>Message queues (wraps <b class="library">msgQLib</b>) </div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86229"> </a><b class="file">vxwRngLib.h</b> </div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="86231"> </a>Ring buffers (wraps <b class="library">rngLib</b>) </div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86233"> </a><b class="file">vxwSemLib.h</b> </div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="86235"> </a>Semaphores (wraps <b class="library">semLib</b>) </div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86237"> </a><b class="file">vxwSmLib.h</b> </div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="86239"> </a>Shared memory objects (adds support for shared memory semaphores, message queues, and memory partitions) </div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86241"> </a><b class="file">vxwSymLib.h</b> </div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="86243"> </a>Symbol tables (wraps <b class="library">symLib</b>) </div></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86245"> </a><b class="file">vxwTaskLib.h</b> </div></td><td colspan=1 rowspan=1><div class="CellBody"><a name="86247"> </a>Tasks (wraps <b class="library">taskLib</b>, <b class="library">envLib</b>, <b class="library">errnoLib</b>, <b class="library">sigLib</b>, and <b class="library">taskVarLib</b>) </div></td></tr><tr valign="top">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -