|
|
virtual bool | canConnectTo (const Port *port) const =0 |
|
virtual void | connectTo (Outport *outport)=0 |
|
virtual void | disconnectFrom (Outport *outport)=0 |
|
Outport * | getConnectedOutport () const |
|
virtual Outport * | getConnectedOutport (size_t i) const =0 |
|
auto | getConnectedOutports () const |
|
virtual size_t | getMaxNumberOfConnections () const =0 |
|
virtual size_t | getNumberOfConnections () const =0 |
| virtual bool | isChanged () const |
| virtual bool | isConnected () const override |
|
virtual bool | isConnectedTo (const Outport *outport) const |
|
bool | isOptional () const |
| virtual bool | isReady () const override |
| const BaseCallBack * | onChange (std::function< void()> lambda) |
|
std::shared_ptr< std::function< void()> > | onChangeScoped (std::function< void()> lambda) |
|
const BaseCallBack * | onConnect (std::function< void()> lambda) |
|
std::shared_ptr< std::function< void()> > | onConnectScoped (std::function< void()> lambda) |
|
std::shared_ptr< std::function< void(Outport *)> > | onConnectScoped (std::function< void(Outport *)> lambda) |
|
const BaseCallBack * | onDisconnect (std::function< void()> lambda) |
|
std::shared_ptr< std::function< void()> > | onDisconnectScoped (std::function< void()> lambda) |
|
std::shared_ptr< std::function< void(Outport *)> > | onDisconnectScoped (std::function< void(Outport *)> lambda) |
| virtual void | propagateEvent (Event *event, Outport *target=nullptr) |
| void | readyUpdate () |
|
void | removeOnChange (const BaseCallBack *callback) |
|
void | removeOnConnect (const BaseCallBack *callback) |
|
void | removeOnDisconnect (const BaseCallBack *callback) |
|
void | setIsReadyUpdater (std::function< bool()> updater) |
| void | setOptional (bool optional) |
| virtual void | deserialize (Deserializer &d) override |
|
virtual std::string_view | getClassIdentifier () const =0 |
| virtual glm::uvec3 | getColorCode () const =0 |
|
virtual DataInfo | getDataInfo () const =0 |
|
Document & | getHelp () |
| const Document & | getHelp () const |
|
const std::string & | getIdentifier () const |
| virtual Document | getInfo () const =0 |
|
std::string | getPath () const |
| | Get the port path i.e. <processor identifier>.<port identifier>.
|
|
void | getPath (std::pmr::string &out) const |
|
Processor * | getProcessor () const |
|
Port & | operator= (const Port &)=delete |
|
Port & | operator= (Port &&)=delete |
|
| Port (const Port &)=delete |
|
| Port (Port &&)=delete |
| virtual void | serialize (Serializer &s) const override |
|
Port & | setHelp (Document help) |
|
void | setIdentifier (const std::string &name) |
|
|
void | callOnChangeIfChanged () const |
|
bool | circularConnection (const Port *port) const |
|
void | doConnectTo (Outport *outport) |
|
void | doDisconnectFrom (Outport *outport) |
|
| Inport (std::string_view identifier, Document help) |
| virtual void | invalidate (InvalidationLevel invalidationLevel) |
| virtual void | setChanged (bool changed) |
| | Port (std::string_view identifier, Document help) |
|
void | setProcessor (Processor *processor) |
Abstract base class for all inports An Inport can be connected to an Outport. The approved connection can be determined by the canConnectTo function.