MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
mxl::lib::DomainWatcherRecord Struct Reference

Entry stored in the unordered_maps. More...

#include <DomainWatcher.hpp>

Collaboration diagram for mxl::lib::DomainWatcherRecord:

Public Types

using ptr = std::shared_ptr<DomainWatcherRecord>
 Shared ownership of a watch record.

Public Member Functions

bool operator== (DomainWatcherRecord const &other) const noexcept

Public Attributes

std::string fileName
 file being watched
std::shared_ptr< SharedMemoryInstance< Flow > > flowData
 Shared mapping used to update the flow's last-read time.
FlowWriter * fw
 Non-owning event or discrete writer registered with the watcher.
uuids::uuid id
 flow id

Detailed Description

Entry stored in the unordered_maps.

Definition at line 32 of file DomainWatcher.hpp.

Member Typedef Documentation

◆ ptr

Shared ownership of a watch record.

Definition at line 34 of file DomainWatcher.hpp.

Member Function Documentation

◆ operator==()

bool mxl::lib::DomainWatcherRecord::operator== ( DomainWatcherRecord const & other) const
inlinenodiscardnoexcept

Definition at line 46 of file DomainWatcher.hpp.

47 {
48 return (id == other.id) && (fw == other.fw);
49 }
FlowWriter * fw
Non-owning event or discrete writer registered with the watcher.

Member Data Documentation

◆ fileName

std::string mxl::lib::DomainWatcherRecord::fileName

file being watched

Definition at line 39 of file DomainWatcher.hpp.

◆ flowData

std::shared_ptr<SharedMemoryInstance<Flow> > mxl::lib::DomainWatcherRecord::flowData

Shared mapping used to update the flow's last-read time.

Definition at line 43 of file DomainWatcher.hpp.

◆ fw

FlowWriter* mxl::lib::DomainWatcherRecord::fw

Non-owning event or discrete writer registered with the watcher.

Definition at line 41 of file DomainWatcher.hpp.

◆ id

uuids::uuid mxl::lib::DomainWatcherRecord::id

flow id

Definition at line 37 of file DomainWatcher.hpp.


The documentation for this struct was generated from the following file: