Public Member Functions | Public Attributes

jmitie::CjLinkSelector_ctor_va_t Struct Reference

A struct encapsulating the required arguments to the constructor of a CjLinkSelector. More...

#include <CjLinkSelector.hh>

Collaboration diagram for jmitie::CjLinkSelector_ctor_va_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CjLinkSelector_ctor_va_t (CjNLTopology *top, boost::mt19937 *rng, bool isRemover)
 CjLinkSelector_ctor_va_t (const CjNetworkProcess_ctor_va_t &temp, bool isRemover, std::string parent_name)

Public Attributes

bool m_add_remove
 if false then this selector will be adding a link, removing otherwise
boost::mt19937 * m_rng
 A source of entropy. This shouldn't be stored in the node selector - for use only in the constructor.
const CjNLTopologym_top
 The topology associated with this selector.
std::string m_parent_name
 The free-name of the process (or other object) that this selector operates under.

Detailed Description

A struct encapsulating the required arguments to the constructor of a CjLinkSelector.

When creating new sub-classes of CjLinkSelector and it is necessary to add an argument to the constructor it can be more easily added here rather than changing the prototype of [all of] the sub-classes.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator