Public Member Functions | Public Attributes

jmitie::CjNodeSelector_ctor_va_t Struct Reference

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

#include <CjNodeSelector.hh>

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

List of all members.

Public Member Functions

 CjNodeSelector_ctor_va_t (CjNLTopology *top, boost::mt19937 *rng, bool isDest, bool isRemove, std::string parent_name)
 CjNodeSelector_ctor_va_t (const CjNetworkProcess_ctor_va_t &temp, bool isDest, bool isRemove, std::string parent_name)

Public Attributes

bool m_src_dest
 if false this will be the source node selector, destination otherwise
bool m_add_remove
 if false then this selector will be used for 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 CjNodeSelector.

When creating new sub-classes of CjNodeSelector 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