config_applier.h
Go to the documentation of this file.
1 
36 #ifndef CONFIG_APPLIER_H
37 #define CONFIG_APPLIER_H
38 
39 // Standard headers
40 #include <limits>
41 #include <string>
42 
43 // Project headers
44 #include <config_store.h>
45 
46 namespace sbg
47 {
52 {
53 private:
54 
57 
58  //---------------------------------------------------------------------//
59  //- Private methods -//
60  //---------------------------------------------------------------------//
61 
70  void checkConfigurationGet(const SbgErrorCode& ref_sbg_error_code, const std::string& ref_conf_title) const;
71 
82  void checkConfigurationApplied(const SbgErrorCode& ref_sbg_error_code, const std::string& ref_conf_title);
83 
89  void configureInitCondition(const SbgEComInitConditionConf& ref_init_condition);
90 
96  void configureMotionProfile(const SbgEComModelInfo& ref_motion_profile);
97 
104  void configureImuAlignement(const SbgEComSensorAlignmentInfo& ref_sensor_align, const SbgVector3<float>& ref_level_arms);
105 
111  void configureAidingAssignement(const SbgEComAidingAssignConf& ref_aiding_assign);
112 
118  void configureMagModel(const SbgEComModelInfo& ref_mag_model);
119 
125  void configureMagRejection(const SbgEComMagRejectionConf& ref_mag_rejection);
126 
132  void configureGnssModel(const SbgEComModelInfo& ref_gnss_model);
133 
139  void configureGnssInstallation(const SbgEComGnssInstallation& ref_gnss_installation);
140 
146  void configureGnssRejection(const SbgEComGnssRejectionConf& ref_gnss_rejection);
147 
153  void configureOdometer(const SbgEComOdoConf& ref_odometer);
154 
160  void configureOdometerLevelArm(const SbgVector3<float>& odometer_level_arms);
161 
167  void configureOdometerRejection(const SbgEComOdoRejectionConf& ref_odometer_rejection);
168 
178  void configureOutput(SbgEComOutputPort output_port, const ConfigStore::SbgLogOutput &ref_log_output);
179 
180 public:
181 
182  //---------------------------------------------------------------------//
183  //- Constructor -//
184  //---------------------------------------------------------------------//
185 
191  ConfigApplier(SbgEComHandle &ref_sbg_com_handle);
192 
193  //---------------------------------------------------------------------//
194  //- Parameters -//
195  //---------------------------------------------------------------------//
196 
197  //---------------------------------------------------------------------//
198  //- Operations -//
199  //---------------------------------------------------------------------//
200 
206  void applyConfiguration(const ConfigStore& ref_config_store);
207 
211  void saveConfiguration(void);
212 };
213 }
214 
215 #endif // CONFIG_APPLIER_H
void configureImuAlignement(const SbgEComSensorAlignmentInfo &ref_sensor_align, const SbgVector3< float > &ref_level_arms)
void configureMotionProfile(const SbgEComModelInfo &ref_motion_profile)
void configureOutput(SbgEComOutputPort output_port, const ConfigStore::SbgLogOutput &ref_log_output)
void configureOdometerLevelArm(const SbgVector3< float > &odometer_level_arms)
void configureMagRejection(const SbgEComMagRejectionConf &ref_mag_rejection)
SbgEComHandle & m_ref_sbg_com_handle
void configureOdometerRejection(const SbgEComOdoRejectionConf &ref_odometer_rejection)
Class to handle the device configuration.
void saveConfiguration(void)
void configureGnssModel(const SbgEComModelInfo &ref_gnss_model)
void configureGnssRejection(const SbgEComGnssRejectionConf &ref_gnss_rejection)
void applyConfiguration(const ConfigStore &ref_config_store)
void configureOdometer(const SbgEComOdoConf &ref_odometer)
void configureInitCondition(const SbgEComInitConditionConf &ref_init_condition)
enum _SbgEComOutputPort SbgEComOutputPort
ConfigApplier(SbgEComHandle &ref_sbg_com_handle)
void checkConfigurationGet(const SbgErrorCode &ref_sbg_error_code, const std::string &ref_conf_title) const
void configureAidingAssignement(const SbgEComAidingAssignConf &ref_aiding_assign)
void configureGnssInstallation(const SbgEComGnssInstallation &ref_gnss_installation)
void configureMagModel(const SbgEComModelInfo &ref_mag_model)
enum _SbgErrorCode SbgErrorCode
void checkConfigurationApplied(const SbgErrorCode &ref_sbg_error_code, const std::string &ref_conf_title)


sbg_driver
Author(s): SBG Systems
autogenerated on Sat Sep 3 2022 02:53:35