123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef IVIF_PARK_H
- #define IVIF_PARK_H
- #include <vector>
- #include "comonstruct.h"
- namespace iv
- {
- struct simpleparkspace
- {
- public:
- double mfLon;
- double mfLat;
- double mfHeading;
- int mnParkType;
- };
- }
- class ivif_park
- {
- public:
- ivif_park();
- virtual ~ivif_park();
- public:
-
- virtual bool IsBocheEnable(double fLon, double fLat, double fHeading);
-
- virtual int GetBocheDecision(double fLon,double fLat,double fHeading,double fSpeed,double & fAcc,double & fWheel,int & nshift,double & fdSpeed,double & fdSecSpeed,VehState & xvehstate,bool bbocheMode);
- private:
- std::vector<iv::simpleparkspace> mvectorsimpleparkspace;
- public:
- void SetParkSpace(std::vector<iv::simpleparkspace> & xvectorsimpleparkspace);
- std::vector<iv::simpleparkspace> GetParkSpace();
- };
- #endif
|