IUF-SDK-3
Interventional Ultrasound Library
iufFrameList.h
Go to the documentation of this file.
1 #ifndef IUFLIBRARY_IUFHLFRAMELIST_H
2 #define IUFLIBRARY_IUFHLFRAMELIST_H
3 
4 #include <iufFrame.h>
5 
6 // ADT
7 typedef struct IufFrameList IufFrameList;
12 #define IUFL_INVALID (iufl_t) NULL
13 
14 /* \brief Creates a frameList of size \p numFrames
15  * \return Returns the created empty frameList of size \p numFrames or IUFL_INVALID in case of an error.
16  */
18 (
19  int numFrames
20 );
21 
22 /* \brief Deletes a frameList without deleting the frames.
23  * \return Returns #IUF_E_OK when successful or #IUF_ERR_VALUE in case of an invalid argument.
24  */
26 (
27  iufl_t frameList
28 );
29 
30 /* \brief Deletes a frameList including its the frames.
31  * \return Returns #IUF_E_OK when successful or #IUF_ERR_VALUE in case of an error.
32  */
34 (
35  iufl_t frameList
36 );
37 
38 /* \brief Compares two frameLists with each other.
39  * \return Returns #IUF_TRUE when the lists are equal and #IUF_FALSE otherwise.
40  */
42 (
43  iufl_t reference,
44  iufl_t actual
45 );
46 
47 /* \brief Gets the number of #IufFrame objects in the list.
48  * \return Returns the number of frames or -1 in case of an error.
49  */
51 (
52  iufl_t frameList
53 );
54 
55 /* \brief Gets the #IufFrame at \p index in the list.
56  * \return Returns the #IufFrame or NULL in case of an error.
57  */
59 (
60  iufl_t frameList,
61  int index
62 );
63 
64 /* \brief Sets the #IufFrame at \p index in the list.
65  * \return Returns the #IUF_E_OK in case of success and #IUF_ERR_VALUE otherwise.
66  */
68 (
69  iufl_t frameList,
70  iufr_t member,
71  int index
72 );
73 
74 #endif //IUFLIBRARY_IUFHLFRAMELIST_H
iufl_t iufFrameListCreate(int numFrames)
Definition: iufFrameList.c:19
int numFrames
Definition: iufFrameList.c:11
iufr_t iufFrameListGet(iufl_t frameList, int index)
Definition: iufFrameList.c:108
int iufFrameListSet(iufl_t frameList, iufr_t member, int index)
Definition: iufFrameList.c:119
Definition: iufFrame.c:6
Definition: iufFrameList.c:9
int iufFrameListDelete(iufl_t frameList)
Definition: iufFrameList.c:64
int iufFrameListDeepDelete(iufl_t frameList)
Definition: iufFrameList.c:54
IufFrameList * iufl_t
Definition: iufFrameList.h:11
int iufFrameListCompare(iufl_t reference, iufl_t actual)
Definition: iufFrameList.c:79
int iufFrameListGetSize(iufl_t frameList)
Definition: iufFrameList.c:99