#include <dataoutport.h>
|
using | type = T |
|
using | const_iterator = typename OutportIterable< T >::const_iterator |
|
|
| DataOutport (std::string identifier) |
|
virtual std::string | getClassIdentifier () const override |
|
virtual uvec3 | getColorCode () const override |
|
virtual Document | getInfo () const override |
|
virtual std::shared_ptr< const T > | getData () const |
|
virtual std::shared_ptr< const T > | detachData () |
|
virtual void | setData (std::shared_ptr< const T > data) |
|
virtual void | setData (const T *data) |
|
bool | hasData () const |
|
virtual bool | isConnected () const override |
|
virtual bool | isReady () const override |
|
virtual void | invalidate (InvalidationLevel invalidationLevel) |
|
virtual InvalidationLevel | getInvalidationLevel () const |
|
virtual void | propagateEvent (Event *event, Inport *source) |
|
bool | isConnectedTo (const Inport *port) const |
|
const std::vector< Inport * > & | getConnectedInports () const |
|
const BaseCallBack * | onConnect (std::function< void()> lambda) |
|
const BaseCallBack * | onDisconnect (std::function< void()> lambda) |
|
void | removeOnConnect (const BaseCallBack *callback) |
|
void | removeOnDisconnect (const BaseCallBack *callback) |
|
virtual void | setValid () |
|
std::string | getIdentifier () const |
|
void | setIdentifier (const std::string &name) |
|
Processor * | getProcessor () const |
|
virtual void | serialize (Serializer &s) const override |
|
virtual void | deserialize (Deserializer &d) override |
|
| OutportIterableImpl (DataOutport< T > *port) |
|
virtual const_iterator | begin () const override |
|
virtual const_iterator | end () const override |
|
|
| Outport (std::string identifier="") |
|
virtual void | connectTo (Inport *port) |
|
virtual void | disconnectFrom (Inport *port) |
|
| Port (std::string identifier="") |
|
void | setProcessor (Processor *processor) |
|
template<typename T>
class inviwo::DataOutport< T >
DataOutport hold data of type T
◆ getColorCode()
Returns the RGB color code used to colorize all ports of this type. This color code is for instance used in the NetworkEditor. To distinguish different port types through their color, this method should be overloaded in derived classes.
Implements inviwo::Port.
The documentation for this class was generated from the following file: