WPILibC++  2020.3.2-60-g3011ebe
frc::SendableBase Class Reference
Inheritance diagram for frc::SendableBase:
frc::Sendable frc::SendableHelper< SendableBase >

Public Member Functions

 SendableBase (bool addLiveWindow=true)
 Creates an instance of the sensor base. More...
 
- Public Member Functions inherited from frc::Sendable
virtual void InitSendable (SendableBuilder &builder)=0
 Initializes this Sendable object. More...
 
- Public Member Functions inherited from frc::SendableHelper< SendableBase >
 SendableHelper (const SendableHelper &rhs)=default
 
 SendableHelper (SendableHelper &&rhs)
 
SendableHelperoperator= (const SendableHelper &rhs)=default
 
SendableHelperoperator= (SendableHelper &&rhs)
 
std::string GetName () const
 Gets the name of this Sendable object. More...
 
void SetName (const wpi::Twine &name)
 Sets the name of this Sendable object. More...
 
void SetName (const wpi::Twine &subsystem, const wpi::Twine &name)
 Sets both the subsystem name and device name of this Sendable object. More...
 
std::string GetSubsystem () const
 Gets the subsystem name of this Sendable object. More...
 
void SetSubsystem (const wpi::Twine &subsystem)
 Sets the subsystem name of this Sendable object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from frc::SendableHelper< SendableBase >
void SetName (const wpi::Twine &moduleType, int channel)
 Sets the name of the sensor with a channel number. More...
 
void SetName (const wpi::Twine &moduleType, int moduleNumber, int channel)
 Sets the name of the sensor with a module and channel number. More...
 
void AddChild (std::shared_ptr< Sendable > child)
 Add a child component. More...
 
void AddChild (void *child)
 Add a child component. More...
 

Constructor & Destructor Documentation

◆ SendableBase()

frc::SendableBase::SendableBase ( bool  addLiveWindow = true)
explicit

Creates an instance of the sensor base.

Deprecated:
use Sendable and SendableHelper
Parameters
addLiveWindowif true, add this Sendable to LiveWindow

The documentation for this class was generated from the following file: