55 const std::shared_ptr<AQNWB::NWB::RegisteredType>&
object);
74 const std::string& path)
const;
84 const std::shared_ptr<const AQNWB::NWB::RegisteredType>&
object)
const;
AQNWB::Types::Status Status
Definition BaseIO.hpp:22
AQNWB::Types::SizeType SizeType
Definition Channel.hpp:8
SizeType addRecordingObject(const std::shared_ptr< AQNWB::NWB::RegisteredType > &object)
Adds a RegisteredType object to the recording objects collection.
Definition RecordingObjects.cpp:34
~RecordingObjects()
Destructor for RecordingObjects class.
Definition RecordingObjects.cpp:18
std::string toString() const
Create a string representation of the RecordingObjects contents.
Definition RecordingObjects.cpp:103
std::vector< std::shared_ptr< AQNWB::NWB::RegisteredType > > m_recording_objects
The RegisteredType objects used for recording.
Definition RecordingObjects.hpp:122
Status clearRecordingDataCache()
Clear recording data cache for all RegisteredType objects managed by this RecordingObjects instance....
Definition RecordingObjects.cpp:83
std::shared_ptr< AQNWB::NWB::RegisteredType > getRecordingObject(const SizeType &objectInd)
Gets the RegisteredType object from the recording objects collection.
Definition RecordingObjects.cpp:49
void clear()
Clear the recording objects collection.
Definition RecordingObjects.hpp:89
SizeType getRecordingIndex(const std::shared_ptr< const AQNWB::NWB::RegisteredType > &object) const
Finds the index of a RegisteredType object in the recording objects collection.
Definition RecordingObjects.cpp:20
RecordingObjects()
Constructor for RecordingObjects class.
Definition RecordingObjects.cpp:16
Status finalize()
Finalize all RegisteredType objects managed by this RecordingObjects instance. This method calls fina...
Definition RecordingObjects.cpp:69
RecordingObjects(const RecordingObjects &)=delete
Deleted copy constructor to prevent construction-copying.
std::string m_name
The name of the collection of recording objects.
Definition RecordingObjects.hpp:127
RecordingObjects & operator=(const RecordingObjects &)=delete
Deleted copy assignment operator to prevent copying.
SizeType size() const
Get the number of recording objects.
Definition RecordingObjects.hpp:109
Base class for types defined in the NWB schema.
Definition RegisteredType.hpp:48
The namespace for IO components of AqNWB.
Namespace for all classes related to the NWB data standard.