| 163 | }; |
| 164 | |
| 165 | class CustomQuery : public CustomFunction |
| 166 | { |
| 167 | public: |
| 168 | inline CustomQuery(std::string const & name, std::vector<CustomFunctionParam> params, |
| 169 | std::function<bool(OsiArgumentDesc &)> handler) |
| 170 | : CustomFunction(name, std::move(params)), handler_(handler) |
| 171 | {} |
| 172 | |
| 173 | bool Query(OsiArgumentDesc & params); |
| 174 | |
| 175 | private: |
| 176 | std::function<bool(OsiArgumentDesc &)> handler_; |
| 177 | }; |
| 178 | |
| 179 | class CustomEvent : public CustomFunction |
| 180 | { |
nothing calls this directly
no outgoing calls
no test coverage detected