Changeset 8838


Ignore:
Timestamp:
01/30/08 13:55:40 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/Changelog

    r8837 r8838  
    11                                                                  -*-*- END -*-*-
     2
     3 2008/01/30 Thomas Bretz
     4
     5   * candrv/sdolist.cc:
     6     - use the ?: operator instead of a cast
     7
     8   * gui/GuiIncl.h:
     9     - removed obsolete coord.h
     10
     11   * gui/MGCoordinates.h:
     12     - added include of MPointing instead of forward declaration of class XY
     13
     14   * gui/MGCosy.cc:
     15     - revised includes
     16     - added some manipulators
     17
     18   * main/MStarguider.cc:
     19     - revised includes
     20
     21
    222
    323 2008/01/27 Thomas Bretz
     
    91111     - thread doesn't run detached anymore
    92112
    93    * candrv/nodedrv.[h,cc], devdrv/macs.[h,cc], devdrv/shaftencoder.[h,cc]:
     113   * candrv/nodedrv.[h,cc], devdrv/macs.[h,cc], devdrv/shaftencoder.[h,cc],
     114     candrv/network.[h,cc]:
    94115     - changed from lout to gLog
    95116     - added maipulators
  • trunk/MagicSoft/Cosy/candrv/sdolist.cc

    r8376 r8838  
    9393int PendingSDOList::IsPending() const
    9494{
    95     return (int)fFirst->Next;
     95    return fFirst->Next ? 1 : 0;
    9696}
    9797
  • trunk/MagicSoft/Cosy/gui/GuiIncl.h

    r1109 r8838  
    11#ifndef __CINT__
    22
    3 #include "coord.h"
    4 
    53#endif // __CINT__
  • trunk/MagicSoft/Cosy/gui/MGCoordinates.h

    r8376 r8838  
    11#ifndef COSY_MGCoordinates
    22#define COSY_MGCoordinates
    3 
    4 //
    5 // This File contains the declaration of the MGCoordinates-class
    6 //
    7 //   Author: Thomas Bretz
    8 //   Version: V1.0 (1-8-2000)
    93
    104#ifndef ROOT_TGFrame
     
    126#endif
    137
    14 class XY;
     8#ifndef MARS_MPointing
     9#include "MPointing.h"
     10#endif
    1511
    1612enum {
  • trunk/MagicSoft/Cosy/gui/MGCosy.cc

    r8824 r8838  
    33#include <iomanip>
    44#include <fstream>
    5 
    6 #include "msgqueue.h"
    7 #include "coord.h"
    8 #include "slalib.h"
    95
    106#include <TROOT.h>
     
    2218#include <TApplication.h>  // gApplication
    2319
    24 #include "MCosy.h"
     20#include "MLog.h"
     21#include "MLogManip.h"
     22
    2523#include "MTime.h"
    2624#include "MString.h"
    2725#include "MAstro.h"
     26
     27#include "MCosy.h"
    2828#include "MGList.h"
    2929#include "MDriveCom.h"
     
    3636
    3737#include "SlaStars.h"
     38/*
     39#include "msgqueue.h"
     40#include "coord.h"
     41#include "slalib.h"
     42*/
    3843
    3944#define DEBUG
     
    323328    if (!fin)
    324329    {
    325         cout << "ERROR: Predifined positions in 'prepos.txt' not found." << endl;
     330        gLog << err << "ERROR: Predifined positions in 'prepos.txt' not found." << endl;
    326331        return;
    327332    }
     
    359364    if (!fin)
    360365    {
    361         cout << "ERROR: Star List 'stars.txt' not found." << endl;
     366        gLog << err << "ERROR: Star List 'stars.txt' not found." << endl;
    362367        return;
    363368    }
  • trunk/MagicSoft/Cosy/main/MStarguider.cc

    r8824 r8838  
    55
    66#include <fstream>    // ifstream
    7 #include <iostream>   // cout
    8 #include <iomanip>    // cout
    97
    108#include <TH2F.h>
     
    1412#include <TFile.h> // temp writeout of histos
    1513#include <TSocket.h>
    16 
    17 #include "MAstro.h"
    18 #include "MString.h"
    1914
    2015#include <TGMenu.h>
     
    2520#include <TGLayout.h>
    2621#include "MString.h"
     22
     23#include "MLog.h"
     24#include "MLogManip.h"
     25
     26#include "MAstro.h"
     27#include "MString.h"
     28
    2729
    2830#include "MCosy.h"
Note: See TracChangeset for help on using the changeset viewer.