summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities
diff options
context:
space:
mode:
authorChristian Linke <Christian.Linke@bmw.de>2016-06-17 02:58:38 -0700
committerChristian Linke <Christian.Linke@bmw.de>2016-06-17 02:59:34 -0700
commit8f5563bd07f6d71b8358c9e9e84ea6551b60a734 (patch)
tree7c570a66fa6964a8f8ac2ff139ef385c165f6e92 /AudioManagerUtilities
parent7918c698441c216e461f9995b16540ee5a8f1756 (diff)
downloadaudiomanager-8f5563bd07f6d71b8358c9e9e84ea6551b60a734.tar.gz
cleanup routing interface to add clean abort and resend possibilities7.5
Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
Diffstat (limited to 'AudioManagerUtilities')
-rw-r--r--AudioManagerUtilities/include/CAmDltWrapper.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/AudioManagerUtilities/include/CAmDltWrapper.h b/AudioManagerUtilities/include/CAmDltWrapper.h
index 90ce903..dc5ec64 100644
--- a/AudioManagerUtilities/include/CAmDltWrapper.h
+++ b/AudioManagerUtilities/include/CAmDltWrapper.h
@@ -298,6 +298,12 @@ public:
}
append(mStr_Handle[value]);
}
+
+ template<typename T = const am_Handle_s> void append(const am_Handle_s value)
+ {
+ append (value.handleType);
+ append (value.handle);
+ }
template<typename T = const am_NotificationStatus_e> void append(const am_NotificationStatus_e value)
{
@@ -423,6 +429,17 @@ void logWarning(T value, TArgs... args)
log(NULL, DLT_LOG_WARN,value,args...);
}
+/**
+ * logs given values with verbose with the default context
+ * @param value
+ * @param ...
+ */
+template<typename T, typename... TArgs>
+void logVerbose(T value, TArgs... args)
+{
+ log(NULL, DLT_LOG_VERBOSE,value,args...);
+}
+
}
#endif /* DLTWRAPPER_H_ */