forked from compAIR/libcreate
Expose functions for getting number of corrupt packets and total packets in Create class
This commit is contained in:
parent
bcd27b788a
commit
9cb3250268
5 changed files with 20 additions and 11 deletions
|
@ -97,8 +97,8 @@ namespace create {
|
|||
inline bool connected() const { return port.is_open(); };
|
||||
bool send(const uint8_t* bytes, const uint32_t numBytes);
|
||||
bool sendOpcode(const Opcode& code);
|
||||
uint64_t getNumCorruptPackets();
|
||||
uint64_t getNumTotalPackets();
|
||||
uint64_t getNumCorruptPackets() const;
|
||||
uint64_t getTotalPackets() const;
|
||||
};
|
||||
} // namespace create
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue