HPS::Stream::ExportNotifier
-
class HPS::Stream::ExportNotifier : public HPS::IONotifier
The ExportNotifier class is a smart-pointer that is associated with an asynchronous file export. It is used to interact with an ongoing export or get the results from a completed export.
Public Functions
-
void Assign(ExportNotifier const &in_that)
Associate this ExportNotifier with the same file export as the source ExportNotifier.
- Parameters
in_that – The source ExportNotifier for the assignment.
-
ExportNotifier()
The default constructor creates an ExportNotifier object which is not associated with any file export.
-
ExportNotifier(ExportNotifier &&in_that)
The move constructor creates an ExportNotifier by transferring the underlying impl of the rvalue reference to this ExportNotifier thereby avoiding a copy and allocation.
- Parameters
in_that – An rvalue reference to an ExportNotifier to take the impl from.
-
ExportNotifier(ExportNotifier const &in_that)
The copy constructor creates a new ExportNotifier object that is associated with the same file export as the source ExportNotifier.
- Parameters
in_that – The source ExportNotifier to copy.
-
ExportNotifier(IONotifier const &in_that)
The conversion constructor creates a new derived ExportNotifier object from a base IONotifier object. The copy will only be successful if the source notifier is really an upcast of this notifier type. Otherwise the copy will fail and the resulting ExportNotifier will be invalid.
- Parameters
in_that – The source IONotifier to copy.
-
inline virtual HPS::Type ObjectType() const
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
The declared type of the object in question, which may differ from the true, underlying type.
-
ExportNotifier &operator=(ExportNotifier &&in_that)
The move assignment operator transfers the underlying impl of the rvalue reference to this ExportNotifier thereby avoiding a copy.
- Parameters
in_that – An rvalue reference to an ExportNotifier to take the impl from.
- Returns
A reference to this ExportNotifier.
-
ExportNotifier &operator=(ExportNotifier const &in_that)
Associate this ExportNotifier with the same file export as the source ExportNotifier.
- Parameters
in_that – The source ExportNotifier for the assignment.
- Returns
A reference to this ExportNotifier.
-
void Assign(ExportNotifier const &in_that)