hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
hobbes::storage::StorageGroup< Name, cm > Struct Template Reference

#include <storage.H>

Collaboration diagram for hobbes::storage::StorageGroup< Name, cm >:
Collaboration graph

Classes

struct  StmtData
 

Public Types

typedef std::map< std::string, StmtDataStorageStatements
 

Public Member Functions

 ~StorageGroup ()
 
void prepareMeta (bytes *meta)
 
wpipeout ()
 
void init ()
 
void commit ()
 
uint32_t allocateStorageStatement (const std::string &file, uint32_t line, const std::string &name, size_t flags, const std::string &fmtstr, tydescfn tdesc)
 

Public Attributes

StorageStatementsstatements
 
PipeQOS qos
 
size_t mempages
 
int mqserver
 

Static Public Attributes

static thread_local wpipepipe = 0
 

Member Typedef Documentation

◆ StorageStatements

template<typename Name, CommitMethod cm>
typedef std::map<std::string, StmtData> hobbes::storage::StorageGroup< Name, cm >::StorageStatements

Constructor & Destructor Documentation

◆ ~StorageGroup()

template<typename Name, CommitMethod cm>
hobbes::storage::StorageGroup< Name, cm >::~StorageGroup ( )
inline

Member Function Documentation

◆ allocateStorageStatement()

template<typename Name, CommitMethod cm>
uint32_t hobbes::storage::StorageGroup< Name, cm >::allocateStorageStatement ( const std::string &  file,
uint32_t  line,
const std::string &  name,
size_t  flags,
const std::string &  fmtstr,
tydescfn  tdesc 
)
inline

◆ commit()

template<typename Name, CommitMethod cm>
void hobbes::storage::StorageGroup< Name, cm >::commit ( )
inline

◆ init()

template<typename Name, CommitMethod cm>
void hobbes::storage::StorageGroup< Name, cm >::init ( )
inline

◆ out()

template<typename Name, CommitMethod cm>
wpipe& hobbes::storage::StorageGroup< Name, cm >::out ( )
inline

◆ prepareMeta()

template<typename Name, CommitMethod cm>
void hobbes::storage::StorageGroup< Name, cm >::prepareMeta ( bytes meta)
inline

Member Data Documentation

◆ mempages

template<typename Name, CommitMethod cm>
size_t hobbes::storage::StorageGroup< Name, cm >::mempages

◆ mqserver

template<typename Name, CommitMethod cm>
int hobbes::storage::StorageGroup< Name, cm >::mqserver

◆ pipe

template<typename Name, CommitMethod cm>
thread_local wpipe * hobbes::storage::StorageGroup< Name, cm >::pipe = 0
static

◆ qos

template<typename Name, CommitMethod cm>
PipeQOS hobbes::storage::StorageGroup< Name, cm >::qos

◆ statements

template<typename Name, CommitMethod cm>
StorageStatements* hobbes::storage::StorageGroup< Name, cm >::statements

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