コード例 #1
0
ファイル: GlobalEnvironment.cpp プロジェクト: rakuco/PDAL
GlobalEnvironment::GlobalEnvironment()
    : m_gdalErrorHandler()
    , m_geosErrorHandler()
    , m_gdalAwake(false)
{
    // Don't make this do lots of stuff. We are only going to
    // bind our error handling junk when we wake things up. If
    // some other stage wants to initialize GDAL or GEOS to their
    // own debug/Log settings, we can do that in initializeGDAL and
    // initializeGEOS
    initializeGEOSErrors(LogPtr(), false);
    initializeGDALErrors(LogPtr(), false);
//     m_gdalErrorHandler.reset(new gdal::ErrorHandler(false, LogPtr()));
//     m_geosErrorHandler.reset(new geos::ErrorHandler(false, LogPtr()));
}
コード例 #2
0
ファイル: AppServer.cpp プロジェクト: tcagame/Attraction2016
void AppServer::initialize( ) {
	_status = StatusPtr( new Status );
	_command = CommandPtr( new Command );
	_log = LogPtr( new Log );
	_connect = ConnectPtr( new Connect );
}