95 : description_(description) {}
109 absl::Status
Register(GScip* gscip);
119 virtual SCIP_RETCODE
Init(GScip* gscip) {
return SCIP_OKAY; }
138 virtual SCIP_RETCODE
Exit(GScip* gscip) {
return SCIP_OKAY; }
157 SCIP_RETCODE
CatchEvent(SCIP_EVENTTYPE event_type);
161 CaughtEvent(
const SCIP_EVENTTYPE event_type,
const int filter_pos)
162 : event_type(event_type), filter_pos(filter_pos) {}
165 SCIP_EVENTTYPE event_type;
185 const GScipEventHandlerDescription description_;
188 GScip* gscip_ =
nullptr;
191 SCIP_EVENTHDLR* event_handler_ =
nullptr;
194 std::vector<CaughtEvent> caught_events_;
GScipEventHandlerContext(GScip *gscip, SCIP_EVENTTYPE event_type)
SCIP_EVENTTYPE event_type() const