Itasca C++ Interface
Loading...
Searching...
No Matches
irangeelementstate.h
Go to the documentation of this file.
1#pragma once
2// irangeelementstate.h
3
10
11namespace zone
12{
13 using namespace itascaxd;
14
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
Interface to a filter element that allows user to filter based on a zone state.
Definition irangeelementstate.h:17
virtual void setStateAny(bool any)=0
Used to set the state recovery 'any' or 'average'.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangeelementstate.h:20
virtual string getState() const =0
Returns the filter state name, see setState().
virtual void setState(const string &state)=0
Used to set a new state. It issues the signal stateChanged(stateName). See getState().
virtual bool getStateAny() const =0
Returns true for any, false for average. See setState().
uint32 TType
class type indicator
Definition basedef.h:46
Interface to a filter element, which is a member of a IRange.
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4