You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

operator.h 332 B

12345678910111213141516
  1. #pragma once
  2. #include <memory>
  3. #include "operator/operator_api.h"
  4. class Operator
  5. {
  6. public:
  7. Operator();
  8. unsigned char counter;
  9. };
  10. #include "dora-operator-api.h"
  11. std::unique_ptr<Operator> new_operator();
  12. DoraOnInputResult on_input(Operator &op, rust::Str id, rust::Slice<const uint8_t> data, OutputSender &output_sender);