![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This helper class allows plugins to register themselves with the OWS context parser for use when loading a context document.
Static Public Member Functions | |
static void | registerOffering (const char *code, TSLOWCOffering *factory) |
static void | registerDefaultLayerConverter (TSLDataLayerTypeEnum layerType, TSLOWCOfferingLayerConverterFunc converter) |
static void | loadPlugins (const char *directory) |
|
static |
|
static |
This method should be called to set the default offering plugin to use when visualizing an offering through the TSLOWSContextVisualizer. Only one offering can be registered for a single type of MapLink data layer.
|
static |
This method should be called when a plugin is loaded to register it with the core parser. Whenever an offering that matches the given code is encountered, the create() method will be invoked on the given offering object to create a new instance of the correct type.
code | The code string from the OWS context specification that identifies the type of offering being handled. |
factory | A factory object for creating new instances of the offering type when reading context documents. The register takes ownership of the factory object. |