libfoedus-core
FOEDUS Core Library
proc_id.hpp File Reference

Typedefs of ID types used in procedure package. More...

Detailed Description

Typedefs of ID types used in procedure package.

Definition in file proc_id.hpp.

#include <stdint.h>
#include <utility>
#include "foedus/error_stack.hpp"
#include "foedus/fwd.hpp"
#include "foedus/assorted/fixed_string.hpp"
#include "foedus/thread/fwd.hpp"
Include dependency graph for proc_id.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  foedus::proc::ProcArguments
 Set of arguments, both inputs and outputs, given to each procedure. More...
 

Namespaces

 foedus
 Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
 
 foedus::proc
 System and User Procedures.
 

Typedefs

typedef assorted::FixedString< 60 > foedus::proc::ProcName
 Represents a unique name of a procedure. More...
 
typedef uint32_t foedus::proc::LocalProcId
 Represents a locally-unique ID of a procedure in one SOC. More...
 
typedef uint64_t foedus::proc::GlobalProcId
 A globally unique ID of a procedure. More...
 
typedef ErrorStack(* foedus::proc::Proc) (const ProcArguments &args)
 A function pointer of a user/system stored procedure. More...
 
typedef std::pair< ProcName, Proc > foedus::proc::ProcAndName
 Just a std::pair<ProcName, Proc>. More...
 

Functions

GlobalProcId foedus::proc::combined_global_proc_id (uint16_t node, LocalProcId local_id)
 
uint16_t foedus::proc::extract_numa_node_from_global_proc_id (GlobalProcId id)
 
LocalProcId foedus::proc::extract_local_id_from_global_proc_id (GlobalProcId id)
 

Variables

const LocalProcId foedus::proc::kLocalProcInvalid = -1