VAPOR3 3.9.4
|
#include <FontManager.h>
Public Member Functions | |
FontManager (GLManager *glManager) | |
~FontManager () | |
Font * | GetFont (const std::string &name, unsigned int size) |
int | LoadResourceByKey (const std::pair< std::string, unsigned int > &key) |
Public Member Functions inherited from VAPoR::IResourceManager< std::pair< std::string, unsigned int >, Font > | |
virtual | ~IResourceManager () |
bool | HasResource (const std::pair< std::string, unsigned int > &key) const |
bool | HasResource (const Font *resource) const |
virtual int | LoadResourceByKey (const std::pair< std::string, unsigned int > &key)=0 |
bool | AddResource (const std::pair< std::string, unsigned int > &key, Font *resource) |
void | DeleteResource (const std::pair< std::string, unsigned int > &key) |
Public Member Functions inherited from Wasp::MyBase | |
MyBase () | |
const string & | getClassName () const |
Additional Inherited Members | |
Public Types inherited from Wasp::MyBase | |
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
typedef void(* | DiagMsgCB_T) (const char *msg) |
Static Public Member Functions inherited from Wasp::MyBase | |
static void | SetErrMsg (const char *format,...) |
Record a formatted error message. | |
static void | SetErrMsg (int errcode, const char *format,...) |
Record a formatted error message and an error code. | |
static const char * | GetErrMsg () |
static void | SetErrCode (int err_code) |
Record an error code. | |
static int | GetErrCode () |
Retrieve the current error code. | |
static void | SetErrMsgCB (ErrMsgCB_T cb) |
static ErrMsgCB_T | GetErrMsgCB () |
static void | SetErrMsgFilePtr (FILE *fp) |
static const FILE * | SetErrMsgFilePtr () |
static void | SetDiagMsg (const char *format,...) |
Record a formatted diagnostic message. | |
static const char * | GetDiagMsg () |
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
static DiagMsgCB_T | GetDiagMsgCB () |
static void | SetDiagMsgFilePtr (FILE *fp) |
static bool | EnableErrMsg (bool enable) |
static bool | GetEnableErrMsg () |
Static Public Attributes inherited from Wasp::MyBase | |
static char * | ErrMsg |
static int | ErrCode |
static int | ErrMsgSize |
static FILE * | ErrMsgFilePtr |
static ErrMsgCB_T | ErrMsgCB |
static char * | DiagMsg |
static int | DiagMsgSize |
static FILE * | DiagMsgFilePtr |
static DiagMsgCB_T | DiagMsgCB |
static bool | Enabled |
Protected Member Functions inherited from VAPoR::IResourceManager< std::pair< std::string, unsigned int >, Font > | |
Font * | GetResource (const std::pair< std::string, unsigned int > &key) |
Protected Member Functions inherited from Wasp::MyBase | |
void | SetClassName (const string &name) |
Protected Attributes inherited from VAPoR::IResourceManager< std::pair< std::string, unsigned int >, Font > | |
std::map< std::pair< std::string, unsigned int >, Font * > | _map |
Definition at line 10 of file FontManager.h.
VAPoR::FontManager::FontManager | ( | GLManager * | glManager | ) |
VAPoR::FontManager::~FontManager | ( | ) |
Font * VAPoR::FontManager::GetFont | ( | const std::string & | name, |
unsigned int | size | ||
) |
|
virtual |