Itasca C++ Interface
ihistorylist.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "dim.h"
4 #include "ihistory.h"
6 
12 namespace itascaxd {
13  using namespace itasca;
16  class IHistoryList {
17  public:
18  shared::Signal<std::vector<bool> *,std::vector<double> *> valuesTaken;
19 
21  virtual IContainer *getIContainer()=0;
22 
25  virtual const IHistory *getFirst() const=0;
26 
28  virtual const IHistory *lookupWithName(const QString &id) const=0;
29 
32  virtual uint32 getNStep() const=0;
33 
38  virtual int64 getData(int64 start,std::vector<double> *values=nullptr,
39  std::vector<bool> *valid=nullptr,uint64 *step=0) const=0;
40 
42  virtual uint32 getNotice() const=0;
43 
45  virtual uint32 getHistoryGeneralType() const=0;
46  };
47 } // namespace itascaxd
48 // EoF
Interface for containers of IThings.
Definition: icontainer.h:21
Interface to a particular history being taken by the history logic.
Definition: ihistory.h:20
Interface to the list of all IHistories being taken by the history logic.
Definition: ihistorylist.h:16
virtual const IHistory * lookupWithName(const QString &id) const =0
Find the IHistory object with ID ul, or 0 if no match is found.
virtual uint32 getHistoryGeneralType() const =0
Returns the general type for an IHistory.
virtual uint32 getNStep() const =0
virtual const IHistory * getFirst() const =0
virtual int64 getData(int64 start, std::vector< double > *values=nullptr, std::vector< bool > *valid=nullptr, uint64 *step=0) const =0
virtual IContainer * getIContainer()=0
Returns a pointer to the container class representing a list of histories.
virtual uint32 getNotice() const =0
Returns the NoticeManager ID for histories added/removed from the list, or additional records taken.
DIM - Provides code portability between 2D and 3D codes.
Interface for container of IThings.
Interface to a particular history being taken by the history logic.
namespace Itasca
Definition: basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4