Public Member Functions | Private Attributes | List of all members
ClassFactory Class Reference

#include <Factory.h>

Public Member Functions

 ClassFactory (std::string n)
 
func_data get (std::string f)
 
std::string get_name ()
 
void record (std::string fname, int out, int in, std::function< mxFunc > func)
 
void record (std::string fname, int out, int in_min, int in_max, std::function< mxFunc > func)
 

Private Attributes

std::map< std::string, func_datafuncs
 
std::string name
 

Detailed Description

Definition at line 20 of file Factory.h.

Constructor & Destructor Documentation

ClassFactory::ClassFactory ( std::string  n)
inline

Definition at line 26 of file Factory.h.

Member Function Documentation

func_data ClassFactory::get ( std::string  f)
inline

Definition at line 38 of file Factory.h.

std::string ClassFactory::get_name ( )
inline

Definition at line 36 of file Factory.h.

void ClassFactory::record ( std::string  fname,
int  out,
int  in,
std::function< mxFunc func 
)
inline

Definition at line 27 of file Factory.h.

void ClassFactory::record ( std::string  fname,
int  out,
int  in_min,
int  in_max,
std::function< mxFunc func 
)
inline

Definition at line 31 of file Factory.h.

Member Data Documentation

std::map<std::string, func_data> ClassFactory::funcs
private

Definition at line 24 of file Factory.h.

std::string ClassFactory::name
private

Definition at line 23 of file Factory.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:31