7#include "include/Sfx_IPhysicalMeasurement.h"
8#include "include/Sfx_IFileDataStore.h"
23 void close()
override final;
27 void open()
override final;
32 void save( Sfx::IPhyMeasurement* aMeasure)
override final {}
37 void save( Sfx::IPhysicalMeasurement* aPhysicalMeasure)
override final;
81 Sfx::IFileDataStore*
create( std::string aClass);
Data Store factory method.
Definition Testvs19_FileDataStore.h:61
~DataStoreFactory()
destructor
Definition Testvs19_FileDataStore.cpp:127
void deleteIt()
delete instance
Definition Testvs19_FileDataStore.cpp:154
static DataStoreFactory * m_instance
Definition Testvs19_FileDataStore.h:83
Sfx::IFileDataStore * create(std::string aClass)
Create or of data store.
Definition Testvs19_FileDataStore.cpp:165
static DataStoreFactory * getInstance()
sole instance
Definition Testvs19_FileDataStore.cpp:142
File based implementation of the DataStore interface. This class makes use of the toString() method d...
Definition Testvs19_FileDataStore.h:18
void save(Sfx::IPhyMeasurement *aMeasure) override final
Method to write the PhysicalMeasurement data to the file.
Definition Testvs19_FileDataStore.h:32
void open() override final
Method to open a connection to the data store.
Definition Testvs19_FileDataStore.cpp:21
std::ofstream m_FileRes
Definition Testvs19_FileDataStore.h:53
bool isOpen() const
check if file open
Definition Testvs19_FileDataStore.h:47
std::string m_fileName
Definition Testvs19_FileDataStore.h:54
void close() override final
Method to close the connection to the data store.
Definition Testvs19_FileDataStore.cpp:65
void setFileName(std::string aFilename)
Set data store file name.
Definition Testvs19_FileDataStore.h:42
bool m_isOpen
A file for saving result.
Definition Testvs19_FileDataStore.h:52
Definition Testvs19_BaseRhsPhysicsAlgorithm.cpp:19