#include <group.h>
|
std::vector< std::shared_ptr< Object > > | object |
|
std::string | expandStr |
|
std::string | fileName |
|
std::shared_ptr< H5::File > | hdf5File |
|
std::function< void()> | closeRequestCallback |
|
std::function< void()> | refreshCallback |
|
std::string | name |
|
std::string | enableStr |
|
std::string | boundingBoxStr |
|
std::string | ID |
|
std::string | environmentStr |
|
std::weak_ptr< Group > | parent |
|
H5::GroupBase * | hdf5Group {nullptr} |
|
std::string | fullName |
|
|
class | Body |
|
class | Object |
|
class | ObjectFactory |
|
◆ addObject()
void OpenMBV::Group::addObject |
( |
const std::shared_ptr< Object > & |
newObject | ) |
|
Add a object to this object container
◆ createHDF5File()
void OpenMBV::Group::createHDF5File |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ enableSWMR()
void OpenMBV::Group::enableSWMR |
( |
| ) |
|
Enable SWMR if a H5 file is written.
◆ flushIfRequested()
void OpenMBV::Group::flushIfRequested |
( |
| ) |
|
Flush the H5 file if reader has requested a flush.
◆ getFileName()
std::string OpenMBV::Group::getFileName |
( |
| ) |
|
|
inline |
Returns the file name of the .ombvx file including the absolute or relatvie path
◆ getFullName()
string OpenMBV::Group::getFullName |
( |
| ) |
|
|
overridevirtual |
Returns the full name (path) of the object
Reimplemented from OpenMBV::Object.
◆ getTopLevelGroup()
std::shared_ptr< Group > OpenMBV::Group::getTopLevelGroup |
( |
| ) |
|
|
inline |
return the top level Group
◆ initializeUsingXML()
void OpenMBV::Group::initializeUsingXML |
( |
xercesc::DOMElement * |
element | ) |
|
|
overridevirtual |
Initializes the time invariant part of the object using a XML node
Reimplemented from OpenMBV::Object.
◆ openHDF5File()
void OpenMBV::Group::openHDF5File |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ read()
void OpenMBV::Group::read |
( |
| ) |
|
Read the tree (XML and h5).
◆ readXML()
void OpenMBV::Group::readXML |
( |
| ) |
|
|
protected |
Read the XML file. Call this function to read an OpenMBV XML file and creating the Object tree.
◆ refresh()
void OpenMBV::Group::refresh |
( |
| ) |
|
◆ requestFlush()
void OpenMBV::Group::requestFlush |
( |
| ) |
|
Request a flush of the writer
◆ setCloseRequestCallback()
void OpenMBV::Group::setCloseRequestCallback |
( |
const std::function< void()> & |
closeRequestCallback_ | ) |
|
|
inline |
Set the callback which is called, by HDF5Serie, if reading this file should be closed (and reopened immediately after)
◆ setExpand()
void OpenMBV::Group::setExpand |
( |
bool |
expand | ) |
|
|
inline |
Expand this tree node in a view if true (the default)
◆ setFileName()
void OpenMBV::Group::setFileName |
( |
const std::string & |
fn | ) |
|
|
inline |
Sets the file name of the .ombvx file including the absolute or relatvie path
◆ setRefreshCallback()
void OpenMBV::Group::setRefreshCallback |
( |
const std::function< void()> & |
refreshCallback_ | ) |
|
|
inline |
Set the callback which is called, by HDF5Serie, if, after a writer flush, the writer has finished the flush and this reader should now refresh the file.
◆ write()
void OpenMBV::Group::write |
( |
bool |
writeXMLFile = true , |
|
|
bool |
writeH5File = true |
|
) |
| |
Initialize/Write the tree (XML and h5). Call this function for the root node of the tree to init the h5 file. (Only the h5 tree is written, but do data. Use append() to write date to h5 file after calling this function)
◆ writeXML()
void OpenMBV::Group::writeXML |
( |
| ) |
|
|
protected |
Initialisze/Write the XML file. Call this function for the root node of the tree to create/write/ the XML file.
◆ writeXMLFile()
DOMElement * OpenMBV::Group::writeXMLFile |
( |
xercesc::DOMNode * |
parent | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- /mbsim-env/openmbv/openmbvcppinterface/openmbvcppinterface/group.h
- /mbsim-env/openmbv/openmbvcppinterface/openmbvcppinterface/group.cc