Platform SDK: Broadcast Architecture |
Broadcast Architecture provides a sample loader framework that you can use to quickly develop a custom loader. This sample loader, Load.cpp, implements a class, CLoadApp, that contains all of the functionality of a Guide database loader. The sample demonstrates the use of the Guide data objects to create a new show and schedule it. The Guide data objects provide a programmatic interface to the data in the Guide database, using which your application can easily create records, delete records, retrieve field values, and set field values.
To make your own loader based on the sample, all you need to do is modify the CLoadApp::Handle method in the sample to load your data into the Guide database using the Guide data objects.
Even if you do not use the provided loader framework, it is recommended that you use the Guide data objects. These objects are fully tested and debugged and save you from having to reimplement their functionality.
For further information on writing a custom loader, see Writing a Custom Guide Database Loader.