Change naming convention of class properties
This commit is contained in:
1 parent
f45201aa45
commit
eb8bc7a696
14 files changed
+71
-71
No files matched your search
@@ -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!");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user