comparison Applications/Generic/NativeStoneApplicationContext.h @ 1059:e713f1a99861 broker

replacing MessageBroker by weak_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Oct 2019 17:08:34 +0200
parents c35e98d22764
children e146743f6cdc
comparison
equal deleted inserted replaced
1058:a36c47487a70 1059:e713f1a99861
65 65
66 void SetUpdateDelay(unsigned int delayInMs) 66 void SetUpdateDelay(unsigned int delayInMs)
67 { 67 {
68 that_.updateDelayInMs_ = delayInMs; 68 that_.updateDelayInMs_ = delayInMs;
69 } 69 }
70
71 MessageBroker& GetMessageBroker()
72 {
73 return that_.GetMessageBroker();
74 }
75 }; 70 };
76 71
77 NativeStoneApplicationContext(MessageBroker& broker); 72 NativeStoneApplicationContext(MessageBroker& broker);
78 73
79 void Start(); 74 void Start();