Itasca C++ Interface
Loading...
Searching...
No Matches
icontactarray.h
Go to the documentation of this file.
1#pragma once
2// icontactarray.h
3
9namespace itasca
10{
11 class IContainer;
12 class IThing;
13}
14
15namespace block
16{
17 using namespace itasca;
18
19 class IContactThing;
20
24 {
25 public:
26
28 virtual const IThing * getIThing() const=0;
30 virtual IThing * getIThing()=0;
32 virtual const IContainer * getIContainer() const=0;
34 virtual IContainer * getIContainer() =0;
36 virtual const IContactThing * findContactWithID(quint64 id) const=0;
38 virtual IContactThing * findContactWithID(quint64 id)=0;
40 virtual quint32 getContactType() const=0;
42 virtual quint64 getNumContacts() const=0;
44 virtual IContactThing * findContact(const DVect3 &dv)=0;
45
47 virtual uint getContactExtraNotice() const=0;
49 virtual uint getGroupNotice() const=0;
51 virtual uint getModelNotice() const=0;
53 virtual uint getMaterialNotice() const=0;
54 };
55
56} // end namespace block
57// EOF
This interface provides access to contact thing array.
Definition icontactarray.h:24
virtual quint32 getContactType() const =0
Returns the contact type identifier.
virtual uint getGroupNotice() const =0
Returns tag for group change notice.
virtual uint getContactExtraNotice() const =0
Returns the tag for the contact extra variable change notice.
virtual IContactThing * findContact(const DVect3 &dv)=0
Return contact closest to input location.
virtual IContactThing * findContactWithID(quint64 id)=0
Returns a pointer to the contact, IContactThing, with the ID id, or 0 if the contact does not exist.
virtual const IContainer * getIContainer() const =0
Returns a const pointer to the IContainer interface representing the global list of contacts.
virtual const IThing * getIThing() const =0
Returns a const pointer to an IThing interface representing the IContactArray.
virtual IContainer * getIContainer()=0
Returns a pointer to the IContainer interface representing the global list of contacts.
virtual quint64 getNumContacts() const =0
Returns number of contacts in the container.
virtual IThing * getIThing()=0
Returns a pointer to an IThing interface representing the IContactArray.
virtual const IContactThing * findContactWithID(quint64 id) const =0
Returns a const pointer to the contact, IContactThing, with the ID id, or 0 if the contact does not e...
virtual uint getMaterialNotice() const =0
Returns the tag for material change notice.
virtual uint getModelNotice() const =0
Returns the tag for model change notice.
Definition icontactthing.h:31
Interface for containers of IThings.
Definition icontainer.h:21
Base class for items that will be stored in containers.
Definition ithing.h:30
namespace Itasca
Definition basememory.cpp:14