Malibu Library User's Manual Malibu Library User's Manual
Total Page:16
File Type:pdf, Size:1020Kb
Malibu Library User's Manual Malibu Library User's Manual The Malibu Library User's Manual was prepared by the technical staff of Innovative Integration on December 10, 2013. For further assistance contact: Innovative Integration 2390-A Ward Ave Simi Valley, California 93065 PH: (805) 578-4260 FAX: (805) 578-4225 email: [email protected] Website: www.innovative-dsp.com This document is copyright 2013 by Innovative Integration. All rights are reserved. $/Distributions/Components/Malibu/Documentation/OO_Manual/Mali bu.pdf Rev 1.4 Table of Contents Chapter 1. Introduction..........................................................................................................................10 Real Time Solutions!.............................................................................................................................................................10 Vocabulary.............................................................................................................................................................................10 What is Malibu? ........................................................................................................................................................10 What is Microsoft MSVC?.........................................................................................................................................11 What is Qt?.................................................................................................................................................................11 What is C++ Builder?.................................................................................................................................................11 What kinds of applications are possible with Innovative Integration hardware?.......................................................11 Why do I need to use Malibu with my Baseboard?....................................................................................................12 Finding detailed information on Malibu.....................................................................................................................12 Online Help......................................................................................................................................................................12 Innovative Integration Technical Support........................................................................................................................12 Innovative Integration Web Site......................................................................................................................................13 Typographic Conventions......................................................................................................................................................13 Chapter 2. A Tour of Malibu.................................................................................................................14 Malibu Architecture...............................................................................................................................................................14 High Performance Code...................................................................................................................................................14 Synergistic operation with DSP co-processor boards......................................................................................................14 A Portable Class Library..................................................................................................................................................15 Class Groups In Malibu.........................................................................................................................................................15 Operating System Independence...........................................................................................................................................16 Malibu Namespaces...............................................................................................................................................................17 Interface Classes in Malibu....................................................................................................................................................18 Event Callbacks in Malibu.....................................................................................................................................................19 UI Thread Synchronization..............................................................................................................................................20 Using the Malibu Library......................................................................................................................................................20 Creating a Streaming Application in Visual C++............................................................................................................21 Creating the Malibu Objects.......................................................................................................................................21 Initializing Object Properties and Events...................................................................................................................22 Event Handler Code...................................................................................................................................................23 Loading COFF Files...................................................................................................................................................25 Loading Logic Files....................................................................................................................................................25 Script Files..................................................................................................................................................................26 Chapter 3. Creating Applications using an IDE..................................................................................27 Creating a Malibu Project in Microsoft Visual Studio 7.......................................................................................................27 Enabling Auto-Saving of Projects.........................................................................................................................................27 Creating a Malibu Project......................................................................................................................................................28 Other Configuration Requirements........................................................................................................................................29 Creating a Malibu Project in Microsoft Visual Studio Vc8/Vc9...........................................................................................30 Enabling Auto-Saving of Projects.........................................................................................................................................31 Creating a Malibu Project......................................................................................................................................................31 Other Configuration Requirements........................................................................................................................................33 Creating a Malibu Application using Nokia QtCreator.........................................................................................................34 Install and/or Rebuild Qt Library...........................................................................................................................................34 Creating a Malibu Project in Borland Developer's Studio/Turbo C++..................................................................................38 Enabling Auto-Saving of Projects.........................................................................................................................................38 Malibu Library User's Manual 3 Default Project Options which should be Changed...............................................................................................................39 Creating Projects in Borland C++ Builder 6.0.......................................................................................................................41 Enabling Auto-Saving of Projects.........................................................................................................................................41 Creating a Malibu Project......................................................................................................................................................41 Chapter 4. The Malibu Framework Library.......................................................................................46 Framework Support Classes.................................................................................................................................................46 Thunking..........................................................................................................................................................................46 Chapter 5. The Malibu OS Library......................................................................................................47 Thread Support Classes........................................................................................................................................................47