4 template<
class TypedClient>
12 template<
class TypedClient>
15 this->client =
nullptr;
19 template<
class TypedClient>
21 client( other.client )
27 template<
class TypedClient>
31 this->removeSelfFromSC( this->client->instance() );
34 template<
class TypedClient>
38 this->removeSelfFromSC( this->client->instance() );
39 this->client = newClient;
41 this->addSelfToSC( this->client->instance() );
45 template<
class TypedClient>
51 this->removeSelfFromSC( this->client->instance() );
52 this->client = other.client;
54 this->addSelfToSC( this->client->instance() );
58 template<
class TypedClient>
61 return this->client == other.client;
64 template<
class TypedClient>
67 return this->client != other.client;
70 template<
class TypedClient>
73 return this->client < other.client;
76 template<
class TypedClient>
79 return this->client > other.client;
82 template<
class TypedClient>
85 return this->client <= other.client;
88 template<
class TypedClient>
91 return this->client >= other.client;
94 template<
class TypedClient>
100 template<
class TypedClient>
103 return *this->client;
106 template<
class TypedClient>
112 template<
class TypedClient>
120 template<
class TypedClient>
124 if( this->_change_callback )
125 this->_change_callback();
129 template<
class TypedClient>
133 if( this->_change_callback )
134 this->_change_callback();
138 template<
class TypedClient>
141 this->_change_callback = cb;
144 template<
class TypedClient>
148 if( this->_change_callback )
149 this->_change_callback();