Heart
1.4.918.d927d9c
Heart is base back end library for your c++ Qt projects.
Toggle main menu visibility
Loading...
Searching...
No Matches
versionisreceived.h
Go to the documentation of this file.
1
//#
2
//# Copyright (C) 2020-2025 QuasarApp.
3
//# Distributed under the lgplv3 software license, see the accompanying
4
//# Everyone is permitted to copy and distribute verbatim copies
5
//# of this license document, but changing it is not allowed.
6
//#
7
8
9
#ifndef VERSIONISRECEIVED_H
10
#define VERSIONISRECEIVED_H
11
12
#include <
abstractdata.h
>
13
14
namespace
QH
{
15
namespace
PKG
{
16
20
class
VersionIsReceived
:
public
QH::PKG::AbstractData
21
{
22
23
public
:
24
VersionIsReceived
();
25
static
unsigned
short
version
(){
return
0;}
26
27
static
unsigned
short
command
(){
return
PROTOCKOL_VERSION_RECEIVED_COMMAND
;}
28
static
QString
commandText
(){
return
"PROTOCKOL_VERSION_RECEIVED_COMMAND"
;}
29
unsigned
short
cmd
()
const override
{
return
VersionIsReceived::command
();}
30
QString
cmdString
()
const override
{
return
VersionIsReceived::commandText
();}
31
32
33
// StreamBase interface
34
protected
:
35
QDataStream &
fromStream
(QDataStream &stream)
override
;
36
QDataStream &
toStream
(QDataStream &stream)
const override
;
37
};
38
}
39
}
40
#endif
// VERSIONISRECEIVED_H
abstractdata.h
PROTOCKOL_VERSION_RECEIVED_COMMAND
#define PROTOCKOL_VERSION_RECEIVED_COMMAND
PROTOCKOL_VERSION_RECEIVED_COMMAND is command for check delivered version.
Definition
abstractdata.h:25
QH::PKG::AbstractData
The AbstractData class is provide base functions for transport data by network For create you own pac...
Definition
abstractdata.h:83
QH::PKG::VersionIsReceived::fromStream
QDataStream & fromStream(QDataStream &stream) override
fromStream This method should be read all bytes from the stream object and full the current object.
Definition
versionisreceived.cpp:17
QH::PKG::VersionIsReceived::cmd
unsigned short cmd() const override
cmd - This is command of this object, (for generate cmd use macross QH_PACKAGE)
Definition
versionisreceived.h:29
QH::PKG::VersionIsReceived::command
static unsigned short command()
Definition
versionisreceived.h:27
QH::PKG::VersionIsReceived::toStream
QDataStream & toStream(QDataStream &stream) const override
fromStream This method should be write all members of the current object to the stream object.
Definition
versionisreceived.cpp:21
QH::PKG::VersionIsReceived::cmdString
QString cmdString() const override
cmdString - This is command string of this object, (for generate cmd use macross QH_PACKAGE)
Definition
versionisreceived.h:30
QH::PKG::VersionIsReceived::VersionIsReceived
VersionIsReceived()
Definition
versionisreceived.cpp:12
QH::PKG::VersionIsReceived::commandText
static QString commandText()
Definition
versionisreceived.h:28
QH::PKG::VersionIsReceived::version
static unsigned short version()
Definition
versionisreceived.h:25
QH::PKG
The PKG namesapce - this namespace contains all default packages of the Heart library....
Definition
heart.h:211
QH
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition
heart.cpp:13
src
private
versionisreceived.h
Generated by
1.18.0