LeviLamina
Loading...
Searching...
No Matches
BufferQueue.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace rtc {
6
8public:
9 // member variables
10 // NOLINTBEGIN
16 // NOLINTEND
17
18public:
19 // prevent constructor by default
20 BufferQueue& operator=(BufferQueue const&);
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCNAPI BufferQueue(uint64 capacity, uint64 default_size);
28
29 MCNAPI void Clear();
30
31 MCNAPI bool ReadFront(void* buffer, uint64 bytes, uint64* bytes_read);
32
33 MCNAPI bool WriteBack(void const* buffer, uint64 bytes, uint64* bytes_written);
34
35 MCNAPI uint64 size() const;
36
37 MCNAPI ~BufferQueue();
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCNAPI void* $ctor(uint64 capacity, uint64 default_size);
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCNAPI void $dtor();
50 // NOLINTEND
51};
52
53} // namespace rtc
Definition BufferQueue.h:7
MCAPI void $dtor()
MCAPI BufferQueue(uint64 capacity, uint64 default_size)
MCAPI void Clear()
MCAPI bool ReadFront(void *buffer, uint64 bytes, uint64 *bytes_read)
MCAPI uint64 size() const
MCAPI void * $ctor(uint64 capacity, uint64 default_size)
MCAPI ~BufferQueue()
MCAPI bool WriteBack(void const *buffer, uint64 bytes, uint64 *bytes_written)
Definition buffer.h:5
Definition Alias.h:14