Name
PnContainer -- base class for actuators that can contain other actuators
Description
PnContainer is the base class for all actuators that can contain other actuators.
How or when the contained actuators are executed is left to the subclass implimentation.
Details
pn_container_add_actuator ()
Adds actuator to container. position is the zero-based index
in the list of actuators that the newly added actuator should have,
or it can be the value PN_POSITION_HEAD or PN_POSITION_TAIL.
enum PnContainerPosition
typedef enum
{
PN_POSITION_TAIL = -1,
PN_POSITION_HEAD = 0
} PnContainerPosition; |
pn_container_remove_actuator ()
Removes the first occurence of actuator in container's list
of contained actuators.
pn_container_remove_all_actuators ()
void pn_container_remove_all_actuators
(PnContainer *container); |
Removes all actuators from container's list of contained actuators.