Enabling Runtime Access to the Object Model
Dynamic view services let you define in dynamic view type specification files how server objects types are mapped to representation object types. These files can be loaded and interpreted by the server when starting or at any moment during its execution.
To interpret dynamic view types, the server —actually, the server view interpreter—must access the server object model at runtime. For this purpose, the server object model is declared to a server model interpreter supplied in the libmvserver library by means of macros that are added to both the object model header and source files (.h and .cpp files). These macros create in the server model interpreter a “runtime type ” for each C++ class defined in the server model. The view interpreter uses these runtime types first to validate the dynamic view type specifications, then to access the data and function members of the server objects to which the views have subscribed.
Version 5.7
Copyright © 2013, Rogue Wave Software, Inc. All Rights Reserved.