VLink  2.1.0
A high-performance communication middleware
vlink::TriggerRecorder::TriggerParams结构体 参考final

Per-trigger parameters; a pure data struct with no RPC or protobuf dependency. 更多...

#include <trigger_recorder.h>

vlink::TriggerRecorder::TriggerParams 的协作图:

Public 成员函数

 TriggerParams ()
 

Public 属性

std::string reason
 Human-readable trigger reason; stored as the bag tag. 更多...
 
std::string name_hint
 Optional base name; a numeric suffix is added rather than replacing an existing bag. 更多...
 
std::string out_file
 Explicit output path; when empty a name under dump_dir is generated. 更多...
 
int64_t pre_ms {-1}
 Per-trigger pre window; <0 uses each URL's configured pre (may only shrink it). 更多...
 
int64_t post_ms {-1}
 Per-trigger post window; <0 uses each URL's configured post (may only shrink it). 更多...
 
std::unordered_set< std::string > whitelist
 Exact URL whitelist; empty means all URLs pass this stage. 更多...
 
std::unordered_set< std::string > blacklist
 Exact URL blacklist applied after whitelist. 更多...
 
std::string filter_str
 Secondary comma/space-separated substring filter. 更多...
 
bool black_mode {false}
 False keeps substring matches; true drops them. 更多...
 

详细描述

Per-trigger parameters; a pure data struct with no RPC or protobuf dependency.

构造及析构函数说明

◆ TriggerParams()

vlink::TriggerRecorder::TriggerParams::TriggerParams ( )
inline

类成员变量说明

◆ black_mode

bool vlink::TriggerRecorder::TriggerParams::black_mode {false}

False keeps substring matches; true drops them.

◆ blacklist

std::unordered_set<std::string> vlink::TriggerRecorder::TriggerParams::blacklist

Exact URL blacklist applied after whitelist.

◆ filter_str

std::string vlink::TriggerRecorder::TriggerParams::filter_str

Secondary comma/space-separated substring filter.

◆ name_hint

std::string vlink::TriggerRecorder::TriggerParams::name_hint

Optional base name; a numeric suffix is added rather than replacing an existing bag.

◆ out_file

std::string vlink::TriggerRecorder::TriggerParams::out_file

Explicit output path; when empty a name under dump_dir is generated.

◆ post_ms

int64_t vlink::TriggerRecorder::TriggerParams::post_ms {-1}

Per-trigger post window; <0 uses each URL's configured post (may only shrink it).

◆ pre_ms

int64_t vlink::TriggerRecorder::TriggerParams::pre_ms {-1}

Per-trigger pre window; <0 uses each URL's configured pre (may only shrink it).

◆ reason

std::string vlink::TriggerRecorder::TriggerParams::reason

Human-readable trigger reason; stored as the bag tag.

◆ whitelist

std::unordered_set<std::string> vlink::TriggerRecorder::TriggerParams::whitelist

Exact URL whitelist; empty means all URLs pass this stage.


该结构体的文档由以下文件生成: