1 Changelog for chapter 8 and 10 example in "Advanced CORBA
2 Programming with C++" by Michi Henning and Steve Vinoski,
3 Copyright 1999, Addison-Wesley, Reading, MA. The following
4 changes have been made to the book's source code to make the
5 example work with TAO and with various platforms and compilers.
7 _______________________________________________________________________________
9 1. Changed filenames from .cc to .cpp and .hh to.h,
10 and modified #includes appropriatly
12 2. a) Unnecessary standard includes of <iostreams.h> and <assert.h> must
13 be removed or moved to follow the local includes in
14 server.h, server.cpp, client.cpp, and icp.cpp.
16 b) The following files may need their includes further rearranged
17 to avoid warnings and errors (g++). The following orderings
19 -server.cpp: "server.h", <algorithm>, "icp.h"
20 -server.h: "CCSS.h", <map>
22 3. removed if 0 code surrounding
23 operator<<(ostream & os, const CCS::Controller::EChange & ec)
24 definition in server.cpp and client.cpp.
26 _______________________________________________________________________________
28 4. Added .in() to _var parameters wherever needed:
30 -4 changes in operator<<(ostream & os, CCS::Thermometer_ptr t)
31 -6 changes in main(): 5 calls to is_nil(), 1 call to _narrow
32 -2 additions in main() of .inout() to _var parameters of set_temp().
33 Note: .inout() is functionally the same as .in() in this case
38 _______________________________________________________________________________
40 -discrepancy in temperatures in my output vs. sample output
42 _____________________________________________________