Changeset 8839 for trunk/MagicSoft/Cosy


Ignore:
Timestamp:
01/30/08 14:08:26 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/Changelog

    r8838 r8839  
    1818   * main/MStarguider.cc:
    1919     - revised includes
     20
     21   * main/MCosy.[h,cc]:
     22     - chnaged some manipulators
     23     - adapted calls to consructors of Macs and ShaftEncoders
    2024
    2125
  • trunk/MagicSoft/Cosy/main/MCosy.cc

    r8833 r8839  
    1313#include <TCanvas.h>
    1414
     15//#include "MLog.h"
    1516#include "MLogManip.h"
    1617
     18#include "MTime.h"
     19#include "MPointing.h"
     20
    1721#include "MGCosy.h"
    18 #include "MTime.h"
    1922#include "MDriveCom.h"
    2023#include "MStarguider.h"
    2124#include "SlaStars.h"
    22 #include "MPointing.h"
    2325#include "MTracking.h"
    2426
     
    111113}
    112114*/
     115
     116MTTalk::~MTTalk()
     117{
     118    gLog << inf2 << "~MTTalk::CancelThread" << std::endl;
     119    CancelThread();
     120    gLog << inf2 << "~MTTalk::MTTalk" << std::endl;
     121}
    113122
    114123// --------------------------------------------------------------------------
     
    14791488    gLog << "- Setting up network." << endl;
    14801489
    1481     fMac1=new Macs(id1, "Mac/Az", gLog);
    1482     fMac2=new Macs(id3, "Mac/Zd", gLog);
     1490    fMac1=new Macs(id1, "Mac/Az");
     1491    fMac2=new Macs(id3, "Mac/Zd");
    14831492    if (id2>=0)
    1484         fMac3=new Macs(id2, "Mac/Az-Sync", gLog);
    1485 
    1486     fZd1=new ShaftEncoder(id4, "SE/Zd1", gLog);
    1487     fZd2=new ShaftEncoder(id5, "SE/Zd2", gLog);
    1488     fAz =new ShaftEncoder(id6, "SE/Az",  gLog);
     1493        fMac3=new Macs(id2, "Mac/Az-Sync");
     1494
     1495    fZd1=new ShaftEncoder(id4, "SE/Zd1");
     1496    fZd2=new ShaftEncoder(id5, "SE/Zd2");
     1497    fAz =new ShaftEncoder(id6, "SE/Az");
    14891498
    14901499    fZd1->SetReport(fOutRep);
  • trunk/MagicSoft/Cosy/main/MCosy.h

    r8833 r8839  
    6767        RunThread();
    6868    }
    69     ~MTTalk()
    70     {
    71         std::cout << "~MTTalk::CancelThread" << std::endl;
    72         CancelThread();
    73         std::cout << "~MTTalk::MTTalk" << std::endl;
    74     }
     69    ~MTTalk();
    7570};
    7671
Note: See TracChangeset for help on using the changeset viewer.