From 744d9eed93087488ccd2d7f43add835e039fdb66 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Thu, 22 Jun 2006 14:10:44 +0000 Subject: Now possible to specify a list of filters to load at the capture port level. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@283 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkbasecxx/Config.cpp | 1 + orkbasecxx/Config.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'orkbasecxx') diff --git a/orkbasecxx/Config.cpp b/orkbasecxx/Config.cpp index f394624..7921218 100644 --- a/orkbasecxx/Config.cpp +++ b/orkbasecxx/Config.cpp @@ -82,6 +82,7 @@ void Config::Define(Serializer* s) s->IntValue(BATCH_PROCESSING_QUEUE_SIZE_PARAM, m_batchProcessingQueueSize); s->BoolValue(BATCH_PROCESSING_ENHANCE_PRIORITY_PARAM, m_batchProcessingEnhancePriority); s->BoolValue(DELETE_FAILED_CAPTURE_FILE_PARAM, m_deleteFailedCaptureFile); + s->CsvValue(CAPTURE_PORT_FILTERS_PARAM, m_capturePortFilters); } void Config::Validate() diff --git a/orkbasecxx/Config.h b/orkbasecxx/Config.h index 2587416..f3e2fd3 100644 --- a/orkbasecxx/Config.h +++ b/orkbasecxx/Config.h @@ -69,6 +69,7 @@ #define BATCH_PROCESSING_ENHANCE_PRIORITY_DEFAULT false #define DELETE_FAILED_CAPTURE_FILE_PARAM "DeleteFailedCaptureFile" #define DELETE_FAILED_CAPTURE_FILE_DEFAULT false +#define CAPTURE_PORT_FILTERS_PARAM "CapturePortFilters" class DLL_IMPORT_EXPORT Config : public Object { @@ -107,6 +108,7 @@ public: int m_batchProcessingQueueSize; bool m_batchProcessingEnhancePriority; bool m_deleteFailedCaptureFile; + std::list m_capturePortFilters; private: log4cxx::LoggerPtr m_log; -- cgit v1.2.3