Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
basic::tensorflow_manager::RosettaTensorflowProtocolBase Class Referenceabstract

A pure virtual base class for storing Tensorflow sessions and the code for executing them and returning a result. Derived classes will be protocol-specific, and will accept a RosettaTensorflowInput and produce a RosettaTensorflowOutput. More...

#include <RosettaTensorflowProtocolBase.hh>

Inheritance diagram for basic::tensorflow_manager::RosettaTensorflowProtocolBase:
Inheritance graph
[legend]

Public Member Functions

 ~RosettaTensorflowProtocolBase () override
 Destructor. More...
 
virtual
RosettaTensorflowProtocolBaseOP 
clone () const =0
 Clone operation. More...
 
virtual std::string name () const =0
 Get the name of this RosettaTensorflowProtocol. More...
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Protected Member Functions

 RosettaTensorflowProtocolBase ()=default
 Prevent direct instantiation. More...
 
 RosettaTensorflowProtocolBase (RosettaTensorflowProtocolBase const &)=default
 Copy constructor. More...
 

Detailed Description

A pure virtual base class for storing Tensorflow sessions and the code for executing them and returning a result. Derived classes will be protocol-specific, and will accept a RosettaTensorflowInput and produce a RosettaTensorflowOutput.

Constructor & Destructor Documentation

basic::tensorflow_manager::RosettaTensorflowProtocolBase::~RosettaTensorflowProtocolBase ( )
override

Destructor.

basic::tensorflow_manager::RosettaTensorflowProtocolBase::RosettaTensorflowProtocolBase ( )
protecteddefault

Prevent direct instantiation.

basic::tensorflow_manager::RosettaTensorflowProtocolBase::RosettaTensorflowProtocolBase ( RosettaTensorflowProtocolBase const &  )
protecteddefault

Copy constructor.

Member Function Documentation

virtual RosettaTensorflowProtocolBaseOP basic::tensorflow_manager::RosettaTensorflowProtocolBase::clone ( ) const
pure virtual

Clone operation.

virtual std::string basic::tensorflow_manager::RosettaTensorflowProtocolBase::name ( ) const
pure virtual

Get the name of this RosettaTensorflowProtocol.

Must be implemented by derived class.


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