logger_interface.h Last update: 17.04.2023 Go to the documentation of this file. 1 /* ************************************************************* 2 * Copyright 2018-2019 ANSYS, Inc. 3 * All Rights Reserved. 4 * 5 * Restricted Rights Legend 6 * 7 * Use, duplication, or disclosure of this 8 * software and its documentation by the 9 * Government is subject to restrictions as 10 * set forth in subdivision [(b)(3)(ii)] of 11 * the Rights in Technical Data and Computer 12 * Software clause at 52.227-7013. 13 * ************************************************************* 14 */ 15 16 #ifndef ____DVS_LOGGER_INTERFACE_H____ 17 #define ____DVS_LOGGER_INTERFACE_H____ 18 26 #include "dynamic_visualization_store_api.h" 27 28 namespace DVS 29 { 34 class ILogger 35 { 36 public: 37 ILogger() = default; 38 virtual ~ILogger() = default; 39 ILogger(ILogger&&) = default; 40 ILogger& operator=(ILogger&&) = default; 41 ILogger(const ILogger&) = default; 42 ILogger& operator=(const ILogger&) = default; 43 51 virtual void log(int type, const char* msg, ...) = 0; 52 60 virtual void release() {}; 61 }; 62 } 63 64 #endif //____DVS_LOGGER_INTERFACE_H____ DVS::ILoggerInterface for a logger to be used by DVS::IClient.Definition: logger_interface.h:35 DVS::ILogger::ILoggerILogger(ILogger &&)=defaultdefault DVS::ILogger::~ILoggervirtual ~ILogger()=defaultdefault DVS::ILogger::releasevirtual void release()Release the memory of the object.Definition: logger_interface.h:60 DVS::ILogger::ILoggerILogger(const ILogger &)=defaultsupport copying DVS::ILogger::logvirtual void log(int type, const char *msg,...)=0Logging method to be overriden. DVS::ILogger::operator=ILogger & operator=(const ILogger &)=defaultdefault DVS::ILogger::ILoggerILogger()=defaultdefault DVS::ILogger::operator=ILogger & operator=(ILogger &&)=defaultdefault dynamic_visualization_store_api.hC API for using Dynamic Visualization Store.