Skip to main content Link Menu Expand (external link) Document Search Copy Copied

std::string getName()

Gets the name of the auton.

Returns

The name of the auton.

Example

Auton skillsAuton = "Skills" + [](){
    //Auton code here
};
void autonomous(){
    std::cout << skillsAuton.getName() << std::endl;
    //Prints "Skills"
}