aqnwb 0.2.0
Loading...
Searching...
No Matches
ElectrodeGroup.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <any>
4#include <string>
5
6#include "io/BaseIO.hpp"
9#include "spec/core.hpp"
10
11namespace AQNWB::NWB
12{
18{
19public:
20 // Register ElectrodeGroup as a subclass of NWBContainer
24
25protected:
31 ElectrodeGroup(const std::string& path, std::shared_ptr<IO::BaseIO> io);
32
33public:
38
51 Status initialize(const std::string& description,
52 const std::string& location,
53 const std::shared_ptr<Device>& device);
54
57 std::any,
58 "position",
59 Stereotaxis or common framework coordinates)
60};
61} // namespace AQNWB::NWB
AQNWB::Types::Status Status
Definition BaseIO.hpp:22
#define REGISTER_SUBCLASS(T, BASE, NAMESPACE)
Macro to register a subclass with the RegisteredType class registry.
Definition RegisteredType.hpp:501
#define DEFINE_DATASET_FIELD(readName, writeName, default_type, fieldPath, description)
Defines a lazy-loaded dataset field accessor function.
Definition RegisteredType.hpp:573
~ElectrodeGroup()
Destructor.
Definition ElectrodeGroup.cpp:19
ElectrodeGroup(const std::string &path, std::shared_ptr< IO::BaseIO > io)
Constructor.
Definition ElectrodeGroup.cpp:12
std::unique_ptr< AQNWB::IO::ReadDataWrapper< AQNWB::NWB::DatasetField, VTYPE > > readPosition() const
std::shared_ptr< AQNWB::IO::BaseRecordingData > recordPosition(bool reset=false)
Status initialize()
Initialize the object.
Definition NWBContainer.cpp:17
NWBContainer(const std::string &path, std::shared_ptr< AQNWB::IO::BaseIO > io)
Constructor.
Definition NWBContainer.cpp:11
Namespace for all classes related to the NWB data standard.
const std::string namespaceName
Definition core.hpp:21