WPILibC++  unspecified
frc::Sendable Class Referenceabstract
Inheritance diagram for frc::Sendable:

Public Member Functions

virtual std::string GetName () const =0
 Gets the name of this Sendable object. More...
 
virtual void SetName (const llvm::Twine &name)=0
 Sets the name of this Sendable object. More...
 
void SetName (const llvm::Twine &subsystem, const llvm::Twine &name)
 Sets both the subsystem name and device name of this Sendable object. More...
 
virtual std::string GetSubsystem () const =0
 Gets the subsystem name of this Sendable object. More...
 
virtual void SetSubsystem (const llvm::Twine &subsystem)=0
 Sets the subsystem name of this Sendable object. More...
 
virtual void InitSendable (SendableBuilder &builder)=0
 Initializes this Sendable object. More...
 

Member Function Documentation

virtual std::string frc::Sendable::GetName ( ) const
pure virtual

Gets the name of this Sendable object.

Returns
Name

Implemented in frc::SendableBase.

virtual std::string frc::Sendable::GetSubsystem ( ) const
pure virtual

Gets the subsystem name of this Sendable object.

Returns
Subsystem name

Implemented in frc::SendableBase.

virtual void frc::Sendable::SetName ( const llvm::Twine name)
pure virtual

Sets the name of this Sendable object.

Parameters
namename

Implemented in frc::SendableBase.

void frc::Sendable::SetName ( const llvm::Twine subsystem,
const llvm::Twine name 
)
inline

Sets both the subsystem name and device name of this Sendable object.

Parameters
subsystemsubsystem name
namedevice name
virtual void frc::Sendable::SetSubsystem ( const llvm::Twine subsystem)
pure virtual

Sets the subsystem name of this Sendable object.

Parameters
subsystemsubsystem name

Implemented in frc::SendableBase.


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