ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Public Member Functions | List of all members
daq::dpm::MockDaqWorkspace Struct Reference

#include <mockWorkspace.hpp>

+ Inheritance diagram for daq::dpm::MockDaqWorkspace:

Public Member Functions

 MOCK_METHOD (std::filesystem::path, GetPath,(),(const, override))
 
 MOCK_METHOD (std::filesystem::path, GetResultPath,(),(const, override))
 
 MOCK_METHOD (std::filesystem::path, GetSourcesPath,(),(const, override))
 
 MOCK_METHOD (void, MakeResultSymlink,(std::filesystem::path const &),(const, override))
 
 MOCK_METHOD (bool, Exists,(std::filesystem::path const &),(const, override))
 
 MOCK_METHOD (std::filesystem::path, GetSpecificationPath,(),(const, override))
 
 MOCK_METHOD (json::DpSpec, LoadSpecification,(),(const, override))
 
 MOCK_METHOD (void, StoreSpecification,(std::string const &),(const, override))
 
 MOCK_METHOD (std::filesystem::path, GetSourceLookupPath,(),(const, override))
 
 MOCK_METHOD (SourceResolver::Mapping, LoadSourceLookup,(),(const, override))
 
 MOCK_METHOD (void, StoreSourceLookup,(SourceResolver::Mapping const &),(const, override))
 
 MOCK_METHOD (Status, LoadStatus,(),(const, override))
 
 MOCK_METHOD (void, StoreStatus,(Status const &),(const, override))
 
- Public Member Functions inherited from daq::dpm::DaqWorkspace
virtual ~DaqWorkspace ()
 
virtual auto GetPath () const -> std::filesystem::path=0
 
virtual auto GetSourcesPath () const -> std::filesystem::path=0
 
virtual auto Exists (std::filesystem::path const &) const -> bool=0
 
virtual auto GetResultPath () const -> std::filesystem::path=0
 
virtual void MakeResultSymlink (std::filesystem::path const &result) const =0
 Create symlink to result file. More...
 
virtual auto LoadStatus () const -> Status=0
 
virtual void StoreStatus (Status const &status) const =0
 
virtual auto GetSourceLookupPath () const -> std::filesystem::path=0
 
virtual auto LoadSourceLookup () const -> SourceResolver::Mapping=0
 
virtual void StoreSourceLookup (SourceResolver::Mapping const &status) const =0
 
virtual auto GetSpecificationPath () const -> std::filesystem::path=0
 Get file name of the data product specification stored in StoreSpecification() More...
 
virtual auto LoadSpecification () const -> json::DpSpec=0
 Get file name of the data product specification stored in StoreSpecification() More...
 
virtual void StoreSpecification (std::string const &specification) const =0
 Get file name of the data product specification stored in StoreSpecification() More...
 

Detailed Description

Definition at line 33 of file mockWorkspace.hpp.

Member Function Documentation

◆ MOCK_METHOD() [1/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( bool  ,
Exists  ,
(std::filesystem::path const &)  ,
(const, override)   
)

◆ MOCK_METHOD() [2/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( json::DpSpec  ,
LoadSpecification  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [3/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( SourceResolver::Mapping  ,
LoadSourceLookup  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [4/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( Status  ,
LoadStatus  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [5/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( std::filesystem::path  ,
GetPath  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [6/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( std::filesystem::path  ,
GetResultPath  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [7/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( std::filesystem::path  ,
GetSourceLookupPath  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [8/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( std::filesystem::path  ,
GetSourcesPath  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [9/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( std::filesystem::path  ,
GetSpecificationPath  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [10/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( void  ,
MakeResultSymlink  ,
(std::filesystem::path const &)  ,
(const, override)   
)

◆ MOCK_METHOD() [11/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( void  ,
StoreSourceLookup  ,
(SourceResolver::Mapping const &)  ,
(const, override)   
)

◆ MOCK_METHOD() [12/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( void  ,
StoreSpecification  ,
(std::string const &)  ,
(const, override)   
)

◆ MOCK_METHOD() [13/13]

daq::dpm::MockDaqWorkspace::MOCK_METHOD ( void  ,
StoreStatus  ,
(Status const &)  ,
(const, override)   
)

The documentation for this struct was generated from the following file: