55 void reset(std::shared_ptr<BufferManager> manager,
const SharedBuffer &buff,
const size_t slabIndex = 0);
70 size_t getSlabIndex(
void)
const;
88 std::shared_ptr<BufferManager> getBufferManager(
void)
const;
97 bool unique(
void)
const;
102 size_t useCount(
void)
const;
105 struct Impl; Impl *_impl;
117 inline Pothos::ManagedBuffer::operator bool(
void)
const
119 return _impl !=
nullptr;
124 return _impl < rhs._impl;
129 return this->useCount() == 1;
134 return lhs._impl == rhs._impl;
#define pothos_explicit
Definition: Config.hpp:85
#define POTHOS_API
Definition: Config.hpp:41
POTHOS_API bool operator==(const Callable &lhs, const Callable &rhs)
bool unique(void) const
Definition: ManagedBuffer.hpp:127
Definition: ManagedBuffer.hpp:27
Definition: SharedBuffer.hpp:21
bool operator<(const ManagedBuffer &) const
sortable operator for ManagedBuffer
Definition: ManagedBuffer.hpp:122