Advanced Gtk+ Sequencer Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <ags/audio/ags_recycling_container.h> struct AgsRecyclingContainer; struct AgsRecyclingContainerClass; AgsRecyclingContainer * ags_recycling_container_add (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);void ags_recycling_container_add_child (AgsRecyclingContainer *parent
,AgsRecyclingContainer *child
);gint ags_recycling_container_find (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);gint ags_recycling_container_find_child (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);gint ags_recycling_container_find_parent (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);GList * ags_recycling_container_get_child_recall_id (AgsRecyclingContainer *recycling_container
); AgsRecyclingContainer * ags_recycling_container_get_toplevel (AgsRecyclingContainer *recycling_container
); AgsRecyclingContainer * ags_recycling_container_insert (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
,); AgsRecyclingContainer * ags_recycling_container_new (
gint position); AgsRecyclingContainer * ags_recycling_container_remove (
gint lengthAgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);void ags_recycling_container_remove_child (AgsRecyclingContainer *parent
,AgsRecyclingContainer *child
);void ags_recycling_container_replace (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
,); AgsRecyclingContainer * ags_recycling_container_reset_recycling (
gint positionAgsRecyclingContainer *recycling_container
,AgsRecycling *old_first_recycling
,AgsRecycling *old_last_recycling
,AgsRecycling *new_first_recycling
,AgsRecycling *new_last_recycling
);
AgsRecyclingContainer organizes AgsRecycling objects as dynamic context within nested tree.
struct AgsRecyclingContainer { GObject object; GObject *recall_id; AgsRecycling **recycling; guint64 length; AgsRecyclingContainer *parent; GList *children; };
AgsRecyclingContainer * ags_recycling_container_add (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);
Adds a recycling to a container.
|
the AgsRecyclingContainer |
|
the AgsRecycling to add |
Returns : |
the new recycling container |
Since 0.4
void ags_recycling_container_add_child (AgsRecyclingContainer *parent
,AgsRecyclingContainer *child
);
Adds a recycling container as child.
|
the parental AgsRecyclingContainer |
|
the child |
Since 0.4
gint ags_recycling_container_find (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);
Find position of recycling within array.
|
the AgsRecyclingContainer |
|
the AgsRecycling to look up |
Returns : |
recycling array index |
Since 0.4
gint ags_recycling_container_find_child (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);
Find position of recycling within arrays.
|
the AgsRecyclingContainer |
|
the AgsRecycling to look up |
Returns : |
recycling array index |
Since 0.4
gint ags_recycling_container_find_parent (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);
Find position of recycling within array.
|
the AgsRecyclingContainer |
|
the AgsRecycling to look up |
Returns : |
recycling array index |
Since 0.4
GList * ags_recycling_container_get_child_recall_id (AgsRecyclingContainer *recycling_container
);
Retrieve all child recall ids.
|
the AgsRecyclingContainer |
Returns : |
the AgsRecallID as |
Since 0.4
AgsRecyclingContainer * ags_recycling_container_get_toplevel
(AgsRecyclingContainer *recycling_container
);
Iterates the tree up to highest level.
|
the AgsRecyclingContainer |
Returns : |
the topmost recycling container |
Since 0.4
AgsRecyclingContainer * ags_recycling_container_insert (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
,);
gint position
Inserts a recycling to a container.
|
the AgsRecyclingContainer |
|
the AgsRecycling to insert |
|
the index to insert at |
Returns : |
the new recycling container |
Since 0.4
AgsRecyclingContainer * ags_recycling_container_new (gint length
);
Creates a AgsRecyclingContainer, boundaries are specified by length
|
array dimension of context |
Returns : |
a new AgsRecyclingContainer |
Since 0.4
AgsRecyclingContainer * ags_recycling_container_remove (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
);
Removes a recycling in a container.
|
the AgsRecyclingContainer |
|
the AgsRecycling to remove |
Returns : |
the new recycling container |
Since 0.4
void ags_recycling_container_remove_child (AgsRecyclingContainer *parent
,AgsRecyclingContainer *child
);
Removes a recycling container of its parent.
|
the AgsRecyclingContainer |
|
the child to remove |
Since 0.4
void ags_recycling_container_replace (AgsRecyclingContainer *recycling_container
,AgsRecycling *recycling
,);
gint position
Replaces one recycling entry in a container.
|
the AgsRecyclingContainer |
|
the AgsRecycling to add |
|
the index of recycling
|
Returns : |
the new recycling container |
Since 0.4
AgsRecyclingContainer * ags_recycling_container_reset_recycling (AgsRecyclingContainer *recycling_container
,AgsRecycling *old_first_recycling
,AgsRecycling *old_last_recycling
,AgsRecycling *new_first_recycling
,AgsRecycling *new_last_recycling
);
Modify recycling of container.
|
the AgsRecyclingContainer |
|
the first recycling to replace |
|
the last recycling to replace |
|
the first recycling to insert |
|
the last recycling to insert |
Since 0.4