|
OpenWalnut
1.4.0
|
Test class used to test data transfer and compatibility checks. More...
#include <WModuleConnector_test.h>
Inheritance diagram for WTestTransferableBase:Public Member Functions | |
| WTestTransferableBase () | |
| 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... | |
| 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 boost::shared_ptr< WPrototyped > | getPrototype () |
| Returns a prototype instantiated with the true type of the deriving class. More... | |
Protected Attributes | |
| int | m_data |
| The data. More... | |
Friends | |
| class | WModuleConnectorTest |
Test class used to test data transfer and compatibility checks.
Definition at line 56 of file WModuleConnector_test.h.
|
inline |
Constructor.
Definition at line 64 of file WModuleConnector_test.h.
References m_data.
Referenced by getPrototype().
|
inline |
Gives the magic int.
Definition at line 105 of file WModuleConnector_test.h.
References m_data.
|
inlinevirtual |
Gets the description for this prototype.
Implements WPrototyped.
Reimplemented in WTestTransferableDerived.
Definition at line 85 of file WModuleConnector_test.h.
|
inlinevirtual |
Gets the name of this prototype.
Implements WPrototyped.
Reimplemented in WTestTransferableDerived.
Definition at line 75 of file WModuleConnector_test.h.
|
inlinestatic |
Returns a prototype instantiated with the true type of the deriving class.
Definition at line 95 of file WModuleConnector_test.h.
References WTestTransferableBase().
|
inline |
Sets the new int.
| i | the int used for testing. |
Definition at line 115 of file WModuleConnector_test.h.
References m_data.
|
protected |
The data.
Definition at line 124 of file WModuleConnector_test.h.
Referenced by get(), set(), and WTestTransferableBase().
1.8.9.1