VLink  2.1.0
A high-performance communication middleware
vlink::TriggerRecorder::TriggerParams Struct Referencefinal

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

#include <trigger_recorder.h>

Collaboration diagram for vlink::TriggerRecorder::TriggerParams:

Public Member Functions

 TriggerParams ()
 

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ TriggerParams()

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

Member Data Documentation

◆ 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.


The documentation for this struct was generated from the following file: