Skip to content

Finding ATF Components

Gary edited this page Aug 27, 2014 · 2 revisions

This section discusses how to find existing ATF components that fulfill your application's needs. If a component does not precisely fit, you can modify it.

You can start by looking at Important ATF Components.

You can also look at ATF Code Samples for samples that have capabilities in common with your application to see what components they have implemented. For example, several samples implement a PaletteClient that populates a palette with types, a common application task. ATF Samples Components also lists some useful sample components.

Finding Components in ATF

Every ATF component exports at least one type, so you can find all ATF components by searching for "[Export(typeof("]in Visual Studio. Performing this search on the ATF source in the Frameworks folder yields over 300 items like this:

C:\SonyDev\SVN\wws_sdk_trunk\components\wws_atf\Framework\Atf.Atgi\AtgiResolver.cs(18):    [Export(typeof(AtgiResolver))]
C:\SonyDev\SVN\wws_sdk_trunk\components\wws_atf\Framework\Atf.Atgi\AtgiResolver.cs(19):    [Export(typeof(IInitializable))]
C:\SonyDev\SVN\wws_sdk_trunk\components\wws_atf\Framework\Atf.Atgi\AtgiResolver.cs(20):    [Export(typeof(IResourceResolver))]
C:\SonyDev\SVN\wws_sdk_trunk\components\wws_atf\Framework\Atf.Core\AtfUsageLogger.cs(26):    [Export(typeof(IInitializable))]
C:\SonyDev\SVN\wws_sdk_trunk\components\wws_atf\Framework\Atf.Core\ConsoleOutputWriter.cs(10):    [Export(typeof(IOutputWriter))]

This list provides some information about the component: its file location and the type it exports. The file location gives you the component name and what general category it falls in. You can now search this list for terms related to the capability you are looking for. For instance, you could search for "file", "curve", "label", or "property".

Topics in this section

Clone this wiki locally