Test class used to test data transfer and compatibility checks. More...
#include <WModuleConnector_test.h>
Inheritance diagram for WTestTransferableBase:
Public Member Functions | |
| WTestTransferableBase () | |
| 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. | |
| int | get () const |
| Gives the magic int. | |
| void | set (int i) |
| Sets the new int. | |
Static Public Member Functions | |
| static boost::shared_ptr < WPrototyped > | getPrototype () |
| Returns a prototype instantiated with the true type of the deriving class. | |
Protected Attributes | |
| int | m_data |
| The data. | |
Friends | |
| class | WModuleConnectorTest |
Test class used to test data transfer and compatibility checks.
Definition at line 54 of file WModuleConnector_test.h.
| WTestTransferableBase::WTestTransferableBase | ( | ) | [inline] |
Constructor.
Definition at line 63 of file WModuleConnector_test.h.
References m_data.
Referenced by getPrototype().
| int WTestTransferableBase::get | ( | ) | const [inline] |
Gives the magic int.
Definition at line 104 of file WModuleConnector_test.h.
References m_data.
| virtual const std::string WTestTransferableBase::getDescription | ( | ) | const [inline, virtual] |
Gets the description for this prototype.
Implements WPrototyped.
Reimplemented in WTestTransferableDerived.
Definition at line 84 of file WModuleConnector_test.h.
| virtual const std::string WTestTransferableBase::getName | ( | ) | const [inline, virtual] |
Gets the name of this prototype.
Implements WPrototyped.
Reimplemented in WTestTransferableDerived.
Definition at line 74 of file WModuleConnector_test.h.
| static boost::shared_ptr< WPrototyped > WTestTransferableBase::getPrototype | ( | ) | [inline, static] |
Returns a prototype instantiated with the true type of the deriving class.
Reimplemented in WTestTransferableDerived.
Definition at line 94 of file WModuleConnector_test.h.
References WTestTransferableBase().
| void WTestTransferableBase::set | ( | int | i | ) | [inline] |
Sets the new int.
| i | the int used for testing. |
Definition at line 114 of file WModuleConnector_test.h.
References m_data.
int WTestTransferableBase::m_data [protected] |
The data.
Definition at line 124 of file WModuleConnector_test.h.
Referenced by get(), set(), and WTestTransferableBase().
1.7.1