SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | Public Attributes | List of all members
smtk::operation::DispositionBatch Struct Reference

A structure that holds operations configured via association. More...

#include <GroupOps.h>

Collaboration diagram for smtk::operation::DispositionBatch:
[legend]

Public Member Functions

bool ableToOperate () const
 Return true if the batch of ops is able to run and all input objects are associated to an operation in ops. More...
 

Public Attributes

std::unordered_map< smtk::operation::Operation::Index, smtk::operation::Operation::Ptr > ops
 
std::set< smtk::resource::PersistentObject::Ptr > noMatch
 
std::set< smtk::resource::PersistentObject::Ptr > cannotAssociate
 
std::size_t numberOfObjects { 0 }
 
std::size_t numberOfBlockedOperations { 0 }
 
std::size_t numberOfBlockedAssociations { 0 }
 

Detailed Description

A structure that holds operations configured via association.

This structure is passed to a DispositionFunction that may programmatically modify operation parameters or ask users for input.

Member Function Documentation

◆ ableToOperate()

bool smtk::operation::DispositionBatch::ableToOperate ( ) const

Return true if the batch of ops is able to run and all input objects are associated to an operation in ops.

A DispositionFunction will be invoked only when this method returns false;


The documentation for this struct was generated from the following files: