Show
Ignore:
Timestamp:
05/05/08 07:12:19 (4 months ago)
Author:
vossg
Message:

changed: interface cleanup, removed ptr typedefs, nullfc

these will be needed for the 1.x compat stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/Cluster/Server/OSGClusterServer.cpp

    r1194 r1198  
    9595 * 
    9696 */ 
    97 ClusterServer::ClusterServer(           WindowPtr  window, 
    98                              const std::string    &serviceName, 
    99                              const std::string    &connectionType, 
    100                              const std::string    &address, 
    101                                         UInt32    servicePort, 
    102                              const std::string    &serviceGroup): 
     97ClusterServer::ClusterServer(           Window *window, 
     98                             const std::string &serviceName, 
     99                             const std::string &connectionType, 
     100                             const std::string &address, 
     101                                        UInt32  servicePort, 
     102                             const std::string &serviceGroup): 
    103103    _window(window), 
    104104    _connection(NULL), 
     
    140140{ 
    141141    //OSG::subRefX(_window); 
    142     _window = NullFC
     142    _window = NULL
    143143 
    144144    try 
     
    224224{ 
    225225    // get aspect ownership 
    226     if(_clusterWindow != NullFC
     226    if(_clusterWindow != NULL
    227227    { 
    228228        _aspect = _clusterWindow->getNetwork()->getAspect(); 
     
    231231    } 
    232232 
    233     _clusterWindow= NullFC
     233    _clusterWindow= NULL
    234234 
    235235    // destroy connection 
     
    290290{ 
    291291    // do we have a cluster window? 
    292     if(_clusterWindow==NullFC
     292    if(_clusterWindow == NULL
    293293    { 
    294294        do 
     
    297297            _aspect->receiveSync(*_connection,applyToChangelist); 
    298298        } 
    299         while(_clusterWindow==NullFC); 
     299        while(_clusterWindow == NULL); 
    300300 
    301301        // get server id 
     
    387387 */ 
    388388 
    389 WindowPtr ClusterServer::getClusterWindow(void) 
     389Window *ClusterServer::getClusterWindow(void) 
    390390{ 
    391391    return _clusterWindow; 
     
    395395 */ 
    396396 
    397 WindowPtr ClusterServer::getServerWindow(void) 
     397Window *ClusterServer::getServerWindow(void) 
    398398{ 
    399399    return _window; 
     
    404404 */ 
    405405 
    406 bool ClusterServer::windowChanged(const FieldContainerPtr &fcp, 
    407                                         RemoteAspect      *   ) 
    408 { 
    409     if(_clusterWindow != NullFC
     406bool ClusterServer::windowChanged(FieldContainer * const fcp, 
     407                                  RemoteAspect   *          ) 
     408{ 
     409    if(_clusterWindow != NULL
    410410        return true; 
    411411     
    412     ClusterWindowPtr window = dynamic_cast<ClusterWindowPtr>(fcp); 
     412    ClusterWindow *window = dynamic_cast<ClusterWindow *>(fcp); 
    413413 
    414414    if(window->getMFServers()->size())