02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VxWorks 5.5<br />

<strong>BSP</strong> Developer’s <strong>Guide</strong><br />

Figure 6-1<br />

The Project Facility Component Hierarchy<br />

Folder<br />

Selection<br />

Component<br />

Folders<br />

Folders provide a directory-type hierarchy for grouping components that are<br />

logically related. The WDB agent subsystems, the ANSI components, and the<br />

POSIX subsystems are components grouped in folders. In the project facility,<br />

folders are represented by the file folder icon, as shown in Figure 6-1.<br />

Folders can contain more than one component. Before Tornado 2.x, component<br />

grouping was usually accomplished by nesting include statements, for example:<br />

#ifdef INCLUDE_ANSI_ALL<br />

#define INCLUDE_ANSI_ASSERT /* ANSI-C assert library functionality */<br />

#define INCLUDE_ANSI_CTYPE /* ANSI-C ctype library functionality */<br />

#define INCLUDE_ANSI_LOCALE /* ANSI-C locale library functionality */<br />

...<br />

#endif<br />

For Tornado 2.x, the ANSI functionality is contained in a folder described in CDL,<br />

as follows:<br />

116

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!