Definition at line 63 of file MuxConfigParser.h.
|
| MuxConfigParser () |
|
| ~MuxConfigParser () |
|
bool | SetConfigFile (gchar const *const cfgFilePath) |
|
bool | ParseConfigs (BatchPolicyConfig *batchPolicy, bool defaults=false, guint numSources=1) |
| Parse the Config file for per-source properties Note: For batch-size, if config unavailable in the file, it shall be set to default only if batchPolicy->batch_size was not set to a non-zero value by the caller. More...
|
|
◆ MuxConfigParser()
MuxConfigParser::MuxConfigParser |
( |
| ) |
|
◆ ~MuxConfigParser()
MuxConfigParser::~MuxConfigParser |
( |
| ) |
|
◆ ParseConfigs()
bool MuxConfigParser::ParseConfigs |
( |
BatchPolicyConfig * |
batchPolicy, |
|
|
bool |
defaults = false , |
|
|
guint |
numSources = 1 |
|
) |
| |
Parse the Config file for per-source properties Note: For batch-size, if config unavailable in the file, it shall be set to default only if batchPolicy->batch_size was not set to a non-zero value by the caller.
- Parameters
-
batchPolicy | [IN/OUT] The batchPolicy to fill the source properties in |
- Returns
- true if successful, false otherwise
◆ SetConfigFile()
bool MuxConfigParser::SetConfigFile |
( |
gchar const *const |
cfgFilePath | ) |
|
The documentation for this class was generated from the following file: