aqnwb 0.1.0
Loading...
Searching...
No Matches
ElectrodeGroup.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5#include "io/BaseIO.hpp"
8#include "spec/core.hpp"
9
10namespace AQNWB::NWB
11{
17{
18public:
19 // Register ElectrodeGroup as a subclass of Container
21
22
27 ElectrodeGroup(const std::string& path, std::shared_ptr<IO::BaseIO> io);
28
33
45 void initialize(const std::string& description,
46 const std::string& location,
47 const Device& device);
48
51 std::any,
52 "position",
53 Stereotaxis or common framework coordinates)
54};
55} // namespace AQNWB::NWB
#define REGISTER_SUBCLASS(T, NAMESPACE)
Macro to register a subclass with the RegisteredType class registry.
Definition RegisteredType.hpp:410
#define DEFINE_DATASET_FIELD(readName, writeName, default_type, fieldPath, description)
Defines a lazy-loaded dataset field accessor function.
Definition RegisteredType.hpp:475
Container(const std::string &path, std::shared_ptr< IO::BaseIO > io)
Constructor.
Definition Container.cpp:10
Status initialize()
Initialize the container.
Definition Container.cpp:20
Metadata about a data acquisition device, e.g., recording system, electrode, microscope.
Definition Device.hpp:18
~ElectrodeGroup()
Destructor.
Definition ElectrodeGroup.cpp:19
std::shared_ptr< IO::BaseRecordingData > recordPosition(bool reset=false)
ElectrodeGroup(const std::string &path, std::shared_ptr< IO::BaseIO > io)
Constructor.
Definition ElectrodeGroup.cpp:12
std::unique_ptr< IO::ReadDataWrapper< DatasetField, VTYPE > > readPosition() const
Namespace for all classes related to the NWB data standard.
Definition TimeSeries.hpp:13
const std::string namespaceName
Definition core.hpp:21