Itasca C++ Interface
Loading...
Searching...
No Matches
irangeelementcontact.h
1#pragma once
2
3#include "irangeelement.h"
4
5namespace itascaxd {
6 using namespace itasca;
7
10 public:
12 inline static const TType type_ = 0x50a65886;
14 enum ActivityState { All=1, Active, Inactive};
15
16 shared::Signal<const QSet<QString> &> modelNamesChanged;
17 shared::Signal<const QString &> modelNameAdded;
18 shared::Signal<const QString &> modelNameRemoved;
19 shared::Signal<const QSet<QString> &> typeNamesChanged;
20 shared::Signal<const QString &> typeNameAdded;
21 shared::Signal<const QString &> typeNameRemoved;
22 shared::Signal<const QSet<QString> &> processNamesChanged;
23 shared::Signal<const QString &> processNameAdded;
24 shared::Signal<const QString &> processNameRemoved;
25 shared::Signal<const DVect2 &> gapChanged;
26 shared::Signal<const ActivityState &> activityStateChanged;
27
30
32 virtual QSet<QString> getModelNames() const=0;
34 virtual void setModelNames(const QSet<QString> &ns)=0;
36 virtual void addModelName(const QString &n)=0;
38 virtual void removeModelName(const QString &n)=0;
40 virtual QSet<QString> getTypeNames() const=0;
42 virtual void setTypeNames(const QSet<QString> &ns)=0;
44 virtual void addTypeName(const QString &n)=0;
46 virtual void removeTypeName(const QString &n)=0;
48 virtual QSet<QString> getProcessNames() const=0;
50 virtual void setProcessNames(const QSet<QString> &ns)=0;
52 virtual void addProcessName(const QString &n)=0;
54 virtual void removeProcessName(const QString &n)=0;
56 virtual void setActivityState(const ActivityState &)=0;
58 virtual const ActivityState & getActivityState() const=0;
59 };
60
61} // namespace itascaxd
62// EoF
Interface to a RangeElement of contacts specifying activity, type, model name, etc.
Definition irangeelementcontact.h:9
virtual void setActivityState(const ActivityState &)=0
Set the activity state.
virtual void addModelName(const QString &n)=0
Adds a model name to the filter.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition irangeelementcontact.h:12
virtual IRangeElement * getIRangeElement()=0
Returns a pointer to itself.
virtual void removeProcessName(const QString &n)=0
Removes a process name from this filter.
virtual QSet< QString > getModelNames() const =0
Returns the list of contact model names associated with this filter element.
virtual QSet< QString > getTypeNames() const =0
Returns the list of contact type names associated with this filter element.
virtual void removeTypeName(const QString &n)=0
Removes a type name from this filter.
virtual const ActivityState & getActivityState() const =0
Get the activity state.
virtual void setTypeNames(const QSet< QString > &ns)=0
Sets the list of contact type names.
virtual QSet< QString > getProcessNames() const =0
Returns the list of contact process names associated with this filter element.
virtual void addTypeName(const QString &n)=0
Adds a type name to the filter.
virtual void setModelNames(const QSet< QString > &ns)=0
Sets the list of contact model names.
virtual void setProcessNames(const QSet< QString > &ns)=0
Sets the list of contact process names.
virtual void removeModelName(const QString &n)=0
Removes a model name from this filter.
ActivityState
State of the contact.
Definition irangeelementcontact.h:14
virtual void addProcessName(const QString &n)=0
Adds a process name to the filter.
Interface to a filter element, which is a member of a IRange..
Definition irangeelement.h:19
uint32 TType
class type indicator
Definition basedef.h:46
Interface to a filter element, which is a member of a IRange.
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4