JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Member Functions | Static Public Member Functions | Protected Member Functions
joda::docparsing::JSONURLReader Class Reference

#include <JSONURLReader.h>

Inheritance diagram for joda::docparsing::JSONURLReader:
[legend]
Collaboration diagram for joda::docparsing::JSONURLReader:
[legend]

Public Member Functions

 JSONURLReader (IQueue *iqueue, OQueue *oqueue, void *ptr)
 
 ~JSONURLReader () override
 
- Public Member Functions inherited from IWorkerThread< JsonURLReaderQueue, JsonTextStreamParserQueue, void * >
 IWorkerThread (IQueue *iqueue, OQueue *oqueue, const WConf &conf)
 
 IWorkerThread (IQueue *iqueue, OQueue *oqueue, WConf &&conf)
 
 IWorkerThread (IWorkerThread &&)=default
 
 IWorkerThread (const IWorkerThread &)=delete
 
IWorkerThreadoperator= (IWorkerThread &&)=default
 
IWorkerThreadoperator= (const IWorkerThread &)=delete
 
virtual ~IWorkerThread ()
 
void start ()
 
void waitFor ()
 
void stop ()
 
bool requestedToStop () const
 
bool isRunning () const
 

Static Public Member Functions

static const size_t recommendedThreads ()
 
- Static Public Member Functions inherited from IWorkerThread< JsonURLReaderQueue, JsonTextStreamParserQueue, void * >
static constexpr auto getIQueueFlags ()
 
static constexpr auto getOQueueFlags ()
 
static const size_t recommendedThreads ()
 

Protected Member Functions

void work () override
 

Additional Inherited Members

- Public Types inherited from IWorkerThread< JsonURLReaderQueue, JsonTextStreamParserQueue, void * >
typedef IQueueStruct::queue_t IQueue
 
typedef OQueueStruct::queue_t OQueue
 
typedef IQueueStruct::payload_t IPayload
 
typedef OQueueStruct::payload_t OPayload
 
typedef void * WConf
 
- Protected Attributes inherited from IWorkerThread< JsonURLReaderQueue, JsonTextStreamParserQueue, void * >
IQueueiqueue
 
OQueueoqueue
 
WConf conf
 
bool shouldRun
 

Detailed Description

Opens the connection to a web-residing document and passes the input-strem to a parser

Constructor & Destructor Documentation

◆ JSONURLReader()

joda::docparsing::JSONURLReader::JSONURLReader ( IQueue iqueue,
OQueue oqueue,
void *  ptr 
)

◆ ~JSONURLReader()

joda::docparsing::JSONURLReader::~JSONURLReader ( )
override

Member Function Documentation

◆ recommendedThreads()

static const size_t joda::docparsing::JSONURLReader::recommendedThreads ( )
inlinestatic

◆ work()

void joda::docparsing::JSONURLReader::work ( )
overrideprotectedvirtual

Implements IWorkerThread< JsonURLReaderQueue, JsonTextStreamParserQueue, void * >.

Here is the call graph for this function:

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