    

 ## On this page

  

 

 # logger\_interface

 Last update: 16.07.2025 

[Go to the documentation of this file.](logger__interface_8h.xhtml)<a id="l00001" name="l00001"></a> 1 /\* \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00002" name="l00002"></a> 2  \* Copyright 2018-2019 ANSYS, Inc.

<a id="l00003" name="l00003"></a> 3  \* All Rights Reserved.

<a id="l00004" name="l00004"></a> 4  \*

<a id="l00005" name="l00005"></a> 5  \* Restricted Rights Legend

<a id="l00006" name="l00006"></a> 6  \*

<a id="l00007" name="l00007"></a> 7  \* Use, duplication, or disclosure of this

<a id="l00008" name="l00008"></a> 8  \* software and its documentation by the

<a id="l00009" name="l00009"></a> 9  \* Government is subject to restrictions as

<a id="l00010" name="l00010"></a> 10  \* set forth in subdivision \[(b)(3)(ii)\] of

<a id="l00011" name="l00011"></a> 11  \* the Rights in Technical Data and Computer

<a id="l00012" name="l00012"></a> 12  \* Software clause at 52.227-7013.

<a id="l00013" name="l00013"></a> 13  \* \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

<a id="l00014" name="l00014"></a> 14  \*/

<a id="l00015" name="l00015"></a> 15 

<a id="l00016" name="l00016"></a> 16 \#ifndef \_\_\_\_DVS\_LOGGER\_INTERFACE\_H\_\_\_\_

<a id="l00017" name="l00017"></a> 17 \#define \_\_\_\_DVS\_LOGGER\_INTERFACE\_H\_\_\_\_

<a id="l00018" name="l00018"></a> 18 

<a id="l00026" name="l00026"></a> 26 \#include "[dynamic\_visualization\_store\_api.h](dynamic__visualization__store__api_8h.xhtml)"

<a id="l00027" name="l00027"></a> 27 

<a id="l00028" name="l00028"></a> 28 namespace DVS

