src/modules/network/network.cpp
void Network::postMainLoop() throw()
{
    try
    {
        const RouteInfoList list = getRouteInfo();
        for (RouteInfoList::const_iterator item = list.begin();
             item != list.end(); item++)
        {
            (*item)->clearInUse();
        }
    }
    catch(...)
    {
        klk_log(KLKLOG_ERROR, "Error while clearing network usage info at DB");
    }

    ModuleWithInfo<RouteInfo>::postMainLoop();
}
// Do some actions after main loop
Do some actions after main loop
Do some actions after main loop
void Network::postMainLoop() throw()
{
    try
    {
        const RouteInfoList list = getRouteInfo();
        for (RouteInfoList::const_iterator item = list.begin();
             item != list.end(); item++)
        {
            (*item)->clearInUse();
        }
    }
    catch(...)
    {
        klk_log(KLKLOG_ERROR, "Error while clearing network usage info at DB");
    }
    ModuleWithInfo<RouteInfo>::postMainLoop();
}
void Network :: postMainLoop ( ) throw ( ) { try { const RouteInfoList list = getRouteInfo ( ) ; for ( RouteInfoList :: const_iterator item = list . begin ( ) ; item != list . end ( ) ; item ++ ) { ( * item ) -> clearInUse ( ) ; } } catch ( ... ) { klk_log ( KLKLOG_ERROR , " " ) ; } ModuleWithInfo < RouteInfo > :: postMainLoop ( ) ; }
Do some actions after main loop
Do some actions after main loop