3#include "shared/interface/signal.h"
4#include "base/src/callback.h"
14 class IContainerContact;
23 class IRBlockTemplate;
28 using prop_signal = shared::Signal<const string &,const base::Property &>;
103 virtual int claimBit()=0;
104 virtual void releaseBit(
int bit)=0;
121 template <
class S,
void (S::*MFP)(IRBlock *,u
int32,u
int32,
void *)>
124 threadedCallbackObject(callback,v,useThreads);
Definition callback.h:130
An array class that attempts to minimize unnecessary heap access.
Definition farray.h:25
Definition basestring.h:71
Interface for containers of IThings.
Definition icontainer.h:21
Interface to EnergyMap class.
Definition ienergymap.h:13
Interface to a "refining" cell space.
Definition icellspace.h:24
debug checked shorthand for std::numeric_limits<T>::
Definition limit.h:25
Definition ighostrblock.h:16
Definition irblockmodule.h:25
virtual IRBlock * findIRBlockClosestTo(const DVect &v, const double &radius=limits< double >::max())=0
Find the RBlock closest to v.
virtual const ICellSpace * getRBlockCellSpace() const =0
Return a const ICellSpace pointer to the RBlock cell space.
virtual void getIRBlocksInBoxList(const DExtent &d, FArray< IRBlock * > *ret, bool intersect=true)=0
Return the RBlocks in a box.
virtual uint32 getRBlockPropertyNotice() const =0
Return the RBlock property notice.
virtual const IGhostRBlock * findIGhostRBlockWithID(uint64 id) const =0
Find the const IGhostRBlock with ID id;.
virtual uint32 getRBlockGeometryNotice() const =0
Return the RBlock geometry notice.
virtual IRBlockTemplate * findIRBlockTemplateWithName(const QString &s)=0
Find the IRBlock with name s that is a template.
virtual IContainerContact * getIContainerRBlockRBlock()=0
Return the IContainerContact of RBlock-RBlock contacts.
virtual uint32 getRBlockHideNotice() const =0
Return the RBlock hide notice.
virtual const IRBlock * findIRBlockClosestTo(const DVect &v, const double &radius=limits< double >::max()) const =0
Find the const RBlock closest to v.
virtual IGhostRBlock * findIGhostRBlockWithID(uint64 id)=0
Find the IGhostRBlock with ID id.
virtual IContainer * getIContainerRBlock()=0
Return the IContainer of the RBlocks.
virtual uint32 getRBlockFixNotice() const =0
Return the RBlock fixity notice.
virtual const IRBlock * findIRBlockContaining(const DVect &v, std::set< uint64 > *skip=nullptr) const =0
Find the const RBlock containing to v.
virtual IRBlock * findIRBlockContaining(const DVect &v, std::set< uint64 > *skip=nullptr)=0
Find the RBlock containing to v.
virtual void populateAttributeSets(StringList *scalarAtts, FArray< uint32 > *scalarNotices, StringList *stringAtts, FArray< uint32 > *stringNotices, StringList *vectorAtts, FArray< uint32 > *vectorNotices) const =0
Populates sets of property names based on their type.
virtual bool collide(IRBlock *rb1, IRBlock *rb2) const =0
Returns a boolean indicating whether a two rigid blocks intersect.
virtual IRBlockTemplate * findIRBlockTemplateWithID(uint64 id)=0
Find the IRBlock with ID id that is a template.
virtual uint32 getRBlockSelectNotice() const =0
Return the RBlock select notice.
virtual IContainer * getIContainerRBlockTemplate()=0
Return the IContainer of the RBlock templates.
virtual prop_signal * getPropertySignal() const =0
Return the signal associated with the addition of a new property.
virtual const IEnergyMap * getIRBlockEnergies() const =0
Return the EnergyMap attached to the rblocks.
virtual const IContainer * getIContainerGhostRBlock() const =0
Return the const IContainer of the Ghost RBlocks.
virtual const IRBlockTemplate * findIRBlockTemplateWithID(uint64 id) const =0
Find the const IRBlock with ID id that is a template;.
virtual IRBlock * findIRBlockWithID(uint64 id)=0
Find the IRBlock with ID id.
virtual void populatePropertySets(StringList *valueProps, StringList *labelProps, StringList *vectorProps) const =0
Populates sets of property names based on their type.
virtual uint32 getRBlockCycleNotice() const =0
Return the RBlock cycle notice.
virtual TType getRBlockTemplateType() const =0
Get the RBlock template TType.
virtual TType getRBlockType() const =0
Return the RBlock TType.
virtual const IContainerContact * getIContainerRBlockRBlock() const =0
Return the IContainerContact of RBlock-RBlock contacts.
virtual IContainer * getIContainerGhostRBlock()=0
Return the IContainer of the Ghost RBlocks.
virtual const IContainer * getIContainerRBlockTemplate() const =0
Return the const IContainer of the RBlock templates.
virtual uint32 getRBlockExtraNotice() const =0
Return the RBlock extra notice.
shared::Signal< const string &, const base::Property & > prop_signal
Typedef for the small granularity signal used to indicate to the gui that a propery has been added.
Definition irblockmodule.h:28
virtual const IRBlock * findIRBlockWithID(uint64 id) const =0
Find the const IRBlock with ID id;.
virtual const IContainer * getIContainerRBlock() const =0
Return the const IContainer of the RBlocks.
virtual ICellSpace * getRBlockCellSpace()=0
Return an ICellSpace pointer to the RBlock cell space.
virtual uint32 getRBlockGroupNotice() const =0
Return the RBlock group notice.
virtual const IRBlockTemplate * findIRBlockTemplateWithName(const QString &s) const =0
Find the const IRBlock with name s that is a template;.
virtual TType getGhostRBlockType() const =0
Get the GhostRBlock TType.
void threadedCallbackMethod(S *s, void *v=nullptr, bool useThreads=true) const
Implementation of the multithreaded loop using the threadedCallbackObjectRBlock
Definition irblockmodule.h:122
Definition irblocktemplate.h:13
An array class that attempts to minimize unnecessary heap access.
uint32 TType
class type indicator
Definition basedef.h:47
DExtent3 DExtent
A DExtent2 in 2D, a DExtent3 in 3D.
Definition dim.h:162
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:156
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:6