The RTR book-ordering sample application illustrates how RTR C++ foundation classes can be used to simulate purchasing merchandise for a fictitious company called ABC.

The client, ABCOrderTaker, implements a hard-coded book request represented by the ABCBook class. This book request has an ISBN used for data routing. The server, ABCOrderProcessor, displays a dialog box containing the contents of the newly reconstituted ABCBook object. The sample application contains the following modules:

  • Sample 1: contains int main
  • ABCOrderTaker: client class
  • ABCOrderProcessor: server class
  • ABCOrder: abstract base class
  • ABCBook: represents book order
  • All modules are in the RTR Examples directory, and the application is further described in the C++ Foundation Classes manual.