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.
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.