Convenience class for objects operating on Grid objects in a certain coordinate system.
More...
|
|
| ChartDependentGridOperatorObject (const string &name, int P, const RefPtr< VCreationPreferences > &VP, const string &InputGridNameSlot="grid", int InputGridNameSlotEL=2) |
| |
|
RefPtr< Fiber::Chart > | getChart (const RefPtr< Fiber::Grid > &G, const RefPtr< ValuePool > &Context) const |
| |
|
virtual bool | updateVertexRepresentation (const Fiber::Info< Fiber::Representation > &iR, VRequest &Context, double p) |
| |
|
virtual bool | updateGrid (const Fiber::Bundle::GridInfo_t &iG, const RefPtr< Fiber::Chart > &theCurrentChart, VRequest &Context, double p) |
| |
| bool | update (VRequest &Context, double p) override |
| |
|
| GridOperatorObject (const string &name, int P, const RefPtr< VCreationPreferences > &VP, const string &InputGridNameSlot="grid", int InputGridNameSlotEL=2) |
| |
|
template<class ... BaseArgs> |
| | GridOperatorObject (const string &name, int P, const RefPtr< VCreationPreferences > &VP, const string &InputGridNameSlot="grid", int InputGridNameSlotEL=2, BaseArgs... baseargs) |
| |
|
string | CreatorName () const |
| |
|
const WeakPtrVCreatorBase & | getCreator () const |
| |
| virtual bool | request (VRequest &, double precision, const WeakVObjectPtr &ImmediateRequestor, const WeakVObjectPtr &RootRequestor) |
| |
|
bool | schedule (double precision, const RefPtr< ValuePool > &Context=nullptr) |
| |
|
void | enableRequestProcessing () |
| |
|
void | disableRequestProcessing () |
| |
|
bool | acceptsRequests () const |
| |
|
const MemCore::Counter & | UpdateCount () const |
| |
|
const MemCore::Counter & | RequestCount () const |
| |
|
| VObject (const string &name, int p, const RefPtr< VCreationPreferences > &VP) |
| |
|
virtual const GimpIcon * | gimp_icon () const |
| |
| virtual const char *const * | xpm_icon () const |
| |
|
virtual string | qt_icon () const |
| |
| virtual string | help (HelpType=HTMLText) const |
| |
|
bool | setObjectAsChild (const VObjectPtr &childVObject, const string &DependencySlotName) |
| |
|
double | requestTime () const |
| |
|
void | remove () |
| |
|
const RefPtr< VCreationPreferences > & | CreationPreferences () const |
| |
|
virtual std::string | type_key () const |
| |
|
void | iterateParents (VObjectIterator &VOI, int EL=0) const |
| |
|
int | iterateParents (const VObjectIterator_f &VOI, int EL=0) const |
| |
|
virtual string | CreateParameterName (const ParameterID &name) const |
| |
|
int | iterateChildren (ChildIterator &) const |
| |
|
int | findChildren (const Lambda &theLambda) const |
| |
|
std::list< std::vector< std::string > > | getProvenance () const |
| |
|
AttachErrorCode | attachNewObject (const RefPtr< VSlot > &slot, const string &name, const Intercube &CreationContext, const RefPtr< VCreationPreferences > &VCP=nullptr) |
| |
|
AttachErrorCode | attachNewObject (const RefPtr< VSlot > &slot, const string &name, const RefPtr< VCreationPreferences > &VCP=nullptr) |
| |
|
AttachErrorCode | attachInputObject (const RefPtr< VSlot > &slot, const string &name={}, const RefPtr< VCreationPreferences > &VCP=nullptr, bool ReallyUnique=true) |
| |
|
CreateConnectionResult_t | createChild (const VAcception &VA, const Intercube &CreationContext) |
| |
|
CreateConnectionResult_t | connectChild (const VObjectPtr &ChildObject, const RefPtr< VAcceptInfo > &VA) |
| |
|
CreateConnectionResult_t | connectAsChild (const VObjectPtr &ChildObject, const VAcception &VA) |
| |
|
virtual void | InputCreation (const RefPtr< VParameter > &CurrentObjectsInput, const VObjectPtr &NewlyCreatedObject, const RefPtr< VParameter > &TheNewObjectsOutputParameter) |
| |
|
VObjectPtr | createInput (const WeakPtrVCreatorBase &VCrec, const RefPtr< VSlot > &what, const string &name, Intercube &CreationContext) |
| |
|
VObjectPtr | extractSlot (const RefPtr< VSlot > &theSlot, const string &theNewName=string()) const |
| |
|
auto | getObjectCountID () const noexcept |
| |
|
bool | isIdentical (const WeakPtr< Object, Object > &PossibleSelf) const noexcept |
| |
|
void | mkAutoDestructive () |
| |
|
refcount_t | refcount () const noexcept |
| |
|
| ReferenceBase (Object *that) noexcept |
| |
|
const auto & | self () const |
| |
|
refcount_t | wrefcount () const noexcept |
| |
|
virtual void | adjustConnections (const RefPtr< VSlot > &ChangedSlot, const RefPtr< VParameter > &par) |
| |
|
VSlotContainer::AttachErrorCode | attach (const ParameterID &whichone, VSlotContainer &sourceObject, const ParameterID &sourceName) |
| |
|
AttachErrorCode | attach (const RefPtr< VParameter > &OldParam, const RefPtr< VParameter > &NewParam, const string &Member={}) |
| |
|
AttachErrorCode | attachUniqueObject (const RefPtr< VParameter > ¶m, const RefPtr< VCreationPreferences > &VCP=NullPtr(), bool ReallyUnique=true) |
| |
|
AttachErrorCode | attachUniqueObject (const RefPtr< VSlot > &slot, const RefPtr< VCreationPreferences > &VCP=NullPtr(), bool ReallyUnique=true) |
| |
|
RefPtr< VSlot > | Connect (const RefPtr< VParameter > &SourceParam) |
| |
|
RefPtr< VSlot > | ConnectInterface (const RefPtr< VSlotContainer > &Provider, const RefPtr< InterfaceBase > &IB) |
| |
|
virtual bool | CreatedFilteredConnection (const RefPtr< VParameter > &SourceParam) |
| |
|
Ageable & | age (const RefPtr< ValuePool > &VP) |
| |
|
const Ageable & | age (const RefPtr< ValuePool > &VP) const |
| |
|
const Ageable & | ConnectionAge () const |
| |
|
bool | ConnectionsHaveChanged (const RefPtr< ValuePool > &VP) const |
| |
|
bool | HasYoungerInput (const RefPtr< ValuePool > &Context, int RecursionLevel=0) const |
| |
|
Ageable | YoungestInput (const RefPtr< ValuePool > &Context) const |
| |
|
Ageable | YoungestOutput (const RefPtr< ValuePool > &Context) const |
| |
|
Ageable | YoungestUncachedInput (const RefPtr< ValuePool > &Context) const |
| |
|
bool | CheckIfThereExistNewerOutputs (const VRequest &request, bool AdjustObjectAge) const |
| |
|
RefPtr< VSlot > | addParameter (const ParameterID &name, int EL, const RefPtr< VParameter > ¶m, bool overwriteExistingSlot) |
| |
|
virtual bool | allowParameterReplacement (const RefPtr< VParameter > &NewParam, const RefPtr< VParameter > &OldParam, const string &localName, int ExpertLevel) |
| |
|
virtual int | connectSlots (const VSlotContainerPtr &vobj) |
| |
|
bool | removeParameter (const ParameterID &s) |
| |
|
RefPtr< VParameter > | getParameter (const ParameterID &s) const |
| |
|
RefPtr< VSlot > | getSlot (const ParameterID &s, int &EL) const |
| |
|
bool | setSlotValueFromText (const ParameterID &s, const string &ValueText, const RefPtr< ValuePool > &VP, const string &theMember={}) |
| |
|
RefPtr< VSlot > | findSlot (const RefPtr< VParameter > ¶m) const |
| |
|
string | getSlotName (const RefPtr< VParameter > ¶m) const |
| |
|
bool | AddAction (const ParameterID &s, const RefPtr< ValueActionBase > &VAB) |
| |
|
bool | AddAction (const RefPtr< VSlot > &ActionSlot, bool(DerivedObject::*Action)(const RefPtr< VValueBase > &value)) |
| |
|
RefPtr< VParameter > | mkUniqueParameterInput (const ParameterID &s, const string &ContainerName) |
| |
|
int | getExpertLevel (const ParameterID &s) const |
| |
|
int | setExpertLevel (const ParameterID &s, int EL) |
| |
|
int | getExpertLevel (const RefPtr< VParameter > &) const |
| |
|
int | getExpertLevel (const RefPtr< VSlot > &S) const |
| |
|
int | setExpertLevel (const RefPtr< VSlot > &S, int EL) |
| |
|
int | setExpertLevel (const RefPtr< VParameter > &s, int EL) |
| |
|
bool | hasChanged (const ParameterID &s, const RefPtr< ValuePool > &Context) const |
| |
|
bool | hasChanged (const RefPtr< VSlot > &, const RefPtr< ValuePool > &Context) const |
| |
|
bool | hasChanged (const RefPtr< ValuePool > &Context, int n,...) const |
| |
|
bool | hasChanged (RefPtr< ValuePool > Context,...) const |
| |
|
virtual bool | ignoreInput (const RefPtr< VSlot > &theSlot) const |
| |
|
bool | getParameterValue (Type &Variable, const ParameterID &s, const RefPtr< ValuePool > &VP) const |
| |
|
bool | getParameterValue (Type &Variable, const ParameterID &s, const VContext &C) const |
| |
|
bool | getParameterValue (Type &Variable, const ParameterID &s, const VRequest &R) const |
| |
|
bool | setParameterValue (const Type &Variable, const ParameterID &s, const RefPtr< ValuePool > &VP, bool autoCreateLocalValue) const |
| |
|
bool | setParameterValue (const Type &Variable, const ParameterID &s, VContext &C, bool autoCreateLocalValue) const |
| |
|
bool | setParameterValue (const Type &Variable, const ParameterID &s, VRequest &R, bool autoCreateLocalValue=false) const |
| |
|
RefPtr< VSlot > | addParam (const ParameterID &name, const Type &init, const RefPtr< VCreationPreferences > &VP=NullPtr(), int expertLevel=0, bool overwriteExistingSlot=true) |
| |
|
bool | setParameterProperty (const ParameterID ¶m, const string &Properties, const RefPtr< VValueBase > &Value=NullPtr()) |
| |
|
RefPtr< VSlot > | addFloatParam (double init, const ParameterID ¶m, double min, double max, const RefPtr< VCreationPreferences > &IP=NullPtr(), int expertLevel=0) |
| |
|
AttachErrorCode | attach (const RefPtr< VParameter > &OldParam, const RefPtr< VParameter > &NewParam, const string &Member={}) |
| |
|
int | iterateParameters (int expertLevel, VSlotIterator &VIIt) const |
| |
|
int | iterateInputSlots (int expertLevel, VSlotIterator &VIIt) const |
| |
|
int | iterateInputs (VSlotIterator &VIIt, int expertLevel=0) |
| |
|
int | iterate_inputs (const std::function< bool(VSlot &what, int ExpertLevel)>) const |
| |
|
RefPtr< VSlot > | getUniqueInputSlot (const type_info &what) |
| |
|
int | getNumberOfParameters (int expertLevel) const |
| |
|
virtual bool | implements (const type_info &what) const |
| |
|
virtual RefPtr< VParameter > | getImplementation (const type_info &what, const string &name={}, const string &member={}) const |
| |
|
RefPtr< VSlot > | getImplementationSlot (const type_info &what, const string &Name={}, const string &Member={}) const |
| |
|
VAcceptInfoList_t | getAcceptInfoList (const std::type_info &request_type) const |
| |
|
bool | provides (const RefPtr< VSlot > &OutputSlot) const |
| |
|
RefPtr< VSlot > | findOutputSlot (const RefPtr< VParameter > &Who) const |
| |
|
bool | isYounger (const RefPtr< VParameter > &OutputParam, const RefPtr< ValuePool > &VP) const |
| |
|
bool | isNewlyConnected (const RefPtr< VParameter > &Who, const RefPtr< ValuePool > &VP) const |
| |
|
bool | hasNewlyConnectedOutputs (const RefPtr< ValuePool > &VP) const |
| |
|
void | findNewlyConnectedOutputs (const RefPtr< ValuePool > &VP, VSlotSet &WhichOnes) const |
| |
|
RefPtr< VSlot > | getOutput (const string &Name) const |
| |
|
RefPtr< MemCore::StringList > | getOutputs (const type_info &what=typeid(void)) const |
| |
|
virtual int | iterateOutputs (VOutputIterator &VOut, const type_info &just_these=typeid(void)) const |
| |
|
bool | registerOutput (const RefPtr< VParameter > &P, const string &AsName={}) |
| |
|
bool | registerOutput (const RefPtr< VParameter > &P, const string &AsName, const type_info &MemberType, const string &UseMember) |
| |
|
bool | registerOutput (const RefPtr< VParameter > &P, const type_info &MemberType, const string &UseMember) |
| |
|
int | getNumberOfInputs () const |
| |
|
int | getNumberOfOutputs () const |
| |
|
bool | hasChangedSlots (const MemCore::Intercube &IC, const RefPtr< ValuePool > &Context) const |
| |
|
auto | include_self (const std::tuple< SlotList... > &t) const -> decltype(std::tuple_cat(std::make_tuple(this), t)) |
| |
|
| in (VSlotContainer *that, const string &name, int expertLevel=0) |
| |
|
| in (VSlotContainer *that, const string &name, const GridSelector &GS=GridSelector(), int expertLevel=0) |
| |
|
| out (VConnectable *Source, const string &initial_name, const Fiber::GridSelector &InitValue=GridSelector(), const RefPtr< VCreationPreferences > &CP=NullPtr()) |
| |
|
RefPtr< State > & | getState (const WeakPtr< ValuePool > &VP) const |
| |
|
RefPtr< InterfaceBase > | hasLocalInterface (const type_info &InterfaceType) const |
| |
|
RefPtr< State > | myState (const WeakPtr< ValuePool > &Context) const |
| |
| virtual RefPtr< State > | newState () const |
| |
|
void | setState (const WeakPtr< ValuePool > &, const RefPtr< State > &st) const |
| |
|
void | addSaver (const string &, const RefPtr< VishSaver > &) |
| |
|
void | addSavers (AppClass &A) |
| |
|
bool | autosave () const |
| |
|
RefPtr< VishSaver > | getMostRecentSaver () const |
| |
|
size_t | getNumberOfSavers () const |
| |
|
RefPtr< VishSaver > | getSaver (const string &) const |
| |
|
RefPtr< VishSaver > | getSaverByExt (const string &ext) const |
| |
|
int | iterate_savers (const save_iterator &si) const |
| |
Public Member Functions inherited from Wizt::VManagedDomainObject< VObject > |
| const type_info & | getDomainType () const override |
| |
|
void | remove () |
| |
|
| VManagedDomainObject (const string &name, int priority=DEFAULT_PRIORITY) |
| |
|
string | getLoadModule () const |
| |
|
void | insert (const string &s, int priority=DEFAULT_PRIORITY) |
| |
|
void | remove () |
| |
|
void | setPriority (int priority) |
| |
|
| VManagedObject (const string &name, int priority=DEFAULT_PRIORITY) |
| |
|
void | addInterface (const RefPtr< InterfaceBase > &I) const |
| |
|
void | addInterfaceData (const Data &D) |
| |
|
void | addInterfaceData (const Data &D) |
| |
|
void | clearInterfaces () |
| |
|
bool | const_iterateInterfaces (const RefPtr< InterfaceIterationParameter > &IIP) const |
| |
|
virtual RefPtr< InterfaceBase > | createInterface (const type_info &) const |
| |
|
RefPtr< InterfaceBase > | findInterface (const type_info &t) const |
| |
|
RefPtr< InterfaceBase > | getInterface (const type_info &t) |
| |
|
std::string | getInterfaceNames (const char delim=';') const |
| |
|
bool | gotNewInterfaceData (const Data &D) |
| |
|
bool | gotNewInterfaceData (mutex &M, const Data &D) |
| |
|
bool | gotNewInterfaceData (mutex &M, const Data &D) |
| |
|
bool | gotNewInterfaceData (mutex &M, const Data &D, const Selector &S) |
| |
|
bool | gotNewInterfaceData (mutex &M, const Data &D, const Selector *S) |
| |
|
bool | hasChangedInterfaceData (const Data &D) const |
| |
|
bool | hasChangedInterfaceData (const Data &D) const |
| |
|
bool | hasChangedInterfaceData (const Data &D, const Selector &) const |
| |
|
bool | hasChangedInterfaceData (const Data &D, const Selector *) const |
| |
|
bool | hasInterface (const type_info &t) const |
| |
|
bool | iterateInterfaces (const RefPtr< InterfaceIterationParameter > &IIP) |
| |
|
void | printInterfaces () const |
| |
|
void | registerInterface (const type_info &t) |
| |
|
void | removeInterface () |
| |
|
void | removeInterfaceBase (const type_info &InterfaceBaseID) |
| |
|
void | addNameChangeNotifier (const WeakPtr< Notifier > &) |
| |
|
std::string | BaseName (const char Separator) const |
| |
|
const std::string & | getName () const |
| |
|
| MutableName (const std::string &theName) |
| |
|
const std::string & | Name () const |
| |
|
void | rename (const std::string &newName) |
| |
|
void | setName (const std::string &newName) |
| |
|
RefPtr< VScriptFunctor > | findFunctor (const string &name) const |
| |
|
RefPtr< VScriptFunctor > | insertFunctor (const string &name, const RefPtr< VScriptFunctor > &) |
| |
|
bool | iterate (iterator &it) |
| |
|
int | nFunctors () const |
| |
|
void | removeFunctor (const string &name) |
| |
|
bool | addRequest (const VRequest &request) |
| |
|
bool | hasRequest (const VRequest &request) const |
| |
|
| Fish (const string &time="time", const string ×cale="timescale") |
| | Constructor, uses the VObject from the virtual base class.
|
| |
|
| ~Fish () |
| | Destructor.
|
| |
|
double | getTime (const RefPtr< ValuePool > &VP, const RefPtr< Fiber::Bundle > &SpaceTime) const override |
| | Get the time value for the current selection from the value pool.
|
| |
|
Fiber::Bundle::GridInfo_t | findRecentGrid (Fiber::GridSelector &GS, const RefPtr< ValuePool > &VP) const |
| |
|
double | getTime (const RefPtr< ValuePool > &VP, double DefaultTime=0.0, const Range &DefaultRange=Range(0.0, 1.0)) const |
| |
|
const TypedSlot< VTime > & | getTimeSlot () const |
| |
|
void | setupTime (const VConnectable::CreationSlots_t &CreationSlots, bool CreateNewTimeObjectIfNoneExistent=true) |
| |
|
| TimeDependent (const char *timename="time", const char *timescalename="timescale", const RefPtr< VCreationPreferences > &VP=NullPtr(), const VTime &VT=VTime(0.0, 0.0, 0.0)) |
| |
| | Fish (const string &s="grid", int prior=2) |
| | Constructor, optionally pass a parameter of this grid's name (ie.
|
| |
|
virtual | ~Fish () |
| | Destructor.
|
| |
|
void | registerGridAsOutput () |
| | Make grid visible as output.
|
| |
| Fiber::Bundle::GridInfo_t | findMostRecentGrid (GridSelector &GS, const RefPtr< ValuePool > &VP, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) const |
| | This is a convenience function to find the most recent grid for the current time ( Fish<Slice>() or virtual function getTime() ).
|
| |
|
Fiber::Bundle::GridInfo_t | findMostRecentGrid (const RefPtr< ValuePool > &VP, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) const |
| | Find the most recent grid for the current time ( Fish<Slice>() or virtual function getTime() ).
|
| |
| virtual GridSelector | getGridSelector (const RefPtr< ValuePool > &VP) const |
| | Provide the current Grid selector, which usually would be taken from the intrinsic TypedSlot, such as equivalent to:
|
| |
|
Fiber::Info< Fiber::Skeleton > | getRefinementLevel (int Level, const RefPtr< ValuePool > &VP, int IndexDepth=0, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) const override |
| | Get an refinement level for the given spacetime based on the GridSelector as returned by getGridSelector().
|
| |
| bool | IterateLevelsOnMostRecentGrid (LevelIterator &LI, const RefPtr< ValuePool > &Context, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) const |
| | Iterate over all the selected levels of a Grid via an instance of the LevelIterator.
|
| |
| RefPtr< Fiber::Field > | getField (const Fiber::FieldSelector &FS, const RefPtr< ValuePool > &VP, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) |
| | Retrieve a field for the given FieldSelector on the currently selected Grid.
|
| |
template<
class BaseClass = VObject>
struct Wizt::ChartDependentGridOperatorObject< BaseClass >
Convenience class for objects operating on Grid objects in a certain coordinate system.