#include <module-flightgear.h>
Definition at line 66 of file module-flightgear.h.
Implements FileDriveCallerTypeReader.
Definition at line 104 of file recFromFlightgear.cc.
References fGNetCtrlsWordSet, fGNetFDMWordSet, fieldsDescriptionFGNetCtrls, fieldsDescriptionFGNetFDM, IncludeParser::GetLineData(), HighParser::IsWord(), MBDYN_EXCEPT_ARGS, and StreamDrive::pGetModifier().
107 std::string FGStructureName;
113 if(pMod != 0 && dynamic_cast<const FGNetFDMStreamDriveCopyCast*>(pMod) != 0){
116 FGStructureName =
"NetFDM";
117 }
else if(pMod != 0 && dynamic_cast<const FGNetCtrlsStreamDriveCopyCast*>(pMod) != 0){
120 FGStructureName =
"NetCtrls";
122 silent_cerr(
"error: specified FileDrive does not receive Flight Gear data structure. Please check it out. "
123 "error at line " << HP.
GetLineData() << std::endl);
127 if((s = HP.
IsWord(*FGWordSetInUse)) != NULL){
128 FieldsDescriptionFG::iterator it = fieldsDescriptionFGInUse->find(std::string(s));
129 return it->second.position;
131 silent_cerr(
"FlightGearFileDriveCallerTypeReader: unknown FG field of " << FGStructureName
#define MBDYN_EXCEPT_ARGS
virtual const char * IsWord(const HighParser::WordSet &ws)
FGNetCtrlsWordSet fGNetCtrlsWordSet
const StreamDrive::Modifier * pGetModifier(void) const
FieldsDescriptionFG fieldsDescriptionFGNetCtrls
FGNetFDMWordSet fGNetFDMWordSet
FieldsDescriptionFG fieldsDescriptionFGNetFDM
virtual HighParser::ErrOut GetLineData(void) const
std::map< std::string, FieldInfo > FieldsDescriptionFG
The documentation for this struct was generated from the following files: