02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

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.

Catalogs<br />

Catalogs<br />

The Catalogs namespace provides modules and interfaces that represent catalogs of<br />

types of data and the services to support them. Currently the only catalog in the<br />

namespace is for log channels. A log channel is a standard abbreviation used to designate<br />

a well log of a particular type from a particular entity.<br />

LogChannelCatalogModuleClass<br />

The LogChannelCatalogModule class is a module that manages the log channels. It<br />

implements the IModule interface. It may be loaded by the product family automatically<br />

or may need to be added to the application configuration file. In either case, the lifecycle<br />

of the module is handled by <strong>Ocean</strong> Core. The class is defined as:<br />

public class LogChannelCatalogModule : IModule<br />

{<br />

public void Initialize ();<br />

public void Integrate ();<br />

public void IntegratePresentation ();<br />

public void Disintegrate ();<br />

public void Dispose ();<br />

}<br />

The module definition to be included in the application configuration file for the log<br />

channel catalog is:<br />

<br />

<br />

ILogChannel-Catalog Interface<br />

The ILogChannelCatalog interface is a service to look up log channels based on<br />

channel names or unit measurements. The object reference to the service is accessed by:<br />

ILogChannelCatalog logChannelCat;<br />

logChannelCat = CoreSystem.GetService();<br />

4-228 <strong>Ocean</strong> Application Development Framework 2008.1<br />

<strong>Schlumberger</strong> Private

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

Saved successfully!

Ooh no, something went wrong!