Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
irangeelementstate.h
Go to the documentation of this file.
1
#pragma once
2
// irangeelementstate.h
3
8
9
#include "
module/interface/irangeelement.h
"
10
11
namespace
zone
12
{
13
using namespace
itascaxd
;
14
17
class
IRangeElementState
{
18
public
:
20
inline
static
const
TType
type_
= 0x4f1dd8c7;
21
22
shared::Signal<const string &> stateChanged;
23
shared::Signal<bool> stateAnyChanged;
24
26
virtual
string
getState
()
const
=0;
27
29
virtual
bool
getStateAny
()
const
=0;
30
31
// slots
33
virtual
void
setState
(
const
string
&state)=0;
34
36
virtual
void
setStateAny
(
bool
any)=0;
37
};
38
}
// namespace zone
39
// EoF
zone::IRangeElementState
Interface to a filter element that allows user to filter based on a zone state.
Definition
irangeelementstate.h:17
zone::IRangeElementState::setStateAny
virtual void setStateAny(bool any)=0
Used to set the state recovery 'any' or 'average'.
zone::IRangeElementState::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
irangeelementstate.h:20
zone::IRangeElementState::getState
virtual string getState() const =0
Returns the filter state name, see setState().
zone::IRangeElementState::setState
virtual void setState(const string &state)=0
Used to set a new state. It issues the signal stateChanged(stateName). See getState().
zone::IRangeElementState::getStateAny
virtual bool getStateAny() const =0
Returns true for any, false for average. See setState().
TType
uint32 TType
class type indicator
Definition
basedef.h:47
itascaxd
#define itascaxd
Expands to itasca2d in 2D, itasca3d in 3D, for use as a namespace name....
Definition
dim.h:181
irangeelement.h
Interface to a filter element, which is a member of a IRange.
flac3d
zone
interface
irangeelementstate.h
Generated by
1.18.0