Documentation ¶
Overview ¶
Package baseremotecontrol implements a remote control for a base.
Index ¶
Constants ¶
View Source
const SubtypeName = resource.SubtypeName("base_remote_control")
SubtypeName is the name of the type of service.
Variables ¶
View Source
var Subtype = resource.NewSubtype( resource.ResourceNamespaceRDK, resource.ResourceTypeService, SubtypeName, )
Subtype is a constant that identifies the remote control resource subtype.
Functions ¶
func Named ¶ added in v0.1.0
Named is a helper for getting the named base remote control service's typed resource name.
func WrapWithReconfigurable ¶
func WrapWithReconfigurable(s interface{}, name resource.Name) (resource.Reconfigurable, error)
WrapWithReconfigurable wraps a BaseRemoteControl as a Reconfigurable.
Types ¶
type Service ¶ added in v0.1.0
type Service interface { // Close out of all remote control related systems. Close(ctx context.Context) error // controllerInputs returns the list of inputs from the controller that are being monitored for that control mode. ControllerInputs() []input.Control }
A Service is the basis for the base remote control.
Directories ¶
Path | Synopsis |
---|---|
Package builtin implements a remote control for a base.
|
Package builtin implements a remote control for a base. |
Package register registers all relevant baseremotecontrol models and also subtype specific functions
|
Package register registers all relevant baseremotecontrol models and also subtype specific functions |
Click to show internal directories.
Click to hide internal directories.