Function eCAL::Initialize(int, char **, const char *, unsigned int)

Function Documentation

ECAL_API int eCAL::Initialize(int argc_ = 0, char **argv_ = nullptr, const char *unit_name_ = nullptr, unsigned int components_ = Init::Default)

Initialize eCAL API.

Parameters
  • argc_ – Number of command line arguments.

  • argv_ – Array of command line arguments.

  • unit_name_ – Defines the name of the eCAL unit.

  • components_ – Defines which component to initialize.

Returns

Zero if succeeded, 1 if already initialized, -1 if failed.