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

#include <mockWorkspace.hpp>

+ Inheritance diagram for daq::MockWorkspace:

Public Member Functions

 MOCK_METHOD (std::filesystem::path, GetPath,(),(const override))
 
 MOCK_METHOD (void, ArchiveDaq,(std::string const &),(override))
 
 MOCK_METHOD (void, RemoveDaq,(std::string const &),(override))
 
 MOCK_METHOD (std::vector< std::string >, LoadList,(),(const, override))
 
 MOCK_METHOD (void, StoreList,(std::vector< std::string > const &),(const, override))
 
 MOCK_METHOD (Status, LoadStatus,(std::string const &),(const, override))
 
 MOCK_METHOD (void, StoreStatus,(Status const &),(const, override))
 
 MOCK_METHOD (DaqContext, LoadContext,(std::string const &),(const, override))
 
 MOCK_METHOD (void, StoreContext,(DaqContext const &),(const, override))
 
- Public Member Functions inherited from daq::Workspace
virtual ~Workspace ()
 
virtual auto GetPath () const -> std::filesystem::path=0
 
virtual void ArchiveDaq (std::string const &id)=0
 Archives specified DAQ without deleting any files, typically by moving files it to a specific location in the workspace. More...
 
virtual void RemoveDaq (std::string const &id)=0
 Removes workspace and all containing files for DAQ without archiving it. More...
 
virtual auto LoadContext (std::string const &id) const -> DaqContext=0
 Get file name of the data product specification stored in StoreSpecification() More...
 
virtual void StoreContext (DaqContext const &context) const =0
 Get file name of the data product specification stored in StoreSpecification() More...
 
virtual auto LoadStatus (std::string const &id) const -> Status=0
 
virtual void StoreStatus (Status const &status) const =0
 
virtual auto LoadList () const -> std::vector< std::string >=0
 
virtual void StoreList (std::vector< std::string > const &queue) const =0
 

Detailed Description

Definition at line 18 of file mockWorkspace.hpp.

Member Function Documentation

◆ MOCK_METHOD() [1/9]

daq::MockWorkspace::MOCK_METHOD ( DaqContext  ,
LoadContext  ,
(std::string const &)  ,
(const, override)   
)

◆ MOCK_METHOD() [2/9]

daq::MockWorkspace::MOCK_METHOD ( Status  ,
LoadStatus  ,
(std::string const &)  ,
(const, override)   
)

◆ MOCK_METHOD() [3/9]

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

◆ MOCK_METHOD() [4/9]

daq::MockWorkspace::MOCK_METHOD ( std::vector< std::string >  ,
LoadList  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [5/9]

daq::MockWorkspace::MOCK_METHOD ( void  ,
ArchiveDaq  ,
(std::string const &)  ,
(override)   
)

◆ MOCK_METHOD() [6/9]

daq::MockWorkspace::MOCK_METHOD ( void  ,
RemoveDaq  ,
(std::string const &)  ,
(override)   
)

◆ MOCK_METHOD() [7/9]

daq::MockWorkspace::MOCK_METHOD ( void  ,
StoreContext  ,
(DaqContext const &)  ,
(const, override)   
)

◆ MOCK_METHOD() [8/9]

daq::MockWorkspace::MOCK_METHOD ( void  ,
StoreList  ,
(std::vector< std::string > const &)  ,
(const, override)   
)

◆ MOCK_METHOD() [9/9]

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

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