Class NullDataViewerCollection
Defined in File NullObjects.hpp
Inheritance Relationships
Base Type
public Microsoft::Applications::Events::IDataViewerCollection(Class IDataViewerCollection)
Class Documentation
-
class Microsoft::Applications::Events::NullDataViewerCollection : public Microsoft::Applications::Events::IDataViewerCollection
Public Functions
-
inline virtual void DispatchDataViewerEvent(const std::vector<uint8_t>&) const noexcept override
Dispatch a Data Viewer Event to all viewers in the collection.
- Parameters
packetData – Data packet to be passed to all viewers.
Register an IDataViewer with Data Viewer Collection.
- Parameters
dataViewer – dataViewer to register with IDataViewerCollection.
-
inline virtual void UnregisterViewer(const char*) override
Unregister a IDataViewer from LogManager.
- Parameters
viewerName – Unique Name to identify the viewer that should be unregistered from the IDataViewerCollection.
-
inline virtual void UnregisterAllViewers() override
Unregister all registered IDataViewers.
-
inline virtual bool IsViewerEnabled(const char*) const override
Check if the given viewer (name) is registered as a data viewer and is actively transmitting.
- Parameters
viewerName – Unique Name to identify the viewer being checked.
-
inline virtual bool IsViewerEnabled() const noexcept override
Check if any viewers are registered and actively transmitting.
-
inline virtual bool IsViewerRegistered(const char*) const override
Check if the given viewer (name) is registered as a data viewer.
- Parameters
viewerName – Unique Name to identify the viewer being checked.
-
inline virtual ~NullDataViewerCollection()
-
inline virtual void DispatchDataViewerEvent(const std::vector<uint8_t>&) const noexcept override