Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IOoperation.hh
Go to the documentation of this file.
1 #pragma once
2 #include "message.hh"
3 #include "../common/block.hh"
4 #include "../common/blockmetadata.hh"
5 
6 namespace eclipse {
7 namespace messages {
8 
9 struct IOoperation: public Message {
10  std::string get_type() const override;
11 
12  enum class OpType {
21  };
22 
24  std::string option;
25 
26  uint64_t pos = 0;
27  uint64_t length = 0;
28 
31 };
32 
33 }
34 }
Definition: IOoperation.hh:9
OpType
Definition: IOoperation.hh:12
std::pair< std::string, std::string > Block
Definition: block.hh:4
uint64_t length
Definition: IOoperation.hh:27
uint64_t pos
Definition: IOoperation.hh:26
std::string option
Definition: IOoperation.hh:24
Definition: message.hh:15
std::string get_type() const override
Definition: IOoperation.cc:4
Block block
Definition: IOoperation.hh:30
Definition: blockmetadata.hh:7
BlockMetadata block_metadata
Definition: IOoperation.hh:29
OpType operation
Definition: IOoperation.hh:23