Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplifying (a)synchronous conditional compilation:
* XrlDispatcher is unconditionally asynchronous - all its conditional macros and typedefs are dropped. Where XrlRouter derives from it, it is also unconditionally asynchronous. * Many callback functions, that were conditionally added in order to interface with asynchronous dispatchers and command maps, are now compiled unconditionally. * FinderClient's dispatch_tunneled_xrl uses XrlDispatcher's asynchronous interface, but ignores the results as its synchronous version always did, so its own synchronous interface is now presented unconditionally, obviating the inelegant XRL_CMD_OPT_CALLBACK macro. * FinderClientXrlTarget is reverted to its fully synchronous form, as it can now use FinderClient's unconditionally synchronous interface. * Synchronous code in FinderMessengerBase::dispatch_xrl uses (now unconditionally compiled) callback required for asynchronous version. * Re-organized conditional command-map typedefs to make callback type unconditional. Signed-off-by: Steven Simpson <ss@comp.lancs.ac.uk>
- Loading branch information
Showing
12 changed files
with
54 additions
and
162 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
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.