Change naming convention of class properties

This commit is contained in:
Suraxius committed 2021-01-31 18:00:31 +01:00
1 parent f45201aa45
commit eb8bc7a696
14 files changed
+71 -71

No files matched your search

+5 -5
View File
@@ -4,20 +4,20 @@
namespace Plains {
namespace Core {
EventBus::EventBus(Logger& logger) : logger_(logger), thread_(&EventBus::run, this) {
logger_.debug.ln("Hi from EventBus Constructor. Not Theaded");
EventBus::EventBus(Logger& logger) : _logger(logger), _thread(&EventBus::run, this) {
_logger.debug.ln("Hi from EventBus Constructor. Not Theaded");
}
EventBus::~EventBus() {
thread_.join();
_thread.join();
}
void EventBus::test() {
logger_.debug << "Testing from within EventBus!" << Logger::commit;
_logger.debug << "Testing from within EventBus!" << Logger::commit;
}
void EventBus::run() {
logger_.debug.ln("Hi from EventBus run method! From within Event Thread!");
_logger.debug.ln("Hi from EventBus run method! From within Event Thread!");
}