INET Framework for OMNeT++/OMNEST
|
Base random object. More...
#include <HttpRandom.h>
Public Member Functions | |
virtual | ~rdObject () |
DISTR_TYPE | getType () |
std::string | typeStr () |
virtual std::string | toString () |
virtual double | draw ()=0 |
Protected Member Functions | |
bool | _hasKey (cXMLAttributeMap attributes, std::string key) |
Protected Attributes | |
DISTR_TYPE | m_type = dt_normal |
Base random object.
Should not be instantiated directly.
|
inlineprotected |
|
pure virtual |
Implemented in inet::httptools::rdZipf, inet::httptools::rdConstant, inet::httptools::rdHistogram, inet::httptools::rdExponential, inet::httptools::rdUniform, and inet::httptools::rdNormal.
Referenced by inet::httptools::HttpController::__getRandomServerInfo(), inet::httptools::HttpServerBase::generateBody(), inet::httptools::HttpServerBase::generateDocument(), inet::httptools::HttpServerBase::generateErrorReply(), inet::httptools::HttpBrowserBase::generatePageRequest(), inet::httptools::HttpServerBase::generateResourceMessage(), inet::httptools::HttpBrowserBase::generateResourceRequest(), inet::httptools::HttpBrowserBase::handleSelfActivityStart(), inet::httptools::HttpBrowserBase::handleSelfStartSession(), inet::httptools::HttpBrowserBase::initialize(), inet::httptools::HttpBrowserBase::scheduleNextBrowseEvent(), and inet::httptools::HttpNodeBase::sendDirectToModule().
|
inline |
Referenced by inet::httptools::HttpController::initialize().
|
inlinevirtual |
Reimplemented in inet::httptools::rdZipf.
Referenced by inet::httptools::HttpController::initialize().
std::string inet::httptools::rdObject::typeStr | ( | ) |
Referenced by inet::httptools::HttpController::initialize().
|
protected |