Changeset 21029

Show
Ignore:
Timestamp:
02/10/08 08:49:09 (7 months ago)
Author:
patrick
Message:

Added more comments and tightened up variable scoping.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/tweek/tweek/CORBA/CorbaManager.cpp

    r21028 r21029  
    211211   try 
    212212   { 
    213       std::ostringstream end_point_stream; 
    214  
     213      // Create a two-dimensional array of constant strings to be passed as 
     214      // the options to CORBA::ORB_init(). The first column is the property 
     215      // name, and the second is the property value. This will either contain 
     216      // one non-empty row (row 0) identifying the GIOP end point address 
     217      // ("endPoint"), or both rows will be empty. The last row has to have 
     218      // both columns set to NULL to denote the end of the option list. 
    215219      const char* options[2][2] = { { NULL, NULL }, { NULL, NULL } }; 
    216220 
     
    245249      else 
    246250      { 
     251         std::ostringstream end_point_stream; 
     252 
    247253         end_point_stream << "giop:tcp:" << endPointAddr << ":" 
    248254                          << endPointPort;