Shared Samples

Try out source code samples stored in Bitbucket repositories.
Showing results for 
Search instead for 
Do you mean 

Application applTemplate

by Technical Evangelist on ‎09-09-2015 07:11 AM - edited on ‎03-29-2016 11:19 AM by Anonymous (431 Views)

Example Type

 

Application

 

Purpose

 

This example shows how to set up an Application.

 

Files

 

applTemplate.c

 (C source code)

 

applTemplate.eml

 (EML script)

 

applTemplate.dsp

 (Visual C++ Project)(Windows Only)

 

 

Description

 

The applTemplate example demonstrates how to parse an EML, get part values and set the program in the eeml_GetNextCommand  loop. Once the program enters the GetNextCommand loop it waits for some input from the user upon which to act. The template also shows how to set up application-specific Application Functions and use these Application Functions to pass information to/from the EML. The Application is responsible for displaying and undisplaying an EML frame.

 

Command Line Options

 

In order for the Message button work correctly, the user needs to specify the function messagebutton() in the EML button syntax. Refer to the Functions section of the EML Reference Manual for a description of calling functions from within an EML script.

 

Interface

 demo.jpg

 

Output

 

If the user clicks on the message, the interface will display "Greetings There, World".

 

Notes

 

Applications can be run without first starting an IMAGINE Session. The eeml_Init() function will start an IMAGINE Session if it can not connect to an existing session.

 

Source Code

https://bitbucket.org/HGDN/hgdn_erdas_imagine/src/e1ade3b7d148b0f2f1aa6427044dfa4bce6226ee/App_applT...

 

Overview
Contributors