3dpcp/include/scanserver/frame_io.h
2012-09-16 14:33:11 +02:00

28 lines
646 B
C++

/**
* @file
* @brief IO for .frames files.
*
* @author Thomas Escher
*/
#ifndef SCANSERVER_FRAME_IO_H
#define SCANSERVER_FRAME_IO_H
#include "scanserver/frame.h"
/**
* @brief This class handles the serialization of .frames files and saves/extracts the contained Frame instances.
*/
class FrameIO
{
public:
//! Loads a frames file and fills the given shared vector
static void loadFile(const char* dir, const char* identifier, FrameVector& frames);
//! Saves a frames file from a shared frames vector
static void saveFile(const char* dir, const char* identifier, const FrameVector& frames);
};
#endif //SCANSERVER_FRAME_IO_H