9 #include "fwIO/config.hpp" 10 #include "fwIO/ioTypes.hpp" 12 #include <fwServices/IService.hpp> 14 #include <boost/filesystem/path.hpp> 44 FWIO_API static const ::
fwCom::Slots::SlotKeyType s_SET_FILE_FOLDER;
58 FWIO_API virtual
void configureWithIHM() = 0;
63 FWIO_API virtual
std::vector<
std::
string > getSupportedExtensions();
68 FWIO_API virtual
std::
string getSelectorDialogTitle();
85 FWIO_API const ::
boost::filesystem::path& getFile() const;
91 FWIO_API
void setFile(const ::
boost::filesystem::path& file);
111 FWIO_API const ::
boost::filesystem::path& getFolder() const;
116 FWIO_API
void clearLocations();
128 FWIO_API
void setFolder(const ::
boost::filesystem::path& folder);
136 FWIO_API
void setFileFolder(::
boost::filesystem::path folder);
139 FWIO_API
bool hasLocationDefined() const;
147 FWIO_API virtual ~
IReader() noexcept;
202 FWIO_API virtual
void configuring() override;
207 std::
string m_windowTitle;
212 void readFolder(::
boost::filesystem::path path);
214 void readFile(::
boost::filesystem::path path);
Base class for all services.
Namespace containing fw4spl communication tools.
Reader service API. It manages extension points definition and extension configuration.
IOPathType
IOPathType defines different type of paths used by service readers/writers.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace fwIO contains the base interface for reader and writer services.
std::vector< ::boost::filesystem::path > LocationsType
List of paths managed by io services.