#include <ot_lib.h>
Public Member Functions | |
~ot_codecRepository (void) | |
const ot_messageCodec * | getStdCodec (void) const |
const ot_messageCodec * | getCodec (const string &codecName) const |
void | registerCodec (const ot_messageCodec *codec) |
const list< string > | getRegisteredCodec (void) const |
Static Public Member Functions | |
static ot_codecRepository * | getInstance (void) |
Private Member Functions | |
ot_codecRepository (void) | |
void | exitInstance (void) |
Private Attributes | |
map< string, const ot_messageCodec * > | m_codecList |
Static Private Attributes | |
static ot_codecRepository * | m_inst |
Friends | |
class | exitHandler |
Repository of avaiable codecer
ot_lib::ot_codecRepository::ot_codecRepository | ( | void | ) | [private] |
ot_lib::ot_codecRepository::~ot_codecRepository | ( | void | ) |
void ot_lib::ot_codecRepository::exitInstance | ( | void | ) | [private] |
static ot_codecRepository* ot_lib::ot_codecRepository::getInstance | ( | void | ) | [static] |
const ot_messageCodec* ot_lib::ot_codecRepository::getStdCodec | ( | void | ) | const |
const ot_messageCodec* ot_lib::ot_codecRepository::getCodec | ( | const string & | codecName | ) | const |
void ot_lib::ot_codecRepository::registerCodec | ( | const ot_messageCodec * | codec | ) |
const list<string> ot_lib::ot_codecRepository::getRegisteredCodec | ( | void | ) | const |
friend class exitHandler [friend] |
ot_codecRepository* ot_lib::ot_codecRepository::m_inst [static, private] |
map<string,const ot_messageCodec *> ot_lib::ot_codecRepository::m_codecList [private] |