eapol/eapol_framework/eapol_common/include/eap_automatic_variable.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    25 
    25 
    26 #include "eap_am_memory.h"
    26 #include "eap_am_memory.h"
    27 #include "eap_tools.h"
    27 #include "eap_tools.h"
    28 #include "eap_am_tools.h"
    28 #include "eap_am_tools.h"
    29 #include "eap_am_export.h"
    29 #include "eap_am_export.h"
       
    30 // Start: added by script change_export_macros.sh.
       
    31 #if defined(EAP_NO_EXPORT_EAP_AUTOMATIC_VARIABLE_H)
       
    32 	#define EAP_CLASS_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H EAP_NONSHARABLE 
       
    33 	#define EAP_FUNC_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H 
       
    34 	#define EAP_C_FUNC_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H 
       
    35 	#define EAP_FUNC_EXPORT_EAP_AUTOMATIC_VARIABLE_H 
       
    36 	#define EAP_C_FUNC_EXPORT_EAP_AUTOMATIC_VARIABLE_H 
       
    37 #elif defined(EAP_EXPORT_EAP_AUTOMATIC_VARIABLE_H)
       
    38 	#define EAP_CLASS_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H EAP_EXPORT 
       
    39 	#define EAP_FUNC_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H EAP_FUNC_EXPORT 
       
    40 	#define EAP_C_FUNC_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H EAP_C_FUNC_EXPORT 
       
    41 	#define EAP_FUNC_EXPORT_EAP_AUTOMATIC_VARIABLE_H EAP_FUNC_EXPORT 
       
    42 	#define EAP_C_FUNC_EXPORT_EAP_AUTOMATIC_VARIABLE_H EAP_C_FUNC_EXPORT 
       
    43 #else
       
    44 	#define EAP_CLASS_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H EAP_IMPORT 
       
    45 	#define EAP_FUNC_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H EAP_FUNC_IMPORT 
       
    46 	#define EAP_C_FUNC_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H EAP_C_FUNC_IMPORT 
       
    47 	#define EAP_FUNC_EXPORT_EAP_AUTOMATIC_VARIABLE_H 
       
    48 	#define EAP_C_FUNC_EXPORT_EAP_AUTOMATIC_VARIABLE_H 
       
    49 #endif
       
    50 // End: added by script change_export_macros.sh.
    30 
    51 
    31 /**
    52 /**
    32  * @{ Add some comments. }
    53  * @{ Add some comments. }
    33  */
    54  */
    34 template <class Type>
    55 template <class Type>
    35 class EAP_EXPORT eap_automatic_variable_c
    56 class EAP_CLASS_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H eap_automatic_variable_c
    36 {
    57 {
    37 private:
    58 private:
    38 	abs_eap_am_tools_c * const m_am_tools;
    59 	abs_eap_am_tools_c * const m_am_tools;
    39 
    60 
    40 	/// This is the pointer to the actual object that will be deleted if different than zero.
    61 	/// This is the pointer to the actual object that will be deleted if different than zero.
   108 
   129 
   109 /**
   130 /**
   110  * @{ Add some comments. }
   131  * @{ Add some comments. }
   111  */
   132  */
   112 template <class Type>
   133 template <class Type>
   113 class EAP_EXPORT eap_automatic_array_variable_c
   134 class EAP_CLASS_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H eap_automatic_array_variable_c
   114 {
   135 {
   115 private:
   136 private:
   116 	abs_eap_am_tools_c * const m_am_tools;
   137 	abs_eap_am_tools_c * const m_am_tools;
   117 
   138 
   118 	/// This is the pointer to the actual object array that will be deleted if different than zero.
   139 	/// This is the pointer to the actual object array that will be deleted if different than zero.
   174 
   195 
   175 /**
   196 /**
   176  * @{ Add some comments. }
   197  * @{ Add some comments. }
   177  */
   198  */
   178 template <class Type>
   199 template <class Type>
   179 class EAP_EXPORT eap_automatic_simple_value_c
   200 class EAP_CLASS_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H eap_automatic_simple_value_c
   180 {
   201 {
   181 private:
   202 private:
   182 	abs_eap_am_tools_c * const m_am_tools;
   203 	abs_eap_am_tools_c * const m_am_tools;
   183 
   204 
   184 	/// This is pointer to the variable that will be restored on destructor.
   205 	/// This is pointer to the variable that will be restored on destructor.
   234 //--------------------------------------------------
   255 //--------------------------------------------------
   235 
   256 
   236 /**
   257 /**
   237  * @{ Add some comments. }
   258  * @{ Add some comments. }
   238  */
   259  */
   239 class EAP_EXPORT eap_automatic_trace_string_c
   260 class EAP_CLASS_VISIBILITY_EAP_AUTOMATIC_VARIABLE_H eap_automatic_trace_string_c
   240 {
   261 {
   241 private:
   262 private:
   242 	abs_eap_am_tools_c * const m_am_tools;
   263 	abs_eap_am_tools_c * const m_am_tools;
   243 
   264 
   244 	/// This is pointer to the string that will be traced on destructor.
   265 	/// This is pointer to the string that will be traced on destructor.