-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] Reworked various API calls for v6 release (Initialize, IsInitialized, SetUnitName, GetVersionXXX) #1841
Changes from all commits
9e0909c
55aad0d
5fcd5ea
544867e
757a936
30bd570
d6664ba
9a4dde6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,7 +209,7 @@ int main(int argc, char** argv) | |
} | ||
|
||
// initialize eCAL API | ||
eCAL::Initialize(0, nullptr, "eCALMon CLI", eCAL::Init::All); | ||
eCAL::Initialize("eCALMon CLI", eCAL::Init::All); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/mon/mon_cli/src/ecal_mon_cli.cpp:23: - #include <atomic>
+ #include "ecal/ecal_core.h"
+ #include <atomic> |
||
|
||
// set process state | ||
eCAL::Process::SetState(proc_sev_healthy, proc_sev_level1, "Running"); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ Ecalmon::Ecalmon(QWidget *parent) | |
, monitor_error_counter_(0) | ||
{ | ||
// Just make sure that eCAL is initialized | ||
eCAL::Initialize(0, nullptr, "eCALMon", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
eCAL::Initialize("eCALMon", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Default" is directly included [misc-include-cleaner] app/mon/mon_gui/src/ecalmon.cpp:24: - #include "widgets/about_dialog/about_dialog.h"
+ #include "ecal/ecal_init.h"
+ #include "widgets/about_dialog/about_dialog.h" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Monitoring" is directly included [misc-include-cleaner] eCAL::Initialize("eCALMon", eCAL::Init::Default | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/mon/mon_gui/src/ecalmon.cpp:24: - #include "widgets/about_dialog/about_dialog.h"
+ #include "ecal/ecal_core.h"
+ #include "widgets/about_dialog/about_dialog.h" |
||
eCAL::Monitoring::SetFilterState(false); | ||
eCAL::Process::SetState(proc_sev_healthy, proc_sev_level1, "Running"); | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ AboutDialog::AboutDialog(QWidget *parent) | |
ui_.version_label->setText("Version: " + QString(EcalmonGlobals::VERSION_STRING)); | ||
ui_.ecalversion_label->setText("eCAL " + QString(ECAL_VERSION) + " (" + QString(ECAL_DATE) + ")"); | ||
|
||
ui_.ecal_runtime_version_string_label->setText(QString(eCAL::GetVersionString()) + " (" + QString(eCAL::GetVersionDateString()) + ")"); | ||
ui_.ecal_runtime_version_string_label->setText(QString::fromStdString(eCAL::GetVersionString()) + " (" + QString::fromStdString(eCAL::GetVersionDateString()) + ")"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::GetVersionDateString" is directly included [misc-include-cleaner] ui_.ecal_runtime_version_string_label->setText(QString::fromStdString(eCAL::GetVersionString()) + " (" + QString::fromStdString(eCAL::GetVersionDateString()) + ")");
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::GetVersionString" is directly included [misc-include-cleaner] app/mon/mon_gui/src/widgets/about_dialog/about_dialog.cpp:20: - #include "ecalmon_globals.h"
+ #include "ecal/ecal_core.h"
+ #include "ecalmon_globals.h" |
||
ui_.ecal_compiletime_versin_string_label->setText(QString(ECAL_VERSION) + " (" + QString(ECAL_DATE) + ")"); | ||
ui_.qt_runtime_version_string_label->setText(QString(qVersion())); | ||
ui_.qt_compiletime_version_string_label->setText(QString(QT_VERSION_STR)); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ int main(int argc, char** argv) | |
{ | ||
auto args = ParseArgs(argc, argv); | ||
|
||
auto status = eCAL::Initialize(0, nullptr, "eCALMon TUI", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
auto status = eCAL::Initialize("eCALMon TUI", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Default" is directly included [misc-include-cleaner] app/mon/mon_tui/src/main.cpp:28: - #include "tui/tui.hpp"
+ #include "ecal/ecal_init.h"
+ #include "tui/tui.hpp" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Monitoring" is directly included [misc-include-cleaner] auto status = eCAL::Initialize("eCALMon TUI", eCAL::Init::Default | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/mon/mon_tui/src/main.cpp:28: - #include "tui/tui.hpp"
+ #include "ecal/ecal_core.h"
+ #include "tui/tui.hpp" |
||
if (status == -1) std::cerr << "Failed to init" << std::endl; | ||
eCAL::Process::SetState(proc_sev_healthy, proc_sev_level1, "Running"); | ||
eCAL::Monitoring::SetFilterState(false); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ EcalPlay::EcalPlay() | |
{ | ||
LogAppNameVersion(); | ||
|
||
eCAL::Initialize(0, nullptr, "eCALPlay"); | ||
eCAL::Initialize("eCALPlay"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/play/play_core/src/ecal_play.cpp:28: - #include "ecal_play_logger.h"
+ #include "ecal/ecal_core.h"
+ #include "ecal_play_logger.h" |
||
|
||
play_thread_ = std::make_unique<PlayThread>(); | ||
play_thread_->Start(); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,7 +159,7 @@ int main(int argc, char *argv[]) | |
////////////////////////////////////////////////////////////////////////////// | ||
|
||
// Just make sure that eCAL is initialized | ||
eCAL::Initialize(0, nullptr, "eCALPlayGUI", eCAL::Init::Default | eCAL::Init::Publisher | eCAL::Init::Service | eCAL::Init::Monitoring); | ||
eCAL::Initialize("eCALPlayGUI", eCAL::Init::Default | eCAL::Init::Publisher | eCAL::Init::Service | eCAL::Init::Monitoring); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Default" is directly included [misc-include-cleaner] app/play/play_gui/src/main.cpp:19: - #include "ecal_play_gui.h"
+ #include "ecal/ecal_init.h"
+ #include "ecal_play_gui.h" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Monitoring" is directly included [misc-include-cleaner] eCAL::Initialize("eCALPlayGUI", eCAL::Init::Default | eCAL::Init::Publisher | eCAL::Init::Service | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Publisher" is directly included [misc-include-cleaner] eCAL::Initialize("eCALPlayGUI", eCAL::Init::Default | eCAL::Init::Publisher | eCAL::Init::Service | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Service" is directly included [misc-include-cleaner] eCAL::Initialize("eCALPlayGUI", eCAL::Init::Default | eCAL::Init::Publisher | eCAL::Init::Service | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/play/play_gui/src/main.cpp:19: - #include "ecal_play_gui.h"
+ #include "ecal/ecal_core.h"
+ #include "ecal_play_gui.h" |
||
|
||
// For linux big measurements require more file descriptors than the default value | ||
#ifdef ECAL_OS_LINUX | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ AboutDialog::AboutDialog(QWidget *parent) | |
ui_.version_label->setText("Version: " + QString(EcalPlayGlobals::VERSION_STRING)); | ||
ui_.ecalversion_label->setText("eCAL " + QString(ECAL_VERSION) + " (" + QString(ECAL_DATE) + ")"); | ||
|
||
ui_.ecal_runtime_version_string_label->setText(QString(eCAL::GetVersionString()) + " (" + QString(eCAL::GetVersionDateString()) + ")"); | ||
ui_.ecal_runtime_version_string_label->setText(QString::fromStdString(eCAL::GetVersionString()) + " (" + QString::fromStdString(eCAL::GetVersionDateString()) + ")"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::GetVersionDateString" is directly included [misc-include-cleaner] ui_.ecal_runtime_version_string_label->setText(QString::fromStdString(eCAL::GetVersionString()) + " (" + QString::fromStdString(eCAL::GetVersionDateString()) + ")");
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::GetVersionString" is directly included [misc-include-cleaner] app/play/play_gui/src/widgets/about_dialog/about_dialog.cpp:20: - #include "ecal_play_globals.h"
+ #include "ecal/ecal_core.h"
+ #include "ecal_play_globals.h" |
||
ui_.ecal_compiletime_versin_string_label->setText(QString(ECAL_VERSION) + " (" + QString(ECAL_DATE) + ")"); | ||
ui_.qt_runtime_version_string_label->setText(QString(qVersion())); | ||
ui_.qt_compiletime_version_string_label->setText(QString(QT_VERSION_STR)); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ namespace eCAL | |
|
||
EcalRec::EcalRec() | ||
{ | ||
eCAL::Initialize(0, nullptr, "eCALRecClient", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
eCAL::Initialize("eCALRecClient", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Default" is directly included [misc-include-cleaner] app/rec/rec_client_core/src/ecal_rec.cpp:21: - #include "ecal_rec_impl.h"
+ #include "ecal/ecal_init.h"
+ #include "ecal_rec_impl.h" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Monitoring" is directly included [misc-include-cleaner] eCAL::Initialize("eCALRecClient", eCAL::Init::Default | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/rec/rec_client_core/src/ecal_rec.cpp:21: - #include "ecal_rec_impl.h"
+ #include "ecal/ecal_core.h"
+ #include "ecal_rec_impl.h" |
||
eCAL::Monitoring::SetFilterState(false); | ||
|
||
recorder_ = std::make_unique<EcalRecImpl>(); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,7 +136,7 @@ int main(int argc, char *argv[]) | |
} | ||
|
||
// Just make sure that eCAL is initialized | ||
eCAL::Initialize(0, nullptr, "eCALRecGUI", eCAL::Init::Default | eCAL::Init::Service | eCAL::Init::Monitoring); | ||
eCAL::Initialize("eCALRecGUI", eCAL::Init::Default | eCAL::Init::Service | eCAL::Init::Monitoring); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Default" is directly included [misc-include-cleaner] app/rec/rec_gui/src/main.cpp:19: - #include "ecalrec_gui.h"
+ #include "ecal/ecal_init.h"
+ #include "ecalrec_gui.h" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Monitoring" is directly included [misc-include-cleaner] eCAL::Initialize("eCALRecGUI", eCAL::Init::Default | eCAL::Init::Service | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Service" is directly included [misc-include-cleaner] eCAL::Initialize("eCALRecGUI", eCAL::Init::Default | eCAL::Init::Service | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/rec/rec_gui/src/main.cpp:19: - #include "ecalrec_gui.h"
+ #include "ecal/ecal_core.h"
+ #include "ecalrec_gui.h" |
||
eCAL::Monitoring::SetFilterState(false); | ||
|
||
EcalRecGui* w = new EcalRecGui(); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ AboutDialog::AboutDialog(QWidget *parent) | |
ui_.version_label->setText("Version: " + QString(ECAL_REC_VERSION_STRING)); | ||
ui_.ecalversion_label->setText("eCAL " + QString(ECAL_VERSION) + " (" + QString(ECAL_DATE) + ")"); | ||
|
||
ui_.ecal_runtime_version_string_label->setText(QString(eCAL::GetVersionString()) + " (" + QString(eCAL::GetVersionDateString()) + ")"); | ||
ui_.ecal_runtime_version_string_label->setText(QString::fromStdString(eCAL::GetVersionString()) + " (" + QString::fromStdString(eCAL::GetVersionDateString()) + ")"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::GetVersionDateString" is directly included [misc-include-cleaner] ui_.ecal_runtime_version_string_label->setText(QString::fromStdString(eCAL::GetVersionString()) + " (" + QString::fromStdString(eCAL::GetVersionDateString()) + ")");
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::GetVersionString" is directly included [misc-include-cleaner] app/rec/rec_gui/src/widgets/about_dialog/about_dialog.cpp:20: - #include "rec_client_core/ecal_rec_defs.h"
+ #include "ecal/ecal_core.h"
+ #include "rec_client_core/ecal_rec_defs.h" |
||
ui_.ecal_compiletime_versin_string_label->setText(QString(ECAL_VERSION) + " (" + QString(ECAL_DATE) + ")"); | ||
ui_.qt_runtime_version_string_label->setText(QString(qVersion())); | ||
ui_.qt_compiletime_version_string_label->setText(QString(QT_VERSION_STR)); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -330,14 +330,14 @@ int main(int argc, char** argv) | |
/************************************************************************/ | ||
if (remote_control_arg.isSet()) // Remote-control-mode | ||
{ | ||
eCAL::Initialize(argc, argv, "eCALRec-Remote", eCAL::Init::All); | ||
eCAL::Initialize("eCALRec-Remote", eCAL::Init::All); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::All" is directly included [misc-include-cleaner] app/rec/rec_server_cli/src/ecal_rec_server_cli.cpp:23: - #include <iostream>
+ #include "ecal/ecal_init.h"
+ #include <iostream> There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/rec/rec_server_cli/src/ecal_rec_server_cli.cpp:23: - #include <iostream>
+ #include "ecal/ecal_core.h"
+ #include <iostream> |
||
eCAL::Process::SetState(proc_sev_healthy, proc_sev_level1, "Running"); | ||
|
||
remote_rec_server_service = std::make_shared<eCAL::protobuf::CServiceClient<eCAL::pb::rec_server::EcalRecServerService>>(); | ||
} | ||
else // Non-remote control mode | ||
{ | ||
eCAL::Initialize(argc, argv, "eCALRec", eCAL::Init::All); | ||
eCAL::Initialize("eCALRec", eCAL::Init::All); | ||
|
||
rec_server_instance = std::make_shared<eCAL::rec_server::RecServer>(); | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ namespace eCAL | |
settings_.ClearHostFilter(); // There is no global host filter | ||
|
||
// Initialize eCAL | ||
eCAL::Initialize(0, nullptr, "eCALRec-Server", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
eCAL::Initialize("", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Default" is directly included [misc-include-cleaner] app/rec/rec_server_core/src/rec_server_impl.cpp:21: - #include "recorder_settings.h"
+ #include "ecal/ecal_init.h"
+ #include "recorder_settings.h" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Monitoring" is directly included [misc-include-cleaner] eCAL::Initialize("", eCAL::Init::Default | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/rec/rec_server_core/src/rec_server_impl.cpp:21: - #include "recorder_settings.h"
+ #include "ecal/ecal_core.h"
+ #include "recorder_settings.h" |
||
|
||
// Start FTP Server | ||
ftp_server_->start(5); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -237,14 +237,14 @@ int main(int argc, char** argv) | |
/************************************************************************/ | ||
if (remote_control_arg.isSet()) // Remote-control-mode | ||
{ | ||
eCAL::Initialize(0, nullptr, "eCALSys-Remote", eCAL::Init::All); | ||
eCAL::Initialize("eCALSys-Remote", eCAL::Init::All); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::All" is directly included [misc-include-cleaner] app/sys/sys_cli/src/ecalsys_cli.cpp:23: - #include <iostream>
+ #include "ecal/ecal_init.h"
+ #include <iostream> There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/sys/sys_cli/src/ecalsys_cli.cpp:23: - #include <iostream>
+ #include "ecal/ecal_core.h"
+ #include <iostream> |
||
eCAL::Process::SetState(proc_sev_healthy, proc_sev_level1, "Running"); | ||
|
||
remote_ecalsys_service = std::make_shared<eCAL::protobuf::CServiceClient<eCAL::pb::sys::Service>>(); | ||
} | ||
else // Non-remote control mode | ||
{ | ||
eCAL::Initialize(0, nullptr, "eCALSys", eCAL::Init::All); | ||
eCAL::Initialize("eCALSys", eCAL::Init::All); | ||
eCAL::Process::SetState(proc_sev_healthy, proc_sev_level1, "Running"); | ||
|
||
ecalsys_instance = std::make_shared<EcalSys>(); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,7 @@ int main(int argc, char** argv) | |
logger->info("eCAL Sys Client was started with " + accept_security_risk_arg.longID() + ". Not displaying security warning."); | ||
} | ||
|
||
eCAL::Initialize(argc, argv, "eCALSysClient", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
eCAL::Initialize("eCALSysClient", eCAL::Init::Default | eCAL::Init::Monitoring); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Default" is directly included [misc-include-cleaner] app/sys/sys_client_cli/src/ecal_sys_client_cli.cpp:31: - #include "ecal_sys_client_service.h"
+ #include "ecal/ecal_init.h"
+ #include "ecal_sys_client_service.h" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::Monitoring" is directly included [misc-include-cleaner] eCAL::Initialize("eCALSysClient", eCAL::Init::Default | eCAL::Init::Monitoring);
^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/sys/sys_client_cli/src/ecal_sys_client_cli.cpp:31: - #include "ecal_sys_client_service.h"
+ #include "ecal/ecal_core.h"
+ #include "ecal_sys_client_service.h" |
||
|
||
// Print System information | ||
std::string config_string; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,7 +144,7 @@ int main(int argc, char *argv[]) | |
////////////////////////////////////////////////////////////////////////////// | ||
|
||
// Just make sure that eCAL is initialized | ||
eCAL::Initialize(argc, argv, "eCALSysGUI", eCAL::Init::All); | ||
eCAL::Initialize("eCALSysGUI", eCAL::Init::All); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Init::All" is directly included [misc-include-cleaner] app/sys/sys_gui/src/main.cpp:19: - #include "ecalsys_gui.h"
+ #include "ecal/ecal_init.h"
+ #include "ecalsys_gui.h" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::Initialize" is directly included [misc-include-cleaner] app/sys/sys_gui/src/main.cpp:19: - #include "ecalsys_gui.h"
+ #include "ecal/ecal_core.h"
+ #include "ecalsys_gui.h" |
||
|
||
////////////////////////////////////// | ||
// --config | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ AboutDialog::AboutDialog(QWidget *parent) | |
ui_.version_label->setText("Version: " + QString(ECAL_SYS_VERSION_STRING)); | ||
ui_.ecalversion_label->setText("eCAL " + QString(ECAL_VERSION) + " (" + QString(ECAL_DATE) + ")"); | ||
|
||
ui_.ecal_runtime_version_string_label->setText(QString(eCAL::GetVersionString()) + " (" + QString(eCAL::GetVersionDateString()) + ")"); | ||
ui_.ecal_runtime_version_string_label->setText(QString::fromStdString(eCAL::GetVersionString()) + " (" + QString::fromStdString(eCAL::GetVersionDateString()) + ")"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "eCAL::GetVersionDateString" is directly included [misc-include-cleaner] ui_.ecal_runtime_version_string_label->setText(QString::fromStdString(eCAL::GetVersionString()) + " (" + QString::fromStdString(eCAL::GetVersionDateString()) + ")");
^ |
||
ui_.ecal_compiletime_versin_string_label->setText(QString(ECAL_VERSION) + " (" + QString(ECAL_DATE) + ")"); | ||
ui_.qt_runtime_version_string_label->setText(QString(qVersion())); | ||
ui_.qt_compiletime_version_string_label->setText(QString(QT_VERSION_STR)); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: no header providing "eCAL::Init::All" is directly included [misc-include-cleaner]
app/mon/mon_cli/src/ecal_mon_cli.cpp:23: