Class to handle various functions regarding limit switches.  
 More...
#include <ctre/phoenix/motorcontrol/LimitSwitchType.h>
Class to handle various functions regarding limit switches. 
 
◆ IsRemote()
  
  
      
        
          | static bool ctre::phoenix::motorcontrol::LimitSwitchRoutines::IsRemote  | 
          ( | 
          LimitSwitchSource  | 
          limitSwitchSource | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Checks if a limit switch is one of the remote values (i.e. 
RemoteTalonSRX or RemoteCANifier)
- Parameters
 - 
  
    | limitSwitchSource | limitSwitchSource to check  | 
  
   
- Returns
 - true if it's a remote limit switch source 
 
 
 
◆ Promote()
Takes a RemoteLimitSwitchSource and brings it up to a LimitSwitchSource. 
- Parameters
 - 
  
    | limitSwitchSource | LimitSwitchSource to promote  | 
  
   
- Returns
 - promoted limitSwitchSource 
 
 
 
◆ toString() [1/3]
  
  
      
        
          | static std::string ctre::phoenix::motorcontrol::LimitSwitchRoutines::toString  | 
          ( | 
          LimitSwitchNormal  | 
          value | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
- Parameters
 - 
  
    | value | LimitSwitchNormal to get the string value of  | 
  
   
- Returns
 - string representation of value 
 
 
 
◆ toString() [2/3]
  
  
      
        
          | static std::string ctre::phoenix::motorcontrol::LimitSwitchRoutines::toString  | 
          ( | 
          LimitSwitchSource  | 
          value | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
- Parameters
 - 
  
    | value | LimitSwitchSource to get the string value of  | 
  
   
- Returns
 - string representation of value 
 
 
 
◆ toString() [3/3]
- Parameters
 - 
  
    | value | LimitSwitchSource to get the string value of  | 
  
   
- Returns
 - string representation of value 
 
 
 
The documentation for this class was generated from the following file: