37 explicit CWebList(
int numThreads = 0);
86 bool addWeb(std::shared_ptr<json::Object> com);
103 bool removeWeb(std::shared_ptr<json::Object> com);
122 bool hasSite(std::shared_ptr<CSite> site);
170 std::vector<std::shared_ptr<CWeb>> m_vWebs;
184 mutable std::recursive_mutex m_WebListMutex;
void clear()
CWebList clear function.
Definition: WebList.cpp:26
glasscore site list class
Definition: SiteList.h:40
int size() const
Get the current size of the web list.
Definition: WebList.cpp:254
bool healthCheck()
check to see if each web thread is still functional
Definition: WebList.cpp:218
bool receiveExternalMessage(std::shared_ptr< json::Object > com)
CWebList communication receiving function.
Definition: WebList.cpp:39
const CSiteList * getSiteList() const
Get the CSiteList pointer used by this web list for site lookups.
Definition: WebList.cpp:242
glasscore detection node class The detection fabric consists of a collection of nets which in turn co...
Definition: WebList.h:32
CWebList(int numThreads=0)
CWebList constructor.
Definition: WebList.cpp:16
void setSiteList(CSiteList *siteList)
Set the CSiteList pointer used by this web list for site lookups.
Definition: WebList.cpp:248
std::shared_ptr< CWeb > getControllingWeb(double dLat, double dLon)
Get controlling web for coordinates.
Definition: WebList.cpp:260
bool removeWeb(std::shared_ptr< json::Object > com)
Remove web ('Grid', etc) from list by name.
Definition: WebList.cpp:121
~CWebList()
CWebList destructor.
Definition: WebList.cpp:22
bool addWeb(std::shared_ptr< json::Object > com)
Add web ('Grid', etc) to list using provided configuration.
Definition: WebList.cpp:70
The namespace containing the core algorithm.
Definition: Correlation.h:17
bool hasSite(std::shared_ptr< CSite > site)
Check if the webs have a site This function checks to see if the given site is used in any web in the...
Definition: WebList.cpp:193
void updateSite(std::shared_ptr< CSite > site)
Update a site in the webs This function updates the given site in all appropriate webs in the list of...
Definition: WebList.cpp:165