40 int index(
void)
const;
43 const std::string &name(
void)
const;
46 const DType &dtype(
void)
const;
49 const std::string &domain(
void)
const;
61 size_t elements(
void)
const;
68 unsigned long long totalElements(
void)
const;
75 unsigned long long totalMessages(
void)
const;
83 void produce(
const size_t numElements);
94 void popBuffer(
const size_t numBytes);
100 void postLabel(
const Label &label);
106 template <
typename ValueType>
107 void postMessage(ValueType &&message);
123 bool isSignal(
void)
const;
143 void setReadBeforeWrite(
InputPort *port);
146 OutputPortImpl *_impl;
153 unsigned long long _totalElements;
154 unsigned long long _totalMessages;
155 size_t _pendingElements;
159 friend class WorkerActor;
160 void _postMessage(
const Object &message);
197 return _totalElements;
202 return _totalMessages;
207 _pendingElements += numElements;
210 template <
typename ValueType>
213 Pothos::OutputPort::_postMessage(
Pothos::Object(std::forward<ValueType>(message)));
size_t elements(void) const
Definition: OutputPort.hpp:190
const std::string & name(void) const
Get the string name identifier for this port.
Definition: OutputPort.hpp:170
#define POTHOS_API
Definition: Config.hpp:41
Definition: OutputPort.hpp:28
unsigned long long totalElements(void) const
Definition: OutputPort.hpp:195
const DType & dtype(void) const
Get the data type information for this port.
Definition: OutputPort.hpp:175
Definition: Object.hpp:55
void produce(const size_t numElements)
Definition: OutputPort.hpp:205
const BufferChunk & buffer(void) const
Definition: OutputPort.hpp:185
const std::string & domain(void) const
Get the domain information for this port.
Definition: OutputPort.hpp:180
int index(void) const
Definition: OutputPort.hpp:165
Definition: BufferChunk.hpp:26
unsigned long long totalMessages(void) const
Definition: OutputPort.hpp:200
void postMessage(ValueType &&message)
Definition: OutputPort.hpp:211