{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab6 - | Concrete Template XYZ_Kernel_1#ifndef...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
// /*--------------------------------------------------------*\ // | Concrete Template : XYZ_Kernel_1 // \*--------------------------------------------------------*/ #ifndef CT_TAG_CLOUD_MACHINE_KERNEL_1 #define CT_TAG_CLOUD_MACHINE_KERNEL_1 1 ///------------------------------------------------------------- /// Global Context --------------------------------------------- ///------------------------------------------------------------- #include "AT/Tag_Cloud_Machine/Kernel.h" #include "CT/Partial_Map/Kernel_1.h" ///------------------------------------------------------------- /// Interface -------------------------------------------------- ///------------------------------------------------------------- // In this example, there is one parameter to the abstract template // being implemented, plus three additional components used in the // implementation. The latter three are all declared as concrete // template parameters, with defaults selected by the implementer // whenever possible. In this case, DEF_Kernel_1 has been chosed as a // default implementation (of DEF_Kernel, assuming that's what it // implements), and the only implementation of Representation has been // chosed for the data representation record Rep. A client using this // component MUST provide actual components for all the non-default // parameters, and MAY provide actual components as replacements for // the default parameters. Typically, a client will provide ONLY the // non-default parameters.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}