Helper structure managing data and ports associated with a port id. More...
#include <input_node.h>
Public Member Functions | |
| DataPortHandle ()=delete | |
| DataPortHandle (const std::string &id, ComputationalNode *parent, size_t queue_size) | |
| Constructor. More... | |
| void | publishLast () |
| Publish last item in data. More... | |
| void | publishAll () |
| Publish all items in data. More... | |
| void | publishNullandClear () |
| Publish a null pointer. More... | |
| bool | addMsg (const DATA *msg) |
| Add a new message to the stored data. More... | |
| void | clear () |
| Clear data. More... | |
| size_t | size () |
| Return the size of stored data. More... | |
Public Attributes | |
| std::shared_ptr< OutputPort< DATA > > | singlePort |
| Port used to send a single msg. More... | |
| std::shared_ptr< OutputPort< std::vector< const DATA * > > > | listPort |
| Port used to send a list of msgs. More... | |
Helper structure managing data and ports associated with a port id.
|
delete |
|
inline |
Constructor.
|
inline |
Add a new message to the stored data.
|
inline |
Clear data.
|
inline |
Publish all items in data.
|
inline |
Publish last item in data.
|
inline |
Publish a null pointer.
|
inline |
Return the size of stored data.
| std::shared_ptr<OutputPort<std::vector<const DATA*> > > DataPortHandle< DATA >::listPort |
Port used to send a list of msgs.
| std::shared_ptr<OutputPort<DATA> > DataPortHandle< DATA >::singlePort |
Port used to send a single msg.