FAST.Framework  1.0.0
FObject.h
1 /******************************************************************************
2 **
3 ** FAST.Framework
4 **
5 ** Created: 2023-10-11
6 ** Author: Boris Fast
7 ** Mail: support@fast-framework.com
8 **
9 ******************************************************************************/
10 
11 #ifndef FOBJECT_H
12 #define FOBJECT_H
13 
14 using namespace std;
15 
16 #include "FDataTypes.h"
17 
18 class FChar;
19 class FClient;
20 class FDateTime;
21 class FDirectory;
22 class FException;
23 class FFile;
25 class FInt;
26 template<typename T>
27 class FList;
28 class FLong;
29 class FMutex;
30 template <typename T>
31 class FNode;
33 class FObject;
35 class FServer;
36 class FShort;
37 template <typename ...Args>
38 class FSignal;
39 template <typename ...Args>
40 class FSlot;
41 class FString;
42 class FThread;
43 class FTimePoint;
44 class FTimeSpan;
45 
49 class FObject
50 {
51  public:
52  FObject() = default;
53  virtual ~FObject() = default;
54 
55  virtual const type_info& GetType() = 0;
56  virtual FString GetName() const = 0;
57 };
58 
59 #endif // FOBJECT_H
Definition: FChar.h:22
Definition: FClient.h:22
Definition: FDateTime.h:48
Definition: FDirectory.h:23
Definition: FException.h:25
Definition: FFile.h:44
Definition: FException.h:45
Definition: FInt.h:22
Definition: FList.h:26
Definition: FLong.h:22
Definition: FMutex.h:22
Definition: FNode.h:24
Definition: FException.h:58
Definition: FObject.h:50
virtual FString GetName() const =0
Returns the name of object.
virtual const type_info & GetType()=0
Returns the type info over object.
FObject()=default
Constructor.
virtual ~FObject()=default
Destructor.
Definition: FException.h:71
Definition: FServer.h:22
Definition: FShort.h:22
Definition: FSignal.h:27
Definition: FSlot.h:26
Definition: FString.h:22
Definition: FThread.h:26
Definition: FTimeSpan.h:22