Mercurial > hg > orthanc-stone
comparison Framework/Layers/LayerSourceBase.h @ 267:89d02de83c03 am-2
added declaretion of messages handled/emitted
author | am@osimis.io |
---|---|
date | Wed, 22 Aug 2018 14:59:20 +0200 |
parents | abc1c6231947 |
children | 3897f9f28cfa |
comparison
equal
deleted
inserted
replaced
266:c9cf95b49a86 | 267:89d02de83c03 |
---|---|
11 * | 11 * |
12 * This program is distributed in the hope that it will be useful, but | 12 * This program is distributed in the hope that it will be useful, but |
13 * WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 * Affero General Public License for more details. | 15 * Affero General Public License for more details. |
16 * | 16 * |
17 * You should have received a copy of the GNU Affero General Public License | 17 * You should have received a copy of the GNU Affero General Public License |
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 **/ | 19 **/ |
20 | 20 |
21 | 21 |
41 const CoordinateSystem3D& slice, | 41 const CoordinateSystem3D& slice, |
42 bool isError); | 42 bool isError); |
43 | 43 |
44 LayerSourceBase(MessageBroker& broker) | 44 LayerSourceBase(MessageBroker& broker) |
45 : ILayerSource(broker) | 45 : ILayerSource(broker) |
46 {} | 46 { |
47 DeclareEmittableMessage(MessageType_LayerSource_GeometryReady); | |
48 DeclareEmittableMessage(MessageType_LayerSource_GeometryError); | |
49 DeclareEmittableMessage(MessageType_LayerSource_ContentChanged); | |
50 DeclareEmittableMessage(MessageType_LayerSource_SliceChanged); | |
51 DeclareEmittableMessage(MessageType_LayerSource_LayerReady); | |
52 } | |
47 | 53 |
48 }; | 54 }; |
49 } | 55 } |