Program Listing for File ecal_util.h¶
↰ Return to documentation for file (ecal/core/include/ecal/ecal_util.h
)
/* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2019 Continental Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* ========================= eCAL LICENSE =================================
*/
#pragma once
#include <ecal/ecal_os.h>
#include <string>
namespace eCAL
{
namespace Util
{
[[deprecated]]
ECAL_API std::string GeteCALHomePath();
ECAL_API std::string GeteCALConfigPath();
ECAL_API std::string GeteCALUserSettingsPath();
ECAL_API std::string GeteCALLogPath();
ECAL_API std::string GeteCALActiveIniFile();
[[deprecated]]
ECAL_API std::string GeteCALDefaultIniFile();
ECAL_API void ShutdownProcess(const std::string& unit_name_);
ECAL_API void ShutdownProcess(int process_id_);
ECAL_API void ShutdownProcesses();
ECAL_API void ShutdownCore();
ECAL_API void EnableLoopback(bool state_);
ECAL_API void PubShareType(bool state_);
ECAL_API void PubShareDescription(bool state_);
ECAL_API bool GetTopicTypeName(const std::string& topic_name_, std::string& topic_type_);
ECAL_API std::string GetTopicTypeName(const std::string& topic_name_);
ECAL_API bool GetTopicDescription(const std::string& topic_name_, std::string& topic_desc_);
ECAL_API std::string GetTopicDescription(const std::string& topic_name_);
ECAL_API bool GetServiceTypeNames(const std::string& service_name_, const std::string& method_name_, std::string& req_type_, std::string& resp_type_);
ECAL_API bool GetServiceDescription(const std::string& service_name_, const std::string& method_name_, std::string& req_desc_, std::string& resp_desc_);
[[deprecated]]
ECAL_API bool GetTypeName(const std::string& topic_name_, std::string& topic_type_);
[[deprecated]]
ECAL_API std::string GetTypeName(const std::string& topic_name_);
[[deprecated]]
ECAL_API bool GetDescription(const std::string& topic_name_, std::string& topic_desc_);
[[deprecated]]
ECAL_API std::string GetDescription(const std::string& topic_name_);
}
}