aqnwb 0.1.0
Loading...
Searching...
No Matches
Device.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5#include "BaseIO.hpp"
7
8namespace AQNWB::NWB
9{
14class Device : public Container
15{
16public:
24 Device(const std::string& path,
25 std::shared_ptr<BaseIO> io,
26 const std::string& description,
27 const std::string& manufacturer);
28
32 ~Device();
33
38 void initialize();
39
44 std::string getManufacturer() const;
45
50 std::string getDescription() const;
51
52private:
56 std::string description;
57
61 std::string manufacturer;
62};
63} // namespace AQNWB::NWB
Abstract data type for a group storing collections of data and metadata.
Definition Container.hpp:15
Metadata about a data acquisition device, e.g., recording system, electrode, microscope.
Definition Device.hpp:15
void initialize()
Initializes the device by creating NWB related attributes and writing the manufactor and description ...
Definition Device.cpp:20
Device(const std::string &path, std::shared_ptr< BaseIO > io, const std::string &description, const std::string &manufacturer)
Constructor.
Definition Device.cpp:7
~Device()
Destructor.
Definition Device.cpp:18
std::string getDescription() const
Gets the description of the device.
Definition Device.cpp:35
std::string getManufacturer() const
Gets the manufacturer of the device.
Definition Device.cpp:29
Namespace for all classes related to the NWB data standard.
Definition TimeSeries.hpp:9