IUF-SDK-3
Interventional Ultrasound Library
iufPulse.c File Reference
#include <stdlib.h>
#include <string.h>
#include <iuf.h>
#include <iufPulsePrivate.h>
#include <iufParametricPulsePrivate.h>
#include <iufNonParametricPulsePrivate.h>

Macros

#define TOSTR(x)   #x
 

Functions

iup_t iufPulseCreate (IufPulseType type)
 
int iufPulseDelete (iup_t pulse)
 Deletes a IufPulse object. More...
 
IUF_BOOL iufBasePulseCompare (iup_t reference, iup_t actual)
 
IUF_BOOL iufPulseCompare (iup_t reference, iup_t actual)
 Compare two IufPulse objects with each other. More...
 
IufPulseType iufPulseGetType (iup_t pulse)
 Get the IufPulse type , i.e. IUF_PARAMETRIC_PULSETYPE or IUF_NON_PARAMETRIC_PULSETYPE. More...
 
int iufBasePulseSave (iup_t pulse, hid_t handle)
 
int iufPulseSave (iup_t pulse, hid_t handle)
 
iup_t iufBasePulseLoad (hid_t handle)
 
iup_t iufPulseLoad (hid_t handle)
 

Macro Definition Documentation

◆ TOSTR

#define TOSTR (   x)    #x

Function Documentation

◆ iufBasePulseCompare()

IUF_BOOL iufBasePulseCompare ( iup_t  reference,
iup_t  actual 
)

◆ iufBasePulseLoad()

iup_t iufBasePulseLoad ( hid_t  handle)

◆ iufBasePulseSave()

int iufBasePulseSave ( iup_t  pulse,
hid_t  handle 
)

◆ iufPulseCompare()

IUF_BOOL iufPulseCompare ( iup_t  reference,
iup_t  actual 
)

Compare two IufPulse objects with each other.

Returns
Returns IUF_TRUE when the IufPulse objects are equal and IUF_FALSE otherwise.
Parameters
referenceThe IufPulse to compare to
actualThe IufPulse to compare with

◆ iufPulseCreate()

iup_t iufPulseCreate ( IufPulseType  type)

◆ iufPulseDelete()

int iufPulseDelete ( iup_t  pulse)

Deletes a IufPulse object.

Returns
Returns IUF_E_OK in case of success and IUF_ERR_VALUE in case of an error
Parameters
pulseThe IufPulse of interest.

◆ iufPulseGetType()

IufPulseType iufPulseGetType ( iup_t  pulse)

Get the IufPulse type , i.e. IUF_PARAMETRIC_PULSETYPE or IUF_NON_PARAMETRIC_PULSETYPE.

Returns
Returns the pulse type of pulse.
Parameters
pulseThe IufPulse of interest

◆ iufPulseLoad()

iup_t iufPulseLoad ( hid_t  handle)

◆ iufPulseSave()

int iufPulseSave ( iup_t  pulse,
hid_t  handle 
)