![]() |
Scanframe Modular Application 0.1.0
|
Class used to give a ResultData instance access to virtual method of a derived class. More...
#include <ResultDataHandler.h>


Public Member Functions | |
| virtual void | resultDataEventHandler (ResultDataTypes::EEvent event, const ResultData &caller, ResultData &link, const Range &range, bool sameInst)=0 |
| Pure virtual function which must be overridden in a derived class. | |
| virtual | ~ResultDataHandler () |
| Destructor. | |
Friends | |
| class | ResultDataTypes |
| class | ResultData |
| Type of the id is a result-data. | |
Additional Inherited Members | |
Public Types inherited from sf::ResultDataTypes | |
| enum | EEvent : int { reNewId = -32000 , reUserGlobal , reFirstLocal = 0 , reFlagsChange , reAccessChange , reCommitted , reReserve , reInvalid , reClear , reUserLocal , reFirstPrivate = 16000 , reSetup , reIdChanged , reDesiredId , reRemove , reGetOwner , reLostOwner , reLinked , reUnlinked , reGotRange , reGetRange , reUserPrivate } |
| Event enumerate values used in broadcasting where global events have a negative value. More... | |
| enum | EField : int { rfId = 0 , rfName , rfFlags , rfDescription , rfType , rfBlockSize , rfSegmentSize , rfSigBits , rfOffset } |
| This enumerate is the order of fields in the setup string. More... | |
| enum | EType : int { rtInvalid = 0 , rtString , rtInt8 , rtInt16 , rtInt32 , rtInt64 , rtLastEntry } |
| This enumerate is used to identify the type of data. More... | |
| enum | EFlag : flags_type { flgRecycle = 1 << 0 , flgArchive = 1 << 1 , flgShare = 1 << 2 , flgHidden = 1 << 3 } |
| Flags of the flags description field. More... | |
| enum | ERangeInfo { riAvailable = 1 << 0 , riAccessible = 1 << 1 , riPartialAccessible = 1 << 2 , riRequested = 1 << 3 , riAddressable = 1 << 5 , riSegmented = 1 << 4 } |
| Enumerate for range information bit values. More... | |
| typedef TVector< ResultData * > | PtrVector |
| Vector for pointer to results. | |
| typedef TVector< ResultData > | Vector |
| Vector for instances of results. | |
| typedef TVector< ResultDataReference * > | ReferenceVector |
| Type for internal use. | |
Public Types inherited from sf::InformationTypes | |
| typedef unsigned long long | id_type |
| Type used for the identifying integer (64-bits). | |
| typedef int32_t | flags_type |
| Type used for the flag integer. | |
| typedef size_t | size_type |
| Type used for size of vectors. | |
| typedef ssize_t | ssize_type |
| Same as size_type but a signed version. | |
| typedef uintptr_t | data_type |
| Type used for containing a single data element which is the largest integer. | |
| typedef intptr_t | sdata_type |
| Type used for containing a single data element which is the largest signed integer. | |
| typedef TVector< id_type > | IdVector |
| Vector for lists of information ID's. | |
| typedef TVector< InformationBase * > | Vector |
| Vector for containing different information base derived classes. | |
Static Public Member Functions inherited from sf::InformationTypes | |
| template<typename T > | |
| static constexpr std::enable_if_t<(sizeof(T)<=sizeof(data_type)), data_type > | toDataType (T value) |
| Casts any type to a data_type value. | |
| template<typename T > | |
| static constexpr std::enable_if_t<(sizeof(T)<=sizeof(data_type)||std::is_reference_v< T >), T > | fromDataType (data_type value) |
| Casts a data_type value to a given type. Reference types are also possible since they are the same size as a pointer underwater. | |
Static Public Attributes inherited from sf::InformationTypes | |
| static constexpr size_t | npos = std::numeric_limits<size_type>::max() |
| Unsigned size value indicating not found or no index. | |
Class used to give a ResultData instance access to virtual method of a derived class.
|
virtual |
Destructor.
Clears the link with result-data instances so no errors occur when the link is destructed before the result.
|
pure virtual |
Pure virtual function which must be overridden in a derived class.
|
friend |
Type of the id is a result-data.
|
friend |