ManagedCodeFrameworkClientCPlusPlus
NOTE: This sample project will not build with the Intel Compiler.
Description
Provides an example of how to use the RTX64 Framework from C++ to change the product's configuration.
Programs
ManagedCodeFrameworkClientCSharp project:
- This project defines the class ManagedCodeFrameworkClientCPlusPlus:Program in the file
Program.cpp
. That class has a single method, Main, which does all the work. - The Main method begins by obtaining a reference to the singleton instance of class IntervalZero.RTX64.Config.Subsystem, which is used to configure the RTX64 real-time Subsystem. Next, it outputs the configured HAL Timer Period, the minimum size for the external MSpace, and whether or not the Subsystem allocates memory from Windows or from local memory.
- Next, the Main method obtains a reference to the singleton instance of class IntervalZero.RTX64.Config.Product, which is used to obtain information about the RTX64 product installation. It uses properties on the Product singleton to display the product version and build number. Note that these properties are read-only.
APIs Referenced
RTX64 Framework Class |
Properties Used |
HALTimerPeriod |
|
IntervalZero.RTX64.Config.Product |
Version BuildNumber |