Itasca C++ Interface
|
This interface provides access to contact thing array. More...
#include <icontactarray.h>
Public Member Functions | |
virtual const IThing * | getIThing () const =0 |
Returns a const pointer to an IThing interface representing the IContactArray. | |
virtual IThing * | getIThing ()=0 |
Returns a pointer to an IThing interface representing the IContactArray. | |
virtual const IContainer * | getIContainer () const =0 |
Returns a const pointer to the IContainer interface representing the global list of contacts. | |
virtual IContainer * | getIContainer ()=0 |
Returns a pointer to the IContainer interface representing the global list of contacts. | |
virtual const IContactThing * | findContactWithID (uint64 id) const =0 |
Returns a const pointer to the contact, IContactThing, with the ID id, or 0 if the contact does not exist. | |
virtual IContactThing * | findContactWithID (uint64 id)=0 |
Returns a pointer to the contact, IContactThing, with the ID id, or 0 if the contact does not exist. | |
virtual uint32 | getContactType () const =0 |
Returns the contact type identifier. | |
virtual uint64 | getNumContacts () const =0 |
Returns number of contacts in the container. | |
virtual IContactThing * | findContact (const DVect3 &dv)=0 |
Return contact closest to input location. | |
virtual uint32 | getContactExtraNotice () const =0 |
Returns the tag for the contact extra variable change notice. | |
virtual uint32 | getGroupNotice () const =0 |
Returns tag for group change notice. | |
virtual uint32 | getModelNotice () const =0 |
Returns the tag for model change notice. | |
virtual uint32 | getMaterialNotice () const =0 |
Returns the tag for material change notice. | |
virtual void | threadedCallbackObject (Callback4< void, const IContactThing *, uint32, uint32, void * > &callback, void *v=nullptr, bool useThreads=true) const =0 |
Object for creation of multithreaded loop over contacts. | |
template<class S , void(S::*)(const IContactThing *, uint32, uint32, void *) MFP> | |
void | threadedCallbackMethod (S *s, void *v=nullptr, bool useThreads=true) const |
Implementation of the multithreaded loop using the threadedCallbackObject. | |
This interface provides access to contact thing array.