44 SmartIF<IService> service( std::string_view name,
const bool quiet =
false,
const bool createIf =
true )
const;
47 SmartIF<T> service( std::string_view name,
const bool quiet =
false,
const bool createIf =
true )
const {
48 return service( name, quiet, createIf ).as<T>();
The IMessage is the interface implemented by the message service.
IInterface compliant class extending IInterface with the name() method.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition of the MsgStream class used to transmit messages.
ServiceLocatorHelper(ISvcLocator &svcLoc, std::string loggedName, std::string requesterName)
const std::string & requesterName() const
ServiceLocatorHelper(ISvcLocator &svcLoc, const INamedInterface &requester)
SmartIF< IService > service(std::string_view name, const bool quiet=false, const bool createIf=true) const
ISvcLocator * serviceLocator() const
std::string m_requesterName
SmartIF< T > service(std::string_view name, const bool quiet=false, const bool createIf=true) const
ServiceLocatorHelper(ISvcLocator &svcLoc, std::string requesterName)
Small smart pointer class with automatic reference counting for IInterface.