|
neic-glass3
1.4.6
|
glass3::util::Queue class More...
#include <queue.h>


Public Member Functions | |
| Queue () | |
| Queue constructor. More... | |
| ~Queue () | |
| Queue destructor. More... | |
| void | clear () override |
| Queue clear function. More... | |
| bool | addDataToQueue (std::shared_ptr< json::Object > data) |
| add data to Queue More... | |
| std::shared_ptr< json::Object > | getDataFromQueue () |
| get data from Queue More... | |
| int | size () |
| get the size of the Queue More... | |
Public Member Functions inherited from glass3::util::BaseClass | |
| BaseClass () | |
| BaseClass constructor. More... | |
| virtual | ~BaseClass () |
| BaseClass destructor. More... | |
| virtual bool | setup (std::shared_ptr< const json::Object > config) |
| BaseClass configuration function. More... | |
| const std::shared_ptr< const json::Object > | getConfig () |
| bool | getSetup () |
| Retrieves the class member boolean flag indicating whether the class has been setup, set to true if setup was successful. More... | |
| const std::string & | getDefaultAgencyId () |
| Function to retrieve the name of the default agency id. More... | |
| void | setDefaultAgencyId (const std::string &id) |
| Function to set the name of the default agency id. More... | |
| const std::string & | getDefaultAuthor () |
| Function to retrieve the name of the default author. More... | |
| void | setDefaultAuthor (const std::string &author) |
| Function to set the name of the default author. More... | |
Additional Inherited Members | |
Protected Attributes inherited from glass3::util::BaseClass | |
| std::shared_ptr< const json::Object > | m_Config |
| A shared pointer to the json::Object that holds the configuration. More... | |
| std::atomic< bool > | m_bIsSetup |
| the boolean flag indicating whether the class has been setup, set to true if setup was successful. More... | |
| std::string | m_DefaultAgencyID |
| A std::string containing the default agency id to use in parsing if one is not provided. More... | |
| std::string | m_DefaultAuthor |
| A std::string containing the default author to use in parsing if one is not provided. More... | |
glass3::util::Queue class
The glass3::util::Queue is a class implementing a FIFO Queue of shared_ptr's to json::Objects. The Queue is thread safe.
Queue inherits from the baseclass class.
| bool glass3::util::Queue::addDataToQueue | ( | std::shared_ptr< json::Object > | data | ) |
|
overridevirtual |
Queue clear function.
The clear function for the Queue class. Clear all data currently contained in the Queue
Reimplemented from glass3::util::BaseClass.
| std::shared_ptr< json::Object > glass3::util::Queue::getDataFromQueue | ( | ) |
| int glass3::util::Queue::size | ( | ) |
1.8.11