#include <hps.h>
Public Member Functions | |
ExportNotifier () | |
ExportNotifier (ExportNotifier const &in_that) | |
ExportNotifier (IONotifier const &in_that) | |
ExportNotifier (ExportNotifier &&in_that) | |
ExportNotifier & | operator= (ExportNotifier &&in_that) |
HPS::Type | ObjectType () const |
ExportNotifier & | operator= (ExportNotifier const &in_that) |
void | Assign (ExportNotifier const &in_that) |
![]() | |
IONotifier () | |
IONotifier (IONotifier const &in_that) | |
IONotifier (IONotifier &&in_that) | |
IONotifier & | operator= (IONotifier &&in_that) |
IONotifier & | operator= (IONotifier const &in_that) |
void | Assign (IONotifier const &in_that) |
void | Wait () |
IOResult | Status () const |
IOResult | Status (float &out_percent_complete) const |
void | Cancel () |
![]() | |
Object & | operator= (Object const &other_object) |
Object (Object &&in_that) | |
Object & | operator= (Object &&in_that) |
HPS::Type | Type () const |
virtual bool | Empty () const |
virtual void | Reset () |
bool | HasType (HPS::Type in_mask) const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
The ExportNotifier class is a smart-pointer that is tied to a file export. It is used to interact with an ongoing export or get the results from a completed export.
HPS::Stream::ExportNotifier::ExportNotifier | ( | ) |
The default constructor creates an ExportNotifier object which is not tied to any file export.
HPS::Stream::ExportNotifier::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.
in_that | The source ExportNotifier to copy. |
HPS::Stream::ExportNotifier::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.
in_that | The source IONotifier to copy. |
HPS::Stream::ExportNotifier::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.
in_that | An rvalue reference to an ExportNotifier to take the impl from. |
void HPS::Stream::ExportNotifier::Assign | ( | ExportNotifier const & | in_that | ) |
Associate this ExportNotifier with the same file export as the source ExportNotifier.
in_that | The source ExportNotifier for the assignment. |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS::IONotifier.
ExportNotifier& HPS::Stream::ExportNotifier::operator= | ( | ExportNotifier && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this ExportNotifier thereby avoiding a copy.
in_that | An rvalue reference to an ExportNotifier to take the impl from. |
ExportNotifier& HPS::Stream::ExportNotifier::operator= | ( | ExportNotifier const & | in_that | ) |
Associate this ExportNotifier with the same file export as the source ExportNotifier.
in_that | The source ExportNotifier for the assignment. |