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 June 28, 2011. 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 2011 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 wxWidgets?...................................................................................................................................................10 What is C++ Builder?.................................................................................................................................................11 What is Microsoft MSVC?.........................................................................................................................................11 What is DialogBlocks?...............................................................................................................................................11 What kinds of applications are possible with Innovative Integration hardware?.......................................................11 Why do I need to use Malibu with my Baseboard?....................................................................................................11 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....................................................................................................................................................17 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 Projects in Borland C++ Builder 6.0.......................................................................................................................27 Enabling Auto-Saving of Projects.........................................................................................................................................27 Creating a Malibu Project......................................................................................................................................................28 Creating a Malibu Project in Borland Developer's Studio/Turbo C++..................................................................................31 Enabling Auto-Saving of Projects.........................................................................................................................................31 Default Project Options which should be Changed...............................................................................................................32 Creating a Malibu Project in Microsoft Visual Studio 7.......................................................................................................34 Enabling Auto-Saving of Projects.........................................................................................................................................34 Creating a Malibu Project......................................................................................................................................................34 Other Configuration Requirements........................................................................................................................................36 Malibu Library User's Manual 3 Creating a Malibu Project in Microsoft Visual Studio Vc8/Vc9...........................................................................................37 Enabling Auto-Saving of Projects.........................................................................................................................................37 Creating a Malibu Project......................................................................................................................................................38 Other Configuration Requirements........................................................................................................................................40 Creating a Malibu Application using Anthemion DialogBlocks...........................................................................................41 Build wxWidgets Library......................................................................................................................................................41 Creating a Malibu Application using Nokia QtCreator.........................................................................................................45 Install and/or Rebuild Qt Library...........................................................................................................................................45 Chapter 4. The Malibu Framework Library.......................................................................................50 Framework Support Classes.................................................................................................................................................50