Warning, file /sdk/ktechlab/src/flowparts/writeport.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /***************************************************************************
0002  *   Copyright (C) 2003 by David Saxton                                    *
0003  *   david@bluehaze.org                                                    *
0004  *                                                                         *
0005  *   This program is free software; you can redistribute it and/or modify  *
0006  *   it under the terms of the GNU General Public License as published by  *
0007  *   the Free Software Foundation; either version 2 of the License, or     *
0008  *   (at your option) any later version.                                   *
0009  ***************************************************************************/
0010 
0011 #ifndef WRITEPORT_H
0012 #define WRITEPORT_H
0013 
0014 #include "flowpart.h"
0015 
0016 /**
0017 @short FlowPart that writes to a port
0018 @author David Saxton
0019 */
0020 class WritePort : public FlowPart
0021 {
0022 public:
0023     WritePort(ICNDocument *icnDocument, bool newItem, const char *id = nullptr);
0024     ~WritePort() override;
0025 
0026     static Item *construct(ItemDocument *itemDocument, bool newItem, const char *id);
0027     static LibraryItem *libraryItem();
0028 
0029     void generateMicrobe(FlowCode *code) override;
0030 
0031 private:
0032     void dataChanged() override;
0033 };
0034 
0035 #endif