Public Member Functions | List of all members
qi::ProgressNotifierProxy Class Reference
Inheritance diagram for qi::ProgressNotifierProxy:
Inheritance graph
[legend]

Public Member Functions

void _notifyCanceled () override
 
void _notifyFailed () override
 
void _notifyFinished () override
 
void _notifyProgressed (double newProgress) override
 
void _notifyRunning () override
 
void _reset () override
 
bool isRunning () const override
 
void notifyCanceled () override
 
void notifyFailed () override
 
void notifyFinished () override
 
void notifyProgressed (double newProgress) override
 
void notifyRunning () override
 
 ProgressNotifierProxy (qi::AnyObject obj)
 
void reset () override
 
Future< void > waitForFinished () override
 
- Public Member Functions inherited from qi::ProgressNotifier
 QI_API_DEPRECATED_MSG (Use 'notifyCanceled' instead) virtual void _notifyCanceled()=0
 
 QI_API_DEPRECATED_MSG (Use 'notifyFailed' instead) virtual void _notifyFailed()=0
 
 QI_API_DEPRECATED_MSG (Use 'notifyFinished' instead) virtual void _notifyFinished()=0
 
 QI_API_DEPRECATED_MSG (Use 'notifyProgressed' instead) virtual void _notifyProgressed(double new Progress)=0
 
 QI_API_DEPRECATED_MSG (Use 'notifyRunning' instead) virtual void _notifyRunning()=0
 
 QI_API_DEPRECATED_MSG (Use 'reset' instead) virtual void _reset()=0
 
virtual ~ProgressNotifier ()=default
 

Additional Inherited Members

- Public Types inherited from qi::ProgressNotifier
enum  Status {
  Status_Idle, Status_Running, Status_Finished, Status_Failed,
  Status_Canceled
}
 
- Public Attributes inherited from qi::ProgressNotifier
Property< double > progress
 
Property< Statusstatus
 
- Protected Member Functions inherited from qi::ProgressNotifier
 ProgressNotifier ()=default
 

Detailed Description

Definition at line 6 of file progressnotifier_proxy.cpp.

Constructor & Destructor Documentation

◆ ProgressNotifierProxy()

qi::ProgressNotifierProxy::ProgressNotifierProxy ( qi::AnyObject  obj)
inlineexplicit

Definition at line 9 of file progressnotifier_proxy.cpp.

Member Function Documentation

◆ _notifyCanceled()

void qi::ProgressNotifierProxy::_notifyCanceled ( )
inlineoverride

Definition at line 70 of file progressnotifier_proxy.cpp.

◆ _notifyFailed()

void qi::ProgressNotifierProxy::_notifyFailed ( )
inlineoverride

Definition at line 75 of file progressnotifier_proxy.cpp.

◆ _notifyFinished()

void qi::ProgressNotifierProxy::_notifyFinished ( )
inlineoverride

Definition at line 65 of file progressnotifier_proxy.cpp.

◆ _notifyProgressed()

void qi::ProgressNotifierProxy::_notifyProgressed ( double  newProgress)
inlineoverride

Definition at line 80 of file progressnotifier_proxy.cpp.

◆ _notifyRunning()

void qi::ProgressNotifierProxy::_notifyRunning ( )
inlineoverride

Definition at line 60 of file progressnotifier_proxy.cpp.

◆ _reset()

void qi::ProgressNotifierProxy::_reset ( )
inlineoverride

Definition at line 55 of file progressnotifier_proxy.cpp.

◆ isRunning()

bool qi::ProgressNotifierProxy::isRunning ( ) const
inlineoverridevirtual
Returns
true if the operation associated to this notifier has started and is neither finished nor canceled nor failed yet, false otherwise.

Implements qi::ProgressNotifier.

Definition at line 44 of file progressnotifier_proxy.cpp.

◆ notifyCanceled()

void qi::ProgressNotifierProxy::notifyCanceled ( )
inlineoverridevirtual

Notify the observers that the operation has been canceled by the user.

Remarks
This function is reserved to be used by the implementation of the associated operations.

Implements qi::ProgressNotifier.

Definition at line 29 of file progressnotifier_proxy.cpp.

◆ notifyFailed()

void qi::ProgressNotifierProxy::notifyFailed ( )
inlineoverridevirtual

Notify the observers that the operation has failed.

Remarks
This function is reserved to be used by the implementation of the associated operations.

Implements qi::ProgressNotifier.

Definition at line 34 of file progressnotifier_proxy.cpp.

◆ notifyFinished()

void qi::ProgressNotifierProxy::notifyFinished ( )
inlineoverridevirtual

Notify the observers that the operation has successfully ended.

Remarks
This function is reserved to be used by the implementation of the associated operations.

Implements qi::ProgressNotifier.

Definition at line 24 of file progressnotifier_proxy.cpp.

◆ notifyProgressed()

void qi::ProgressNotifierProxy::notifyProgressed ( double  newProgress)
inlineoverridevirtual

Notify the observers that the operation progressed.

Remarks
This function is reserved to be used by the implementation of the associated operations.
Parameters
newProgressNew value representing the total progress of the operation. By default, uses a range from 0.0 (no work has been done yet) to 1.0 (all work is done). The operation implementation is free to use another range if necessary but should clarify the meaning of this value in its documentation.

Implements qi::ProgressNotifier.

Definition at line 39 of file progressnotifier_proxy.cpp.

◆ notifyRunning()

void qi::ProgressNotifierProxy::notifyRunning ( )
inlineoverridevirtual

Notify the observers that the operation associated with this notifier is now running.

Remarks
This function is reserved to be used by the implementation of the associated operations.

Implements qi::ProgressNotifier.

Definition at line 19 of file progressnotifier_proxy.cpp.

◆ reset()

void qi::ProgressNotifierProxy::reset ( )
inlineoverridevirtual

Reset the status of the algorithm to the idle state with no progress.

Remarks
This function is reserved to be used by the implementation of the associated operations.

Implements qi::ProgressNotifier.

Definition at line 14 of file progressnotifier_proxy.cpp.

◆ waitForFinished()

Future<void> qi::ProgressNotifierProxy::waitForFinished ( )
inlineoverridevirtual

Implements qi::ProgressNotifier.

Definition at line 49 of file progressnotifier_proxy.cpp.


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


naoqi_libqicore
Author(s): Aldebaran
autogenerated on Wed Sep 14 2022 02:22:41