MaCh3  2.8.0
Reference Guide
Functions
PredictivePlotting.cpp File Reference
#include "Manager/MaCh3Logger.h"
#include "CLI/Modules/Plot/PredictiveModule.hpp"
Include dependency graph for PredictivePlotting.cpp:

Go to the source code of this file.

Functions

int main (int argc, char const *argv[])
 

Detailed Description

Author
Kamil Skwarczynski

Definition in file PredictivePlotting.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)
Warning
KS: keep raw pointer or ensure manual delete of PlotMan. If spdlog in automatically deleted before PlotMan then destructor has some spdlog and this could cause segfault

Definition at line 9 of file PredictivePlotting.cpp.

9  {
10  MACH3LOG_WARN("Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
11  MACH3LOG_WARN(" : you can use 'mach3 plot predictive' as a direct replacement instead.");
12  argv[0] = "predictive";
13  M3::PredictiveModule proc;
14  M3::MaCh3ArgumentParser* parser = proc.get_parser();
15  parser->parse_args(argc, argv);
16  proc.Run();
17  MACH3LOG_WARN("Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
18  MACH3LOG_WARN(" : you can use 'mach3 plot predictive' as a direct replacement instead.");
19  return 0;
20 }
#define MACH3LOG_WARN
Definition: MaCh3Logger.h:36
Extended ArgumentParser with MaCh3-specific functionality.
Definition: m3argparse.hpp:17