HPS::Exchange::ReloadNotifier

class HPS::Exchange::ReloadNotifier : public HPS::IONotifier

The ReloadNotifier class is a smart-pointer that is tied to a Component::Reload or a CADModel::Reload. It is used to interact with an ongoing reload.

Public Functions

void Assign(ReloadNotifier const &in_that)

Associate this ReloadNotifier with the same component reload as the source ReloadNotifier.

Parameters

in_that – The source ReloadNotifier for the assignment.

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.

ReloadNotifier &operator=(ReloadNotifier &&in_that)

The move assignment operator transfers the underlying object of the rvalue reference to this ReloadNotifier thereby avoiding a copy.

Parameters

in_that – An rvalue reference to an ReloadNotifier to take the underlying object from.

Returns

A reference to this ReloadNotifier.

ReloadNotifier &operator=(ReloadNotifier const &in_that)

Associate this ReloadNotifier with the same component reload as the source ReloadNotifier.

Parameters

in_that – The source ReloadNotifier for the assignment.

Returns

A reference to this ReloadNotifier.

ReloadNotifier()

The default constructor creates an ReloadNotifier object which is not tied to any component reload.

ReloadNotifier(IONotifier const &in_that)

The conversion constructor creates a new derived ReloadNotifier 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 ReloadNotifier will be invalid.

Parameters

in_that – The source IONotifier to copy.

ReloadNotifier(ReloadNotifier &&in_that)

The move constructor creates an ReloadNotifier by transferring the underlying object of the rvalue reference to this ReloadNotifier thereby avoiding a copy and allocation.

Parameters

in_that – An rvalue reference to an ReloadNotifier to take the underlying object from.

ReloadNotifier(ReloadNotifier const &in_that)

The copy constructor creates a new ReloadNotifier object that is associated with the same component reload as the source ReloadNotifier.

Parameters

in_that – The source ReloadNotifier to copy.

virtual ~ReloadNotifier()

Public Static Attributes

static const HPS::Type staticType = HPS::Type::ExchangeReloadNotifier