FACT++  1.0
int FitsLoader::UnloadPlease ( )
private

Transition from fileLoaded to ready.

Unloads the Fits file.

Definition at line 473 of file fitsloader.cc.

References MessageImp::Error(), fFile, and StateMachineImp::kSM_Ready.

Referenced by FitsLoader().

474 {
475  if (fFile)
476  delete fFile;
477  else
478  Error("Error: Fits file is NULL while it should not have been");
479  fFile = NULL;
480  return kSM_Ready;
481 }
Mainloop running, state machine in operation.
CCfits::FITS * fFile
FITS pointer.
Definition: fitsloader.cc:74
int Error(const std::string &str)
Definition: MessageImp.h:49

+ Here is the call graph for this function:

+ Here is the caller graph for this function: