You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a consumer application the classes OmmConsumerClient, OmmConsumerErrorClient must be subclassed
in order to handle messages / events through reimplemented virtual callback methods e.g. onRefreshMsg().
However these classes have a disabled copy-constructor and assignment operator, e.g.:
This is complete senseless, since the classes do not contain any data members. It forces the application to use non-copyable classes as handler classes, although it is not necessary. This is an unwanted and unnecessary restriction.
The text was updated successfully, but these errors were encountered:
In a consumer application the classes OmmConsumerClient, OmmConsumerErrorClient must be subclassed
in order to handle messages / events through reimplemented virtual callback methods e.g. onRefreshMsg().
However these classes have a disabled copy-constructor and assignment operator, e.g.:
private :
OmmConsumerClient( const OmmConsumerClient& );
OmmConsumerClient& operator=( const OmmConsumerClient& );
This is complete senseless, since the classes do not contain any data members. It forces the application to use non-copyable classes as handler classes, although it is not necessary. This is an unwanted and unnecessary restriction.
The text was updated successfully, but these errors were encountered: