void setManager(FGAIManager* mgr, SGPropertyNode* p);
void setPath( const char* model );
void setSMPath( const string& p );
+ void setCallSign(const string& );
void setSpeed( double speed_KTAS );
void setAltitude( double altitude_ft );
void setHeading( double heading );
double _getAltitude() const;
double _getLongitude() const;
double _getLatitude() const;
- double _getBearing() const;
double _getElevationFt() const;
double _getRdot() const;
double _getH_offset() const;
SGPropertyNode* _getProps() const;
- const char* _getPath();
- const char* _getCallsign();
- const char* _getTriggerNode();
- const char* _getName();
- const char* _getSubmodel();
+ const char* _getPath() const;
+ const char* _getSMPath() const;
+ const char* _getCallsign() const;
+ const char* _getTriggerNode() const;
+ const char* _getName() const;
+ const char* _getSubmodel() const;
// These are used in the Mach number calculations
static const double lbs_to_slugs;
inline double _getRange() { return range; };
+ inline double _getBearing() { return bearing; };
+
osg::Node* load3DModel(const string& fg_root,
const string &path,
SGPropertyNode *prop_root,
pos.setLatitudeDeg( latitude );
}
+inline void FGAIBase::setCallSign(const string& s) {
+ _callsign = s;
+}
+
+
inline void FGAIBase::setDie( bool die ) { delete_me = die; }
inline bool FGAIBase::getDie() { return delete_me; }