10.07.2015 Views

Converting a NEXRAD Rainfall Map into a Flood Inundation Map by ...

Converting a NEXRAD Rainfall Map into a Flood Inundation Map by ...

Converting a NEXRAD Rainfall Map into a Flood Inundation Map by ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 4.28 RASCaller ModelBuilder ComponentThe execution of HEC-RAS is done through the HEC-RAS object librarythat exposes some execution and writing functionalities. The ras.exe applicationfor HEC-RAS version 3.1.1 and above is packaged as an ActiveX EXEcomponent that provides reusable code in the form of objects. This applicationformat for HEC-RAS allows external applications (clients), like the RASCallerprocess in <strong>Map</strong>2<strong>Map</strong>, to instantiate objects and calls their properties and methods.The objects are designed to divide and make available the main functionalities ofthe component (the HEC-RAS model in this case).An ActiveX EXE is a special type of COM component (ComponentObject Model is a protocol that enables software components to communicate toeach other) that can be linked to other components to build applications. One ofthe best known examples of COM Object Linking and Embedding (OLE)technology implementation is the ability of Word documents to dynamically linkto data in Excel spreadsheets. An ActiveX EXE is both an EXE file (it is loaded<strong>into</strong> its own address space and given its own process and threads) and it is alsodesigned to be an OLE automation server (an ActiveX DLL). As with anyActiveX DLL, it exposes interfaces (classes) to be used <strong>by</strong> a client application(the RASCaller in <strong>Map</strong>2<strong>Map</strong> in this case).146

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!