2017-01-03 14:40:31 -08:00
|
|
|
/*----------------------------------------------------------------------------*/
|
2018-01-02 09:20:21 -08:00
|
|
|
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
|
2017-01-03 14:40:31 -08:00
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
2018-07-20 00:03:45 -07:00
|
|
|
#include "frc/smartdashboard/SendableChooserBase.h"
|
2017-01-03 14:40:31 -08:00
|
|
|
|
|
|
|
|
using namespace frc;
|
|
|
|
|
|
2018-07-28 10:43:47 -07:00
|
|
|
std::atomic_int SendableChooserBase::s_instances{0};
|
|
|
|
|
|
|
|
|
|
SendableChooserBase::SendableChooserBase()
|
|
|
|
|
: SendableBase(false), m_instance{s_instances++} {}
|