001package com.ctre.phoenix.motorcontrol;
002import com.ctre.phoenix.motorcontrol.IMotorController;
003
004/**
005 * Interface for followers
006 */
007public interface IFollower
008{
009        /**
010         * Set the control mode and output value so that this motor controller will
011         * follow another motor controller. Currently supports following Victor SPX
012         * and Talon SRX.
013         *
014         * @param masterToFollow
015         *                                              Motor Controller object to follow.
016         */
017        void follow(IMotorController masterToFollow);
018        /**
019         * When master makes a device, this routine is called to signal the update.
020         */
021        void valueUpdated();
022}