3dpcp/.svn/pristine/57/57ed52c79a6f3e77f2dac6a337335ea4d4bb12cd.svn-base
2012-09-16 14:33:11 +02:00

28 lines
646 B
Text

/**
* @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