SendableBase::SendableBase |
( |
bool |
addLiveWindow = true | ) |
|
|
explicit |
Creates an instance of the sensor base.
- Parameters
-
void SendableBase::AddChild |
( |
std::shared_ptr< Sendable > |
child | ) |
|
|
protected |
Add a child component.
- Parameters
-
void SendableBase::AddChild |
( |
void * |
child | ) |
|
|
protected |
Add a child component.
- Parameters
-
std::string SendableBase::GetName |
( |
| ) |
const |
|
finalvirtual |
std::string SendableBase::GetSubsystem |
( |
| ) |
const |
|
finalvirtual |
void SendableBase::SetName |
( |
const wpi::Twine & |
name | ) |
|
|
finalvirtual |
void 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 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 SendableBase::SetSubsystem |
( |
const wpi::Twine & |
subsystem | ) |
|
|
finalvirtual |
The documentation for this class was generated from the following files:
- build/cppSource/wpilibc/headers/SmartDashboard/SendableBase.h
- build/cppSource/wpilibc/sources/SmartDashboard/SendableBase.cpp