OpenWalnut  1.5.0dev
Public Member Functions | Static Public Member Functions | Friends | List of all members
WTestTransferableDerived Class Reference

Derived test class used to test data transfer and compatibility checks, especially the inheritance checks. More...

#include <WModuleConnector_test.h>

+ Inheritance diagram for WTestTransferableDerived:
+ Collaboration diagram for WTestTransferableDerived:

Public Member Functions

 WTestTransferableDerived ()
 Constructor. More...
 
virtual const std::string getName () const
 Gets the name of this prototype. More...
 
virtual const std::string getDescription () const
 Gets the description for this prototype. More...
 
- Public Member Functions inherited from WTestTransferableBase
 WTestTransferableBase ()
 Constructor. More...
 
int get () const
 Gives the magic int. More...
 
void set (int i)
 Sets the new int. More...
 
- Public Member Functions inherited from WTransferable
 WTransferable ()
 Default constructor. More...
 
virtual ~WTransferable ()
 Destructor. More...
 
- Public Member Functions inherited from WPrototyped
 WPrototyped ()
 Default constructor. More...
 
virtual ~WPrototyped ()
 Destructor. More...
 
template<typename T >
bool isA ()
 Checks whether the actual prototype has the specified runtime type. More...
 

Static Public Member Functions

static std::shared_ptr< WPrototypedgetPrototype ()
 Returns a prototype instantiated with the true type of the deriving class. More...
 
- Static Public Member Functions inherited from WTestTransferableBase
static std::shared_ptr< WPrototypedgetPrototype ()
 Returns a prototype instantiated with the true type of the deriving class. More...
 

Friends

class WModuleConnectorTest
 Access for test class. More...
 

Additional Inherited Members

- Protected Attributes inherited from WTestTransferableBase
int m_data
 The data. More...
 

Detailed Description

Derived test class used to test data transfer and compatibility checks, especially the inheritance checks.

Definition at line 129 of file WModuleConnector_test.h.

Constructor & Destructor Documentation

◆ WTestTransferableDerived()

WTestTransferableDerived::WTestTransferableDerived ( )
inline

Constructor.

Definition at line 137 of file WModuleConnector_test.h.

Referenced by getPrototype().

+ Here is the caller graph for this function:

Member Function Documentation

◆ getDescription()

virtual const std::string WTestTransferableDerived::getDescription ( ) const
inlinevirtual

Gets the description for this prototype.

Returns
the description

Reimplemented from WTestTransferableBase.

Definition at line 156 of file WModuleConnector_test.h.

◆ getName()

virtual const std::string WTestTransferableDerived::getName ( ) const
inlinevirtual

Gets the name of this prototype.

Returns
the name.

Reimplemented from WTestTransferableBase.

Definition at line 146 of file WModuleConnector_test.h.

◆ getPrototype()

static std::shared_ptr< WPrototyped > WTestTransferableDerived::getPrototype ( )
inlinestatic

Returns a prototype instantiated with the true type of the deriving class.

Returns
the prototype.

Definition at line 166 of file WModuleConnector_test.h.

References WTestTransferableDerived().

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ WModuleConnectorTest

friend class WModuleConnectorTest
friend

Access for test class.

Definition at line 131 of file WModuleConnector_test.h.


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