OpenWalnut
1.2.5
|
Derived test class used to test data transfer and compatibility checks, especially the inheritance checks. More...
#include <WModuleConnector_test.h>
Public Member Functions | |
WTestTransferableDerived () | |
Constructor. | |
virtual const std::string | getName () const |
Gets the name of this prototype. | |
virtual const std::string | getDescription () const |
Gets the description for this prototype. | |
![]() | |
WTestTransferableBase () | |
Constructor. | |
int | get () const |
Gives the magic int. | |
void | set (int i) |
Sets the new int. | |
![]() | |
WTransferable () | |
Default constructor. | |
virtual | ~WTransferable () |
Destructor. | |
![]() | |
WPrototyped () | |
Default constructor. | |
virtual | ~WPrototyped () |
Destructor. | |
template<typename T > | |
bool | isA () |
Checks whether the actual prototype has the specified runtime type. |
Static Public Member Functions | |
static boost::shared_ptr < WPrototyped > | getPrototype () |
Returns a prototype instantiated with the true type of the deriving class. |
Friends | |
class | WModuleConnectorTest |
Additional Inherited Members | |
![]() | |
int | m_data |
The data. |
Derived test class used to test data transfer and compatibility checks, especially the inheritance checks.
Definition at line 132 of file WModuleConnector_test.h.
|
inline |
|
inlinevirtual |
Gets the description for this prototype.
Reimplemented from WTestTransferableBase.
Definition at line 160 of file WModuleConnector_test.h.
|
inlinevirtual |
Gets the name of this prototype.
Reimplemented from WTestTransferableBase.
Definition at line 150 of file WModuleConnector_test.h.
|
inlinestatic |
Returns a prototype instantiated with the true type of the deriving class.
Reimplemented from WTestTransferableBase.
Definition at line 170 of file WModuleConnector_test.h.
References WTestTransferableDerived().