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

Function eCAL::Initialize(std::vector<std::string>, const char *, unsigned int)#

Function Documentation#

ECAL_API int eCAL::Initialize(std::vector<std::string> args_, const char *unit_name_ = nullptr, unsigned int components_ = Init::Default)#

Initialize eCAL API.

Parameters:
  • args_ – Vector of config arguments to overwrite ([“arg1”, “value1”, “arg2”, “arg3”, “value3” ..]).

  • 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.