frc::SendableBase::SendableBase |
( |
bool |
addLiveWindow = true | ) |
|
|
explicit |
Creates an instance of the sensor base.
- Parameters
-
void frc::SendableBase::AddChild |
( |
std::shared_ptr< Sendable > |
child | ) |
|
|
protected |
Add a child component.
- Parameters
-
void frc::SendableBase::AddChild |
( |
void * |
child | ) |
|
|
protected |
Add a child component.
- Parameters
-
std::string frc::SendableBase::GetName |
( |
| ) |
const |
|
finalvirtual |
std::string frc::SendableBase::GetSubsystem |
( |
| ) |
const |
|
finalvirtual |
void frc::SendableBase::SetName |
( |
const wpi::Twine & |
name | ) |
|
|
finalvirtual |
void frc::SendableBase::SetName |
( |
const wpi::Twine & |
moduleType, |
|
|
int |
channel |
|
) |
| |
|
protected |
Sets the name of the sensor with a channel number.
- Parameters
-
moduleType | A string that defines the module name in the label for the value |
channel | The channel number the device is plugged into |
void frc::SendableBase::SetName |
( |
const wpi::Twine & |
moduleType, |
|
|
int |
moduleNumber, |
|
|
int |
channel |
|
) |
| |
|
protected |
Sets the name of the sensor with a module and channel number.
- Parameters
-
moduleType | A string that defines the module name in the label for the value |
moduleNumber | The number of the particular module type |
channel | The channel number the device is plugged into (usually PWM) |
void frc::SendableBase::SetSubsystem |
( |
const wpi::Twine & |
subsystem | ) |
|
|
finalvirtual |
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/WPILib/WPILib - Development/arm/wpilibc/src/main/native/include/frc/smartdashboard/SendableBase.h