Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
izonedata.h
Go to the documentation of this file.
1
#pragma once
2
// izonedata.h
3
4
#include "module/interface/idata.h"
5
10
11
namespace
block {
12
class
IZoneThing
;
13
21
class
IZoneData
{
22
public
:
23
// signals
25
shared::Signal<const string &>
propertyChanged
;
26
shared::Signal<bool> propertyActiveChanged;
27
shared::Signal<const StringList &> propertiesAvailableChanged;
28
29
virtual
const
itascaxd::IData
*getIData()
const
= 0;
30
virtual
itascaxd::IData
*getIData() = 0;
31
33
virtual
string
getProperty
()
const
= 0;
35
virtual
bool
getPropertyActive
()
const
= 0;
37
virtual
StringList
getPropertiesAvailable
()
const
= 0;
39
virtual
double
getData
(
const
IZoneThing
*z, uint32 thread=0, uint32 block=0)
const
= 0;
42
virtual
std::vector<uint32>
getInterestedIn
()
const
= 0;
44
virtual
void
destroy
() = 0;
45
48
virtual
void
setProperty
(
const
string
&s) = 0;
49
50
virtual
void
initializeMultithreading(uint32 threads) = 0;
51
};
52
}
// namespace block
53
// EoF
StringList
Definition
basestring.h:71
block::IZoneData
Access to zone scalar data in a generic way. This class maintains a list of scalar data (sxx,...
Definition
izonedata.h:21
block::IZoneData::propertyChanged
shared::Signal< const string & > propertyChanged
This SIGNAL is sent when the property name changes, used when retrieving zone properties.
Definition
izonedata.h:25
block::IZoneData::setProperty
virtual void setProperty(const string &s)=0
block::IZoneData::destroy
virtual void destroy()=0
Destroys this object safely across interface boundaries.
block::IZoneData::getData
virtual double getData(const IZoneThing *z, uint32 thread=0, uint32 block=0) const =0
Retrieves scalar data from the zone, depending on the current index and property data.
block::IZoneData::getInterestedIn
virtual std::vector< uint32 > getInterestedIn() const =0
block::IZoneData::getPropertiesAvailable
virtual StringList getPropertiesAvailable() const =0
Returns list of available properties.
block::IZoneData::getProperty
virtual string getProperty() const =0
Returns the name of the property value being retrieved if the current data is Zone Property.
block::IZoneData::getPropertyActive
virtual bool getPropertyActive() const =0
Returns TRUE if the current data index is a Zone Property.
block::IZoneThing
This is the interface for ZoneThing, a class that holds extra data not in the fortran arrays....
Definition
izonething.h:36
itascaxd::IData
Definition
idata.h:16
3dec
block
interface
izonedata.h
Generated by
1.18.0