- sof_8070.zip
- sof
- console
- sof_console.vcproj
- src
- doc
- doxygen
- Doxyfile
- website
- diagrams
- presentations
- sof_overview.png
- sof_overview_small.png
- sequence_charts
- creating_bundles.sqd
- registering_services.sqd
- images
- creating_bundles.gif
- registering_services.sqd.jpg
- sof_console.gif
- soflogo.png
- sof.html
- examples
- bundle1
- sof_examples_bundle1.vcproj
- src
- bundle2
- sof_examples_bundle2.vcproj
- src
- common
- src
- sof_examples.vcproj
- src
- extern
- CppUnitLite
- CppUnitLite.vcproj
- src
- impl
- sof.sln
- sof.vcproj
- src
- sof
- config
- framework
- instantiation
- services
- admin
- util
- test
- bin
- config_file_reader_test.sof
- test_config_file.sof
- sof_test.vcproj
- src
- TestDll1
- src
- TestDll1.vcproj
- TestDll2
- src
- TestDll2.vcproj
|
#include "IServiceRegistrationImpl.h"
using namespace sof::framework;
using namespace sof::util::logging;
Logger& IServiceRegistrationImpl::logger = LoggerFactory::getLogger( "Framework" );
IServiceRegistrationImpl::IServiceRegistrationImpl( const string& bName, IRegistry* const reg, ServiceInfo* const info ) : bundleName( bName ), registry( reg ), serviceInfo( info )
{
logger.log( Logger::DEBUG, "[IServiceRegistrationImpl#ctor] Called." );
}
IServiceRegistrationImpl::~IServiceRegistrationImpl()
{
logger.log( Logger::DEBUG, "[IServiceRegistrationImpl#destructor] Called." );
}
void IServiceRegistrationImpl::unregister()
{
logger.log( Logger::DEBUG, "[IServiceRegistrationImpl#unregister] Called, service info: %1", this->serviceInfo->toString() );
this->registry->removeServiceInfo( this->bundleName, this->serviceInfo );
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.