FACT++  1.0
MStarguider::MStarguider ( Int_t  channel)

Definition at line 398 of file MStarguider.cc.

References fCaos, fGetter, fId, fTimer, InitGui(), MCaos::ReadResources(), DimClient::setNoDataCopy(), and DimServer::start().

398  : TGMainFrame(gClient->GetRoot(), 768, 840),
399 fDimData("TPOINT/DATA", "D:11", (void*)NULL, 0),
400 fDimTPoint("TPOINT/EXECUTE", "", this),
401 fDimScreenshot("TPOINT/SCREENSHOT", "B:1;C", this),
402 fRadius(200), fFindStarCut(2.), fFindStarBox(30), fTPointMode(0)
403 {
404  cout << " #### FIXME: Make MCaos Thread safe!" << endl;
405 
406  // This means that all objects added with AddFrame are deleted
407  // automatically, including all LayoutHints.
408  SetCleanup();
409 
410  fCaos = new MCaos;
411  fCaos->ReadResources("leds_fact.txt");
412 
413  InitGui(channel);
414 
415  fTimer=new TTimer(this, 1000/25); // 40ms
416  fTimer->TurnOn();
417 
418  gVirtualX->GrabButton(fId, kButton2, 0, 0, 0, 0, kTRUE);
419 
420  fGetter = new Camera(*this, channel);
421 
423  DimServer::start("TPOINT");
424 }
void InitGui(Int_t channel)
Definition: MStarguider.cc:74
Int_t fFindStarBox
Definition: MStarguider.h:61
Float_t fFindStarCut
Definition: MStarguider.h:60
MCaos * fCaos
Definition: MStarguider.h:48
Double_t fRadius
Definition: MStarguider.h:58
TTimer * fTimer
Definition: MStarguider.h:49
Camera * fGetter
Definition: MStarguider.h:33
in C
Definition: README_v19.txt:379
int fTPointMode
Definition: MStarguider.h:63
DimService fDimData
Definition: MStarguider.h:29
DimCommand fDimScreenshot
Definition: MStarguider.h:31
QCameraWidget Camera
Definition: QCameraWidget.h:64
uint16_t fId
Definition: HeadersFAD.h:93
static void start()
Definition: discpp.cxx:512
Definition: MCaos.h:8
DimCommand fDimTPoint
Definition: MStarguider.h:30
static void setNoDataCopy()
Definition: diccpp.cxx:1236
void ReadResources(const char *name="leds.txt")
Definition: MCaos.cc:13

+ Here is the call graph for this function: