Rogue Wave Views Data Access Common Framework > Data Access Basics > Rogue Wave Views Interface
 
Rogue Wave Views Interface
Data Access is an add-on to Rogue Wave® Views so, therefore, the complete functionality of the Rogue Wave Views API is available to users of Data Access. Some Rogue Wave Views classes are essential to an application created in Data Access. These are briefly described in this section. For more information, refer to the Rogue Wave Views documentation.
IlvDisplay
Any application that is constructed using Data Access must have an IlvDisplay object before anything else can be created. This object manages all aspects of the communication with the display system (such as drawing primitives, event handling, and so on).
The following code sample shows how a display object can be created:
// --- Display ---
int main (int argc, char* argv[]) {
...
IlvDisplay* display = new IlvDisplay(“sample”, ““, argc, argv);
...
}
Note that when Rogue Wave Views Studio generates source code for your application it will create an IlvApplication object, instead of creating a display object in this way. This application object then creates the display.

Version 5.7
Copyright © 2013, Rogue Wave Software, Inc. All Rights Reserved.