-
Notifications
You must be signed in to change notification settings - Fork 263
Finding ATF Components
This section discusses how to find existing ATF components that fulfill your application's needs. If a component does not precisely fit your needs, you can modify it.
You can start by looking at Important ATF Components that describes the key ATF components. You can search for text on that page.
You might also find Class Survey useful, because it lists many representative and useful ATF classes, including components, by namespace.
You can download ATF API Reference and search this Reference for key terms. It is also organized by namespace.
ATF Samples Components lists useful components in the samples.
Look at ATF Code Samples for samples that have capabilities in common with your application to see what components they have implemented or import. For example, several samples implement a PaletteClient
that populates a palette with types, a common application task. For the samples that use components (most of them), the MEF type catalog in the Main()
function in Program.cs
lists all the components the sample imports.
For details on samples' programming, see ATF Code Samples Discussions.
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".
- What is MEF: Brief description of MEF with links to more detailed information.
- How MEF is Used in ATF: Examine how ATF is used in sample applications to compose components and how components are decorated.
- Initializing Components: How component initialization is implemented in ATF.
- Using ATF Components: How to use ATF components, discovering what you need to provide in your application.
- Creating MEF Components: How to create components of your own, using the attributes you need.
- Important ATF Components: Description of some key ATF components in functional areas as well as some components in sample applications.
- Finding ATF Components: How to find components you need for your application.
- Details on Selected ATF Components: Provides more details on some ATF components you might want to use in your applications.
- Details on Using Selected ATF Components: Shows exactly how to use certain components.
- Home
- Getting Started
- Features & Benefits
- Requirements & Dependencies
- Gallery
- Technology & Samples
- Adoption
- News
- Release Notes
- ATF Community
- Searching Documentation
- Using Documentation
- Videos
- Tutorials
- How To
- Programmer's Guide
- Reference
- Code Samples
- Documentation Files
© 2014-2015, Sony Computer Entertainment America LLC