Inherited by AZ::Metrics::EventLoggerFactoryImpl.
◆ VisitEventLoggerInterfaceCallback
Callback function that is invoked for every registered event logger return true to continue visiting
◆ FindEventLogger()
virtual IEventLogger * AZ::Metrics::IEventLoggerFactory::FindEventLogger |
( |
EventLoggerId |
| ) |
const |
|
pure virtual |
Find event logger registered with the specified id
- Parameters
-
loggerId | EventLoggerId to locate a registered event logger |
- Returns
- pointer to the EventLogger
Implemented in AZ::Metrics::EventLoggerFactoryImpl.
◆ IsRegistered()
virtual bool AZ::Metrics::IEventLoggerFactory::IsRegistered |
( |
EventLoggerId |
| ) |
const |
|
pure virtual |
Return true if there is an event logger registered with the specified id
- Parameters
-
loggerId | EventLoggerId to determine if an event logger is registered |
- Returns
- bool indicating if there is an event logger with the id registered
Implemented in AZ::Metrics::EventLoggerFactoryImpl.
◆ RegisterEventLogger() [1/2]
virtual AZ::Outcome< void, AZStd::unique_ptr< IEventLogger > > AZ::Metrics::IEventLoggerFactory::RegisterEventLogger |
( |
EventLoggerId |
loggerId, |
|
|
AZStd::unique_ptr< IEventLogger > |
|
|
) |
| |
|
pure virtual |
Registers event logger and takes ownership of it if registration is successful
- Parameters
-
loggerId | Unique id to associate with EventLogger |
eventLogger | Event logger to register |
- Returns
- Success outcome if the Event logger was successfully registered If the logger could not be registered, a failure outcome with the event logger is returned
Implemented in AZ::Metrics::EventLoggerFactoryImpl.
◆ RegisterEventLogger() [2/2]
virtual bool AZ::Metrics::IEventLoggerFactory::RegisterEventLogger |
( |
EventLoggerId |
loggerId, |
|
|
IEventLogger & |
|
|
) |
| |
|
pure virtual |
Registers event logger, but does not take ownership of it
- Parameters
-
loggerId | Unique id to associate with EventLogger |
eventLogger | Event logger to register |
- Returns
- true if the IEventLogger was successfully registered
Implemented in AZ::Metrics::EventLoggerFactoryImpl.
◆ UnregisterEventLogger()
virtual bool AZ::Metrics::IEventLoggerFactory::UnregisterEventLogger |
( |
EventLoggerId |
loggerId | ) |
|
|
pure virtual |
◆ VisitEventLoggers()
The documentation for this class was generated from the following file:
- Code/Framework/AzCore/AzCore/Metrics/IEventLoggerFactory.h