~ubuntu-branches/ubuntu/precise/flightgear/precise

« back to all changes in this revision

Viewing changes to src/FDM/JSBSim/models/flight_control/FGGain.cpp

  • Committer: Package Import Robot
  • Author(s): Ove Kaaven
  • Date: 2011-09-03 22:16:12 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20110903221612-2cjy0z7ztj5nkln5
Tags: 2.4.0-1
* New upstream release. Closes: #638588.
* Build-Depend on OpenSceneGraph 3.0, and the Subversion library.
* Recommend fgfs-scenery-base.
* Enable parallel builds (shorter compile times on multicore CPUs).
* Removed hack that tried to build without optimizations if
  building with optimizations fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
namespace JSBSim {
49
49
 
50
 
static const char *IdSrc = "$Id$";
 
50
static const char *IdSrc = "$Id: FGGain.cpp,v 1.23 2011/04/18 08:51:12 andgi Exp $";
51
51
static const char *IdHdr = ID_GAIN;
52
52
 
53
53
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
70
70
 
71
71
  if (Type == "PURE_GAIN") {
72
72
    if ( !element->FindElement("gain") ) {
73
 
      cout << highint << "      No GAIN specified (default: 1.0)" << normint << endl;
 
73
      cerr << highint << "      No GAIN specified (default: 1.0)" << normint << endl;
74
74
    }
75
75
  }
76
76
 
209
209
  if (debug_lvl & 1) { // Standard console startup message output
210
210
    if (from == 0) { // Constructor
211
211
      if (InputSigns[0] < 0)
212
 
        cout << "      INPUT: -" << InputNodes[0]->getName() << endl;
 
212
        cout << "      INPUT: -" << InputNodes[0]->GetName() << endl;
213
213
      else
214
 
        cout << "      INPUT: " << InputNodes[0]->getName() << endl;
 
214
        cout << "      INPUT: " << InputNodes[0]->GetName() << endl;
215
215
 
216
216
      if (GainPropertyNode != 0) {
217
217
        cout << "      GAIN: " << GainPropertyNode->GetName() << endl;