<a id="l00029" name="l00029"></a> 29 {

<a id="l00034" name="l00034"></a>[ 34](class_d_v_s_1_1_i_logger.xhtml) class [ILogger](class_d_v_s_1_1_i_logger.xhtml)

<a id="l00035" name="l00035"></a> 35 {

<a id="l00036" name="l00036"></a> 36 public:

<a id="l00037" name="l00037"></a>[ 37](class_d_v_s_1_1_i_logger.xhtml#ae3ad4b03475688be53c56aa703840227) [ILogger](class_d_v_s_1_1_i_logger.xhtml#ae3ad4b03475688be53c56aa703840227)() = default; 

<a id="l00038" name="l00038"></a>[ 38](class_d_v_s_1_1_i_logger.xhtml#a1999933d81b7e0970d699f310dbe5fb3) virtual [~ILogger](class_d_v_s_1_1_i_logger.xhtml#a1999933d81b7e0970d699f310dbe5fb3)() = default; 

<a id="l00039" name="l00039"></a>[ 39](class_d_v_s_1_1_i_logger.xhtml#a146660f2ca9ca6857400b94e772ee28c) [ILogger](class_d_v_s_1_1_i_logger.xhtml#a146660f2ca9ca6857400b94e772ee28c)([ILogger](class_d_v_s_1_1_i_logger.xhtml)&amp;&amp;) = default; 

<a id="l00040" name="l00040"></a>[ 40](class_d_v_s_1_1_i_logger.xhtml#af2c363d5fabe5a3c8e77add254372da3) [ILogger](class_d_v_s_1_1_i_logger.xhtml)&amp; [operator=](class_d_v_s_1_1_i_logger.xhtml#af2c363d5fabe5a3c8e77add254372da3)([ILogger](class_d_v_s_1_1_i_logger.xhtml)&amp;&amp;) = default; 

<a id="l00041" name="l00041"></a>[ 41](class_d_v_s_1_1_i_logger.xhtml#a7ac1dddc6570bdccbde4c842b0426778) [ILogger](class_d_v_s_1_1_i_logger.xhtml#a7ac1dddc6570bdccbde4c842b0426778)(const [ILogger](class_d_v_s_1_1_i_logger.xhtml)&amp;) = default; 

<a id="l00042" name="l00042"></a>[ 42](class_d_v_s_1_1_i_logger.xhtml#abed0eb01d4efdffb6e4b2c522d07621f) [ILogger](class_d_v_s_1_1_i_logger.xhtml)&amp; [operator=](class_d_v_s_1_1_i_logger.xhtml#abed0eb01d4efdffb6e4b2c522d07621f)(const [ILogger](class_d_v_s_1_1_i_logger.xhtml)&amp;) = default; 

<a id="l00043" name="l00043"></a> 43 

<a id="l00051" name="l00051"></a>[ 51](class_d_v_s_1_1_i_logger.xhtml#a8f562c0a88964401a6bd50fc7b387ef5) virtual void [log](class_d_v_s_1_1_i_logger.xhtml#a8f562c0a88964401a6bd50fc7b387ef5)(int type, const char* msg, ...) = 0;

<a id="l00052" name="l00052"></a> 52 

<a id="l00060" name="l00060"></a>[ 60](class_d_v_s_1_1_i_logger.xhtml#a753d496b0ca488a74e6209f330b13458) virtual void [release](class_d_v_s_1_1_i_logger.xhtml#a753d496b0ca488a74e6209f330b13458)() {};

<a id="l00061" name="l00061"></a> 61 };

<a id="l00062" name="l00062"></a> 62 }

<a id="l00063" name="l00063"></a> 63 

<a id="l00064" name="l00064"></a> 64 \#endif //\_\_\_\_DVS\_LOGGER\_INTERFACE\_H\_\_\_\_

[DVS::ILogger](class_d_v_s_1_1_i_logger.xhtml)

Interface for a logger to be used by DVS::IClient.

**Definition:** [logger\_interface.h:35](logger__interface_8h_source.xhtml#l00034)



[DVS::ILogger::ILogger](class_d_v_s_1_1_i_logger.xhtml#a146660f2ca9ca6857400b94e772ee28c)

ILogger(ILogger &amp;&amp;)=default

default



[DVS::ILogger::~ILogger](class_d_v_s_1_1_i_logger.xhtml#a1999933d81b7e0970d699f310dbe5fb3)

virtual ~ILogger()=default

default



[DVS::ILogger::release](class_d_v_s_1_1_i_logger.xhtml#a753d496b0ca488a74e6209f330b13458)

virtual void release()

Release the memory of the object.

**Definition:** [logger\_interface.h:60](logger__interface_8h_source.xhtml#l00060)



[DVS::ILogger::ILogger](class_d_v_s_1_1_i_logger.xhtml#a7ac1dddc6570bdccbde4c842b0426778)

ILogger(const ILogger &amp;)=default

support copying



[DVS::ILogger::log](class_d_v_s_1_1_i_logger.xhtml#a8f562c0a88964401a6bd50fc7b387ef5)

virtual void log(int type, const char *msg,...)=0

Logging method to be overriden.



[DVS::ILogger::operator=](class_d_v_s_1_1_i_logger.xhtml#abed0eb01d4efdffb6e4b2c522d07621f)

ILogger &amp; operator=(const ILogger &amp;)=default

default



[DVS::ILogger::ILogger](class_d_v_s_1_1_i_logger.xhtml#ae3ad4b03475688be53c56aa703840227)

ILogger()=default

default



[DVS::ILogger::operator=](class_d_v_s_1_1_i_logger.xhtml#af2c363d5fabe5a3c8e77add254372da3)

ILogger &amp; operator=(ILogger &amp;&amp;)=default

default



[dynamic\_visualization\_store\_api.h](dynamic__visualization__store__api_8h.xhtml)

C API for using Dynamic Visualization Store.