42 int index(
void)
const;
45 const std::string &name(
void)
const;
48 const std::string &alias(
void)
const;
51 void setAlias(
const std::string &alias);
54 const DType &dtype(
void)
const;
57 const std::string &domain(
void)
const;
69 size_t elements(
void)
const;
76 unsigned long long totalElements(
void)
const;
83 unsigned long long totalBuffers(
void)
const;
90 unsigned long long totalLabels(
void)
const;
97 unsigned long long totalMessages(
void)
const;
100 bool hasMessage(
void);
117 void removeLabel(
const Label &label);
125 void consume(
const size_t numElements);
168 void setReserve(
const size_t numElements);
173 bool isSlot(
void)
const;
190 void pushLabel(
const Label &label);
196 void pushMessage(
const Object &message);
221 unsigned long long _totalElements;
222 unsigned long long _totalBuffers;
223 unsigned long long _totalLabels;
224 unsigned long long _totalMessages;
227 size_t _pendingElements;
228 size_t _reserveElements;
239 std::vector<Label> _inlineMessages;
245 std::vector<OutputPort *> _subscribers;
249 bool asyncMessagesEmpty(
void);
250 Object asyncMessagesPop(
void);
251 Object asyncMessagesPeek(
void);
252 void asyncMessagesClear(
void);
256 bool slotCallsEmpty(
void);
257 Object slotCallsPop(
void);
258 void slotCallsClear(
void);
261 void inlineMessagesPush(
const Label &label);
262 void inlineMessagesClear(
void);
266 void bufferAccumulatorPush(
const BufferChunk &buffer);
267 void bufferAccumulatorPushNoLock(
BufferChunk &&buffer);
268 void bufferAccumulatorPop(
const size_t numBytes);
269 void bufferAccumulatorRequire(
const size_t numBytes);
270 void bufferAccumulatorClear(
void);
273 void bufferLabelPush(
274 const bool enableMove,
275 std::vector<Label> &postedLabels,
281 friend class WorkerActor;
Definition: BufferAccumulator.hpp:31
#define POTHOS_API
Definition: Config.hpp:41
Definition: OutputPort.hpp:31
Definition: SpinLock.hpp:26
Definition: ArchiveEntry.hpp:20
Definition: Object.hpp:47
Definition: RingDeque.hpp:29
Definition: BufferChunk.hpp:30
static const BufferChunk & null(void)
Get a const reference to a null/empty BufferChunk.