User`s guide
4
Defining Your Adaptor Class
This chapter describes how to define your adaptor class and instantiate an object
of this class. Every adaptor must define a class that is a subclass of the adaptor kit
IAdaptor abstract class. This abstract class defines several virtual functions that
your adaptor class must implement. This chapter gets you started with an adaptor
class implementation by creating a stub implementation. This stub implementation
will enable you to create a video input object with your adaptor using the videoinput
function. In subsequent chapters, you complete adaptor development by fleshing out the
implementations of these virtual functions.
• “Defining Your Adaptor Class” on page 4-2
• “Using IAdaptor Abstract Class Virtual Functions” on page 4-3
• “Creating Stub Implementation of Your Adaptor Class” on page 4-5
• “Identifying Video Sources” on page 4-9
• “Instantiating an Adaptor Object” on page 4-11