src/common/modfactory.cpp
LibFactory* ModuleFactory::getLibFactory()
{
    Locker lock(&m_lock);
    if (m_libfactory == NULL)
    {
        m_libfactory = new LibFactory(m_factory);
    }

    return m_libfactory;
}
// Gets libfactory when it's necessary
// @note use it instead of m_libfactory direct usage
Gets libfactory when it's necessary
Gets libfactory when it ' s necessary
LibFactory* ModuleFactory::getLibFactory()
{
    Locker lock(&m_lock);
    if (m_libfactory == NULL)
    {
        m_libfactory = new LibFactory(m_factory);
    }
    return m_libfactory;
}
LibFactory * ModuleFactory :: getLibFactory ( ) { Locker lock ( & m_lock ) ; if ( m_libfactory == NULL ) { m_libfactory = new LibFactory ( m_factory ) ; } return m_libfactory ; }
Gets libfactory when it's necessary
Gets libfactory when it ' s necessary