A struct encapsulating the required arguments to the constructor of a CjNetworkProcess. More...
#include <CjNetworkProcess.hh>
Public Types | |
typedef CjVisitorFactory < CjVisitorFactoryEntry < CjNetworkDimensioner > > | CjDimFactory_t |
typedef CjVisitorFactory < CjVisitorFactoryEntry < CjNodeSelector > > | CjNodeSelectorFactory_t |
typedef CjVisitorFactory < CjVisitorFactoryEntry < CjLinkSelector > > | CjLinkSelectorFactory_t |
Public Member Functions | |
CjNetworkProcess_ctor_va_t (CjDimFactory_t &dim_fac, CjNodeSelectorFactory_t &nodsel_fac, CjLinkSelectorFactory_t &lnksel_fac, boost::mt19937 *rng, CjNLTopology *top) | |
Public Attributes | |
CjDimFactory_t & | m_dim_fac |
The dimensioner factory to use when dimensioner objects are to be created. | |
CjNodeSelectorFactory_t & | m_nodsel_fac |
The node selector factory to use when node selector objects are to be created. | |
CjLinkSelectorFactory_t & | m_lnksel_fac |
The link selector factory to use when link selector objects are to be created. | |
boost::mt19937 * | m_rng |
The random number generator instance to use. | |
CjNLTopology * | m_top |
The topology associated with this process. |
A struct encapsulating the required arguments to the constructor of a CjNetworkProcess.
When creating new sub-classes of CjNetworkProcess and it is necessary to add an argument to the constructor it can be more easily added here than changing the prototype of [all of] the sub-classes.