Inviwo
0.9.10.1
Inviwo documentation
|
The base class for all DataGroup objects. More...
#include <datagroup.h>
Public Types | |
using | self = Self |
using | repr = Repr |
Public Member Functions | |
virtual DataGroup< Self, Repr > * | clone () const =0 |
template<typename T > | |
const T * | getRepresentation () const |
template<typename T > | |
T * | getEditableRepresentation () |
template<typename T > | |
bool | hasRepresentation () const |
bool | hasRepresentations () const |
void | clearRepresentations () |
Protected Member Functions | |
DataGroup (const DataGroup< Self, Repr > &rhs) | |
DataGroup< Self, Repr > & | operator= (const DataGroup< Self, Repr > &rhs) |
Protected Attributes | |
std::mutex | mutex_ |
std::unordered_map< std::type_index, std::shared_ptr< Repr > > | representations_ |
The base class for all DataGroup objects.
It owns or has reference to zero or many Data objects.
It also owns DataGroupRepresentations, which has references to DataRepresentations, which are owned by the referenced/owned Data objects.
Differences between DataGroup and Data: