Searched refs:watch_tower (Results 1 – 4 of 4) sorted by relevance
/glogg/glogg/tests/ |
H A D | watchtowerTest.cpp |
|
/glogg/tests/ |
H A D | watchtowerTest.cpp | 34 shared_ptr<PlatformWatchTower> watch_tower = make_shared<PlatformWatchTower>(); member in WatchTowerBehaviour 80 auto registration = watch_tower->addFile( file_name, [] (void) { } ); in TEST_F() 84 auto registration = watch_tower->addFile( getNonExistingFileName(), [] (void) { } ); in TEST_F() 104 auto reg = watch_tower->addFile( filename, [this, weakHeartbeat] (void) { in registerFile() 383 ASSERT_THAT( watch_tower->numberWatchedDirectories(), Eq( 2 ) ); in TEST_F() 392 ASSERT_THAT( watch_tower->numberWatchedDirectories(), Eq( 2 ) ); in TEST_F() 400 ASSERT_THAT( watch_tower->numberWatchedDirectories(), Eq( 2 ) ); in TEST_F() 403 ASSERT_THAT( watch_tower->numberWatchedDirectories(), Eq( 1 ) ); in TEST_F() 529 watch_tower->setPollingInterval( 500 ); in TEST_F() 535 watch_tower->setPollingInterval( 500 ); in TEST_F() [all …]
|
/glogg/glogg/src/ |
H A D | watchtower.h |
|
/glogg/src/ |
H A D | watchtower.h | 92 static void removeNotification( WatchTower* watch_tower, 237 WatchTower* watch_tower, std::shared_ptr<void> notification ) in removeNotification() argument 241 std::lock_guard<std::mutex> lock( watch_tower->observers_mutex_ ); in removeNotification() 244 watch_tower->observed_file_list_.removeCallback( notification ); in removeNotification() 249 watch_tower->driver_.removeFile( file->file_id_ ); in removeNotification() 250 watch_tower->driver_.removeSymlink( file->symlink_id_ ); in removeNotification()
|