comparison Framework/SmartLoader.cpp @ 295:b04b13810540 am-2

unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
author am@osimis.io
date Tue, 04 Sep 2018 15:09:42 +0200
parents 3c190e2bb3af
children 3897f9f28cfa
comparison
equal deleted inserted replaced
294:faccc4b07b92 295:b04b13810540
44 void SmartLoader::HandleMessage(IObservable& from, const IMessage& message) 44 void SmartLoader::HandleMessage(IObservable& from, const IMessage& message)
45 { 45 {
46 switch (message.GetType()) { 46 switch (message.GetType()) {
47 case MessageType_LayerSource_GeometryReady: 47 case MessageType_LayerSource_GeometryReady:
48 { 48 {
49 const OrthancFrameLayerSource* layerSource=dynamic_cast<const OrthancFrameLayerSource*>(&from); 49 //const OrthancFrameLayerSource* layerSource=dynamic_cast<const OrthancFrameLayerSource*>(&from);
50 // TODO keep track of objects that have been loaded already 50 // TODO keep track of objects that have been loaded already
51 }; break; 51 }; break;
52 case MessageType_LayerSource_LayerReady: 52 case MessageType_LayerSource_LayerReady:
53 { 53 {
54 const OrthancFrameLayerSource* layerSource=dynamic_cast<const OrthancFrameLayerSource*>(&from); 54 //const OrthancFrameLayerSource* layerSource=dynamic_cast<const OrthancFrameLayerSource*>(&from);
55 // TODO keep track of objects that have been loaded already 55 // TODO keep track of objects that have been loaded already
56 }; break; 56 }; break;
57 // case MessageType_OrthancApi_GetStudyIds_Ready: 57 // case MessageType_OrthancApi_GetStudyIds_Ready:
58 // { 58 // {
59 59