add a function to check if a block is initialized
This commit is contained in:
1 parent
0fa3559fc4
commit
b453d4d8e2
2 files changed
+11
No files matched your search
@@ -57,6 +57,10 @@ bool AircraftReporter::deinitialize() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AircraftReporter::initialized() const noexcept {
|
||||
return nullptr != this->m_socket;
|
||||
}
|
||||
|
||||
bool AircraftReporter::send(const aman::AircraftReport& report) {
|
||||
bool retval = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user