mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Make factory classes final (optimization potential)
This commit is contained in:
committed by
Dennis Klein
parent
00800f16f1
commit
dfa1b68867
@@ -30,7 +30,7 @@ namespace ofi
|
||||
*
|
||||
* @todo TODO insert long description
|
||||
*/
|
||||
class Message : public fair::mq::Message
|
||||
class Message final : public fair::mq::Message
|
||||
{
|
||||
public:
|
||||
Message();
|
||||
|
@@ -33,7 +33,7 @@ class TransportFactory;
|
||||
*
|
||||
* @todo TODO insert long description
|
||||
*/
|
||||
class Poller : public FairMQPoller
|
||||
class Poller final : public FairMQPoller
|
||||
{
|
||||
friend class FairMQChannel;
|
||||
friend class TransportFactory;
|
||||
|
@@ -32,7 +32,7 @@ namespace ofi
|
||||
*
|
||||
* @todo TODO insert long description
|
||||
*/
|
||||
class Socket : public fair::mq::Socket
|
||||
class Socket final : public fair::mq::Socket
|
||||
{
|
||||
public:
|
||||
Socket(Context& factory, const std::string& type, const std::string& name, const std::string& id = "");
|
||||
|
@@ -26,7 +26,7 @@ namespace ofi
|
||||
*
|
||||
* @todo TODO insert long description
|
||||
*/
|
||||
class TransportFactory : public FairMQTransportFactory
|
||||
class TransportFactory final : public FairMQTransportFactory
|
||||
{
|
||||
public:
|
||||
TransportFactory(const std::string& id = "", const FairMQProgOptions* config = nullptr);
|
||||
|
Reference in New Issue
Block a user