-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle the RvcOperationalState GoHome command (#31289)
* Added the RvcOpearationalState specific command GoHome to the XML. * Regenerated files from XMLs. * Added a virtual method to the base operational state class that allows derived clusters to handle the invocation of their specific commands. This method is called by the operational state cluster if the received command is not a known base cluster command. * Added a mechanism by which the OperationalState cluster can call derived cluster methods to handle commands intended for them. * Implemented a default implementation of the RvcOperationalState::Delegate's HandleGoHomeCommandCallback method since the GoHome command is optional. Use the correct delegate type of in the rvc-app example. * Restyled by clang-format * Regenerated files from XMLs after merging changes in master. * Separated the RVC OpState delegate implementation in the all-clusters-app and implemented its GoHome command handle. * Enabled the GoHome command in the all-clusters-app zap file. * Enabled the GoHome command in the rvc-pp zap file. * Restyled by clang-format * Restyled by gn * Java file regen * Removed definition of the RvcOperationalState class as it was mistake in the previous merge. * Fixed the RvcOpState delegate in the all-clusters-app since the GenericOperationalPhase class was removed when main was merget. * Added functions to get the OpratioalState and RvcOperationalState instances in the all-clusters-app. Replaced the custom implementation of the OperationalState and RvcOperationalState delegates for the ameba platform with the common implementations. * Restyled by clang-format * Regenerated zap files. * Added missing license to an all-clusters-app src file. * Restyled by clang-format * Removed question comment. --------- Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Matthew Hazley <Matthew.Hazley@dyson.com>
- Loading branch information
1 parent
1e6e62b
commit 4ac4a7f
Showing
15 changed files
with
183 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.