![]() |
Heart 1.3.879.d03aaa4
Heart is base back end library for your c++ Qt projects.
|
CQH::ErrorCodes::AbstractErrorCodesHelper | Helper class with static methods for translate the ErrorCodes enums to text. This helper know only about the AbstractErrorCodes enum |
▼CQH::AbstractKey | The Abstractkey class is provide general hash function for all keys of Heart library. This class using for generate a hash code of any keyObject |
CQH::DbAddressKey | Implementation for calc hash key of DbAddress objects |
CQH::AbstractTask | The AbstractTask class. All tasks executed on separate thread |
▼CBASE | |
CQH::PKG::CachedDbObjectsRequest< BASE > | The CachedDbObjectsRequest class This is template class for generate request with the custom condition for BASE objects |
CQH::PKG::CustomDBRequest< BASE > | The CustomDBRequest class intended for send to database custom select request for working with multiple tables |
CQH::DBPatch | DBPatch This is function that should be upgrade database |
CQH::PKG::DBVariant | The DBVariant struct contains QVariant value of the DBObjects member and it type |
CQH::PKG::ErrorData | The ErrorData struct is simple structure for contains data of the error |
CQH::Header | The Header struct 32 bytes |
▼CQuasarAppUtils::iHRO | |
CQH::DistVersion | This is information of supported versions of the destinations api |
▼CQH::PKG::AbstractData | Provide base functions for transport data by network For create you own package you need to inherited from this class. Simple Example: |
CQH::PKG::APIVersion | This is base pacakge class that send information about supported api version on the paired node |
CQH::PKG::BadRequest | Send response about error to client |
▼CQH::PKG::BigDataBase | This is base class of big data parts. This class contains id of movving pacakge |
CQH::PKG::BigDataHeader | First empty pacakge with information of big data package |
CQH::PKG::BigDataPart | This data class used for transporting big data files greater than 64kb |
CQH::PKG::BigDataRequest | Missing package parts for redownload. If missing parts count is 0 then pacakge donwloaded successful |
CQH::PKG::BigDataWraper | Wrapper of any big data commands |
CQH::PKG::CloseConnection |
|
▼CQH::PKG::DBObject | The DBObject class- main class for work with data base |
▼CQH::PKG::DBObjectSet | Add features for control database object arrays. You will be able be get or remove multiple objects into database table |
▼CQH::PKG::DBObjectsRequest< T > | The DBObjectsRequest class is template class for get array of TEMPLATE Objects from database |
CQH::PKG::DBObjectsRequestWithStream< T > | The DBObjectsRequestWithStream class is template class some as DBObjectsRequest but with implementation for the StreamBase::fromStream and StreamBase::toStream methods |
CQH::PKG::DeleteObject | Request for update object with dbId; |
CQH::PKG::GetMaxIntegerId | Intended for get a maximum value of a sql tables column |
CQH::PKG::GetSingleValue | Intended for get a single value from database. The value is selected by primaryKey. By Default the primary key is 'id' |
CQH::PKG::SetSingleValue | This is simple class - request sets a single value into database |
CQH::PKG::DataPack< Package > | DataPack this is conteiner is wraqper of the QList for transport arrays to another node |
CQH::PKG::MultiversionData | This class add support for multiple versions of ne command/package. If you need to add support multiple versions make your pakcage class children of the MultiversionData class |
CQH::PKG::Ping |
|
CQH::PKG::UniversalData | All data of object in the QMap Use this package if you want to change your packages in prodaction |
CQH::PKG::VersionIsReceived | Base class for confirmed versions |
▼CQH::iParser | This class provide functions for parsing income packages. For yousing just override the iParser::parsePackage method |
CQH::APIVersionParser | This is main parser forthe main command. This parsers work only with the APIVersion packge; |
CQH::AbstractNodeParser | Main parser of the abstract level of the hear lib |
CQH::BigDataParser | Main manager for control big data packages |
▼CQH::iObjectProvider | Base interface for work with database objects. Using on database writers and database caches |
▼CQH::ISqlDB | It is db cache and bridge for DbWriters. Work Scheme of the database cache: |
CQH::SqlDB | This is base implementation fo datatbase. The SqlDB do not use caches, all request run on the sqlwtiter class |
▼CQH::SqlDBWriter | The SqlDBWriter class. This class write and read objects from database (hard level). Before working with database you need to initialize it. The SqlDBWriter support a any sql databases, For list of supported drivers see the Qt Docummentation https://doc.qt.io/qt-5/sql-driver.html For initialize a custom database driver you need to set an own params see the SqlDBWriter::initDb metthod. This class work only on own thread. For change working thread use the Qt method moveToThread |
CQH::AsyncSqlDBWriter | The AsyncSqlDbWriter class is some as SqlDBWriter but run all command in own thread. This class is thread save |
▼CQH::IToken | The IToken classes interface for the validation user packages and user dates |
CQH::PKG::DeleteObject | Request for update object with dbId; |
CQH::AsyncRenderLoop::MainSharedPtr< T > | The MainSharedPtr class is a helper class for creating a shared pointer to the render loop |
CQH::PackaData | The PackaData struct - private data of packages |
CQH::PackageManager | The PakcageManager class contains all processed packages. Working like a cache of packages |
CQH::PoolData | |
▼CQHostAddress | |
CQH::HostAddress | The Host Address class this is wrapper of QHostAddress. Contains the NetworkAddress and network port |
▼CQObject | |
CQH::AbstractNodeInfo | Information about client or server connection and tcp socket of node. All node Info classes must be initialized in the AbstractNode::createNodeInfo methods. This implementation of nodeInf contains only trust of node and network socket |
▼CQH::Async | This is bundle of async templates and async wrappers |
CQH::AsyncLauncher | Wraper of the Async class for support moving invokes to thread of the current object |
CQH::AsyncRenderLoop | The AsyncRenderLoop is a class for asynchronous rendering. This class is used to create a render loop that is executed in a separate thread. To use this class, you must inherit from it and implement the renderIteration method. example: : |
CQH::DataSender | This class create a queue for sendet data to network |
CQH::SqlDBWriter | The SqlDBWriter class. This class write and read objects from database (hard level). Before working with database you need to initialize it. The SqlDBWriter support a any sql databases, For list of supported drivers see the Qt Docummentation https://doc.qt.io/qt-5/sql-driver.html For initialize a custom database driver you need to set an own params see the SqlDBWriter::initDb metthod. This class work only on own thread. For change working thread use the Qt method moveToThread |
CQH::DataBase | DataBase base implementation. This implementation contains methods for work with database. DataBaseNode is thread save class |
CQH::ISqlDB | It is db cache and bridge for DbWriters. Work Scheme of the database cache: |
CQH::TaskScheduler | This class contains queue of all shedule tasks |
CQH::iParser | This class provide functions for parsing income packages. For yousing just override the iParser::parsePackage method |
▼CQTcpServer | |
CQH::AbstractNode |
|
▼CQTcpSocket | |
CQH::TcpSocket | The AbstractSocket class This class is wraper of the QAbstract socket with slot implementation of the disconnect from host method |
CQH::ReceiveData | The ReceiveData struct This is private structure for contains informaton for parse packages |
CQH::Request | Base interface for working with requests commands |
CQH::PKG::SerializationBox | |
▼CQH::SoftDelete | Povide the soft delete functionality. All child classes of this class must be deleted using the softDelete method for preparring for delete. IF you delete object without prepare then destructor invoke the abort function in debug mode. For release mode destructor print error message only |
CQH::AbstractNode |
|
CQH::ISqlDB | It is db cache and bridge for DbWriters. Work Scheme of the database cache: |
▼CQH::StreamBase | Add support streaming data for all children classes. For correctly working all serializations functions you need to override fromStream and toStream methods. All implementations of overridden method should be contains a invoke of method of base class |
CQH::AccessToken | Information duration of the access. Token are byte array for validation access users or another network member on nodes. In usually cases toke add permissions for database objects |
▼CQH::DbAddress | Use to work with database addresses. Database Address it is structure with 2 values |
CQH::DbAddressKey | Implementation for calc hash key of DbAddress objects |
CQH::DistVersion | This is information of supported versions of the destinations api |
CQH::PKG::AbstractData | Provide base functions for transport data by network For create you own package you need to inherited from this class. Simple Example: |
CQH::Package | The Package struct. This is base structure for transporting data by network between QH nodes. The Package contains a 32 bytes header and Package::data array. The size on the header should be equals size of Package::data array |
CQH::WorkState | Simple class with data of work state of node |