Commit 238a2e53 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[CHANGE] - added more documentation to template module

parent 900fda26
......@@ -138,7 +138,6 @@ public:
dh->clear();
TS_ASSERT_EQUALS( 0, dh->m_subjects.size() ); // note: this is 2 since the datahandler always provides a default subject
}
};
#endif // WDATAHANDLER_TEST_H
......
This diff is collapsed.
......@@ -101,6 +101,11 @@ private:
*/
boost::shared_ptr< WModuleInputData< WDataSetSingle > > m_input;
/**
* The output connector used to provide the calculated data to other modules.
*/
boost::shared_ptr< WModuleOutputData< WDataSetSingle > > m_output;
/**
* This is a pointer to the dataset the module is currently working on.
*/
......@@ -148,7 +153,15 @@ private:
class SafeUpdateCallback : public osg::NodeCallback
{
public: // NOLINT
SafeUpdateCallback( WMTemplate* module ): m_module( module ) {};
/**
* Constructor.
*
* \param module just set the creating module as pointer for later reference.
*/
explicit SafeUpdateCallback( WMTemplate* module ): m_module( module )
{
};
/**
* operator () - called during the update traversal.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment