ArActionGroup Class Reference

#include <ArActionGroup.h>

Inheritance diagram for ArActionGroup:

ArActionGroupColorFollow ArActionGroupInput ArActionGroupRatioDrive ArActionGroupRatioDriveUnsafe ArActionGroupStop ArActionGroupTeleop ArActionGroupUnguardedTeleop ArActionGroupWander List of all members.

Detailed Description

Group a set of ArAction objects together.

This class is used to collect a group of related ArActions together, and easily turn them on and off in aggregate. The group list may also be retrieved for performing any other operation you wish (e.g. to delete or get information about them.)

See also:
actions overview

ArAction

actionGroupExample::cpp


Public Member Functions

virtual void activate (void)
 Activates all the actions in this group.
virtual void activateExclusive (void)
 Activates all the actions in this group and deactivates all others.
virtual void addAction (ArAction *action, int priority)
 Adds an action to this group's robot, and associates the action with this group.
 ArActionGroup (ArRobot *robot)
 Constructor.
virtual void deactivate (void)
 Deactivates all the actions in this group.
virtual void deleteActions (void)
 Delets all the actions in this group (doesn't delete them right now).
virtual std::list< ArAction * > * getActionList (void)
 Gets the action list (use this to delete actions after doing removeActions).
virtual void remAction (ArAction *action)
 Removes the action from this group's robot and dissasociates it from this group.
virtual void removeActions (void)
 Removes all the actions in this group from the robot.
virtual ~ArActionGroup ()
 Destructor, it also deletes the actions in its group.

Protected Attributes

std::list< ArAction * > myActions
ArRobotmyRobot


The documentation for this class was generated from the following file:
Generated on Thu Aug 6 09:39:34 2009 for Aria by  doxygen 1.5.1