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);
153 void setReserve(
const size_t numElements);
158 bool isSlot(
void)
const;
175 void pushLabel(
const Label &label);
181 void pushMessage(
const Object &message);
206 unsigned long long _totalElements;
207 unsigned long long _totalBuffers;
208 unsigned long long _totalLabels;
209 unsigned long long _totalMessages;
212 size_t _pendingElements;
213 size_t _reserveElements;
224 std::vector<Label> _inlineMessages;
230 std::vector<OutputPort *> _subscribers;
234 bool asyncMessagesEmpty(
void);
235 Object asyncMessagesPop(
void);
236 Object asyncMessagesPeek(
void);
237 void asyncMessagesClear(
void);
241 bool slotCallsEmpty(
void);
242 Object slotCallsPop(
void);
243 void slotCallsClear(
void);
246 void inlineMessagesPush(
const Label &label);
247 void inlineMessagesClear(
void);
251 void bufferAccumulatorPush(
const BufferChunk &buffer);
252 void bufferAccumulatorPushNoLock(
const BufferChunk &buffer);
253 void bufferAccumulatorPop(
const size_t numBytes);
254 void bufferAccumulatorRequire(
const size_t numBytes);
255 void bufferAccumulatorClear(
void);
258 void bufferLabelPush(
259 const std::vector<Label> &postedLabels,
265 friend class WorkerActor;
Definition: BufferAccumulator.hpp:31
#define POTHOS_API
Definition: Config.hpp:41
Definition: OutputPort.hpp:31
Definition: SpinLock.hpp:26
Definition: Testing.hpp:134
Definition: Object.hpp:55
Definition: RingDeque.hpp:29
Definition: BufferChunk.hpp:30
static const BufferChunk & null(void)
Get a const reference to a null/empty BufferChunk.