CCSDSPack
C++ Library for CCSDS Space Packet manipulation. i.e. generation, extraction, analisys and more
Loading...
Searching...
No Matches
exec_utils.h
Go to the documentation of this file.
1//
2// Created by dev on 5/13/25.
3//
4
5#ifndef EXEC_UTILS_H
6#define EXEC_UTILS_H
7#include "CCSDSResult.h"
8
15
16CCSDS::ResultBool parseArguments(int argc, char *argv[],
17 std::unordered_map<std::string, std::string> &allowedMap,
18 std::unordered_map<std::string, std::string> &outArgs);
19
20void customConsole(const std::string& appName, const std::string& message, const std::string& logLevel = "INFO");
21#endif //EXEC_UTILS_H
Encapsulates a result that can hold either a value or an Error.
Definition CCSDSResult.h:81
void customConsole(const std::string &appName, const std::string &message, const std::string &logLevel="INFO")
ErrorCodeExec
Definition exec_utils.h:9
@ CONFIG_MISSING_PARAMETER
Definition exec_utils.h:11
@ ARG_PARSE_ERROR
Error Parsing argument.
Definition exec_utils.h:10
@ INVALID_INPUT_DATA
Definition exec_utils.h:12
@ OTHER
Definition exec_utils.h:13
CCSDS::ResultBool parseArguments(int argc, char *argv[], std::unordered_map< std::string, std::string > &allowedMap, std::unordered_map< std::string, std::string > &outArgs)
This is the source file that holds the execution logic of ccsds_encoder binary file.