|
HLCC Documentation 2.2.0
|
#include <guideStarHelper.hpp>
Classes | |
| struct | GuideStarItemData |
| struct | GuideStarMetadata |
| struct | GuideStars |
| struct | ParamMetadata |
Public Member Functions | |
| GuideStarHelper () | |
| virtual | ~GuideStarHelper () |
| void | InitGuideStarConfigYaml () |
| void | AddGuideStar (const ::ccsinsif::GuideStarData &guide_star_data) |
| std::string | GetGuideStarConfigYaml () |
Static Public Member Functions | |
| static GuideStars | FromYamlToGuideStars (const std::string &yaml_guide_starts) |
This class implement methods that will help build a Config-ng Yaml config file containing guide start data and also the reverse operation where data is retrieved from Yaml to a single C++ object.
| hlcc::eltpk::GuideStarHelper::GuideStarHelper | ( | ) |
Constructor.
|
virtual |
Destructor
| void hlcc::eltpk::GuideStarHelper::AddGuideStar | ( | const ::ccsinsif::GuideStarData & | guide_star_data | ) |
Adds Guide star item data to the yaml configuration file
| [in] | guide_star_data | data to be appended |
|
static |
Static Method used to convert the guidestart data from Yaml string to single c++ object
| [in] | yaml_guide_starts | String containing Yaml config-ng with guide star content |
| std::runtime_error | if cannot convert Yaml content |
| std::string hlcc::eltpk::GuideStarHelper::GetGuideStarConfigYaml | ( | ) |
Get the Yaml sting with complete Guide Star configuration
| void hlcc::eltpk::GuideStarHelper::InitGuideStarConfigYaml | ( | ) |
Initializes the Yaml string with the respective data typedefs