RAVE
compositeenginebase.c File Reference

Provides some utilities. More...

#include "compositeenginebase.h"
#include "composite_utils.h"
#include "compositearguments.h"
#include "polarvolume.h"
#include "rave_properties.h"
#include "raveobject_hashtable.h"
#include "raveobject_list.h"
#include "rave_types.h"
#include "rave_debug.h"
#include "rave_alloc.h"
#include "rave_datetime.h"
#include "projection_pipeline.h"
#include <string.h>
#include "rave_field.h"
#include <float.h>
#include <stdio.h>
#include <math.h>

Functions

CompositeEngineObjectBinding_tCompositeEngineObjectBinding_createObjectBinding (CompositeArguments_t *arguments, Cartesian_t *cartesian, int *nobjects, OdimSources_t *sources)
 Creates the binding between radar objects, pipelines, sources and other values that are relevant when creating composites.
 
void CompositeEngineObjectBinding_releaseObjectBinding (CompositeEngineObjectBinding_t **arr, int nobjects)
 Releases the objects and then deallocates the array.
 

Detailed Description

Provides some utilities.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2025-01-31

Function Documentation

◆ CompositeEngineObjectBinding_createObjectBinding()

CompositeEngineObjectBinding_t * CompositeEngineObjectBinding_createObjectBinding ( CompositeArguments_t * arguments,
Cartesian_t * cartesian,
int * nobjects,
OdimSources_t * sources )

Creates the binding between radar objects, pipelines, sources and other values that are relevant when creating composites.

The order of the binding will be the same as the objects in the arguments at time the object is

Parameters
[in]arguments- the arguments (containing the radar objects)
[in]cartesian- the target composite
[out]nobject- the number of items in the returned array
[in]sources- an OPTIONAL odim sources (MAY BE NULL). When creating binding, if possible to identify the odim source it will be attached to the binding.
Returns
the array of bindings or NULL on failure

◆ CompositeEngineObjectBinding_releaseObjectBinding()

void CompositeEngineObjectBinding_releaseObjectBinding ( CompositeEngineObjectBinding_t ** arr,
int nobjects )

Releases the objects and then deallocates the array.

Parameters
[in,out]arr- the array to release
[in]nobjects- number of items in array