14#ifndef OR_TOOLS_GSCIP_GSCIP_MESSAGE_HANDLER_H_
15#define OR_TOOLS_GSCIP_GSCIP_MESSAGE_HANDLER_H_
20#include "absl/status/statusor.h"
21#include "absl/strings/string_view.h"
22#include "scip/type_message.h"
46 void operator()(SCIP_MESSAGEHDLR* handler)
const;
55 std::unique_ptr<SCIP_MESSAGEHDLR, ReleaseSCIPMessageHandler>;
~ScopedSCIPMessageHandlerDisabler()
ScopedSCIPMessageHandlerDisabler(const MessageHandlerPtr &handler)
absl::StatusOr< MessageHandlerPtr > MakeSCIPMessageHandler(const GScipMessageHandler gscip_message_handler)
Make a message handler for SCIP that calls the input function.
MessageHandlerPtr CaptureMessageHandlerPtr(SCIP_MESSAGEHDLR *const handler)
std::unique_ptr< SCIP_MESSAGEHDLR, ReleaseSCIPMessageHandler > MessageHandlerPtr
In SWIG mode, we don't want anything besides these top-level includes.
std::function< void(GScipMessageType type, absl::string_view message)> GScipMessageHandler
void operator()(SCIP_MESSAGEHDLR *handler) const