2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2017-2018 - ESI Group - Clement DAVID
5 * This file is hereby licensed under the terms of the GNU GPL v2.0,
6 * pursuant to article 5.3.4 of the CeCILL v.2.1.
7 * This file was originally licensed under the terms of the CeCILL v2.1,
8 * and continues to be available under such terms.
9 * For more information, see the COPYING file which you should have received
10 * along with this program.
14 #ifndef ADAPTER_VIEW_HXX_
15 #define ADAPTER_VIEW_HXX_
19 namespace org_scilab_modules_scicos
24 * This class will handle partial information on update through Adapters.
26 struct AdapterView final : public View
29 virtual ~AdapterView();
30 AdapterView(const AdapterView& o) = delete;
31 AdapterView& operator=(AdapterView o) = delete;
33 void objectCreated(const ScicosID& uid, kind_t kind);
34 void objectReferenced(const ScicosID& uid, kind_t kind, unsigned refCount);
35 void objectUnreferenced(const ScicosID& uid, kind_t kind, unsigned refCount);
36 void objectDeleted(const ScicosID& uid, kind_t kind) final;
37 void objectCloned(const ScicosID& uid, const ScicosID& cloned, kind_t kind);
38 void propertyUpdated(const ScicosID& uid, kind_t kind, object_properties_t property, update_status_t status);
40 } /* namespace view_scilab */
41 } /* namespace org_scilab_modules_scicos */
43 #endif /* ADAPTER_VIEW_HXX_ */