Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
itascaxd::IHistoryList Class Referenceabstract

Interface to the list of all IHistories being taken by the history logic. More...

#include <ihistorylist.h>

Public Member Functions

virtual IContainergetIContainer ()=0
 Returns a pointer to the container class representing a list of histories.
 
virtual const IHistorygetFirst () const =0
 
virtual const IHistorylookupWithName (const QString &id) const =0
 Find the IHistory object with ID ul, or 0 if no match is found.
 
virtual uint32 getNStep () const =0
 
virtual int64 getData (int64 start, std::vector< double > *values=nullptr, std::vector< bool > *valid=nullptr, uint64 *step=0) const =0
 
virtual uint32 getNotice () const =0
 Returns the NoticeManager ID for histories added/removed from the list, or additional records taken.
 
virtual uint32 getHistoryGeneralType () const =0
 Returns the general type for an IHistory.
 

Public Attributes

shared::Signal< std::vector< bool > *, std::vector< double > * > valuesTaken
 

Detailed Description

Interface to the list of all IHistories being taken by the history logic.

Member Function Documentation

◆ getData()

virtual int64 itascaxd::IHistoryList::getData ( int64 start,
std::vector< double > * values = nullptr,
std::vector< bool > * valid = nullptr,
uint64 * step = 0 ) const
pure virtual

Retrieves history data. start is a file position that is assumed to be value (first is always 0).
Fills the values array and the valid array with the histories in that record.
Also returns the step number of the record.
Returns the file position after retrieving the data (can be used as start to get next record).

◆ getFirst()

virtual const IHistory * itascaxd::IHistoryList::getFirst ( ) const
pure virtual

Returns the first history in the list.
You can use IHistory::getNext() to iterate through the entire list.

◆ getNStep()

virtual uint32 itascaxd::IHistoryList::getNStep ( ) const
pure virtual

This value indications at what interval histories should be stored. For instance if getNStep() = 10 then histories will be stored every 10 steps.


The documentation for this class was generated from the following file: