NEST main@f146f75
Loading...
Searching...
No Matches
nest::Device::Parameters_ Struct Reference

Independent parameters of the model. More...

Collaboration diagram for nest::Device::Parameters_:
[legend]

Public Member Functions

 Parameters_ ()
 Sets default parameter values.
 Parameters_ (const Parameters_ &)
 Copy and recalibrate parameter set.
Parameters_ & operator= (const Parameters_ &)
void get (Dictionary &) const
 Store current values in dictionary.
void set (const Dictionary &)
 Set values from dictionary.

Public Attributes

Time origin_
 Origin of device time axis, relative to network time. Defaults to 0.
Time start_
 Stop time, relative to origin. Defaults to "infinity".
Time stop_

Static Private Member Functions

static void update_ (const Dictionary &, const std::string &, Time &)
 Update given Time parameter including error checking.

Detailed Description

Independent parameters of the model.

Constructor & Destructor Documentation

◆ Parameters_() [1/2]

nest::Device::Parameters_::Parameters_ ( )

Sets default parameter values.

References origin_, start_, and stop_.

Referenced by operator=(), and Parameters_().

Here is the caller graph for this function:

◆ Parameters_() [2/2]

nest::Device::Parameters_::Parameters_ ( const Parameters_ & p)

Copy and recalibrate parameter set.

References origin_, Parameters_(), start_, and stop_.

Here is the call graph for this function:

Member Function Documentation

◆ get()

void nest::Device::Parameters_::get ( Dictionary & d) const

Store current values in dictionary.

References nest::names::origin(), origin_, nest::names::start(), and start_.

Here is the call graph for this function:

◆ operator=()

Device::Parameters_ & nest::Device::Parameters_::operator= ( const Parameters_ & p)

References origin_, Parameters_(), start_, and stop_.

Here is the call graph for this function:

◆ set()

void nest::Device::Parameters_::set ( const Dictionary & d)

Set values from dictionary.

References nest::names::origin(), origin_, nest::names::start(), start_, nest::names::stop(), stop_, and update_().

Referenced by nest::Device::set_status().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_()

void nest::Device::Parameters_::update_ ( const Dictionary & d,
const std::string & name,
Time & value )
staticprivate

Update given Time parameter including error checking.

References nest::Time::is_finite(), nest::Time::is_grid_time(), and nest::Time::ms.

Referenced by set().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ origin_

Time nest::Device::Parameters_::origin_

Origin of device time axis, relative to network time. Defaults to 0.

Start time, relative to origin. Defaults to 0.

Referenced by get(), operator=(), Parameters_(), Parameters_(), and set().

◆ start_

Time nest::Device::Parameters_::start_

Stop time, relative to origin. Defaults to "infinity".

Referenced by get(), operator=(), Parameters_(), Parameters_(), and set().

◆ stop_

Time nest::Device::Parameters_::stop_

The documentation for this struct was generated from the following files: