FormIt C++ API  v23.0.0 (2023.0.0)
FormIt::kHistoryDeletedForModelTreeOnlyType Struct Reference


This is a hack to make sure the model tree is updated correctly since we cannot use kModelChanged as WSM::ModelChangeData::Type::DeletedHistory is not broadcast (instead DeleteHistoryCaches is used).

Either we need an API in core to expose the History cache mechanism or we need to broadcast the DeletedHistory message. Payload: History ID

#include <FormItCoreMessages.h>

Inheritance diagram for FormIt::kHistoryDeletedForModelTreeOnlyType:
FormIt::MessageWithPayloadStruct FormIt::MessageStruct

Public Types

using Payload = size_t
- Public Types inherited from FormIt::MessageStruct
using Payload = void

Public Member Functions

const Payloadextract (FormIt::MessagePayloadStruct const &payload) const
::string message () const override
 message() function. More...
- Public Member Functions inherited from FormIt::MessageStruct
bool operator== (MessageStruct const &right) const
 So we can see if a particular message received is the same as one of the predefined ones using simple comparisons. More...
bool operator!= (MessageStruct const &right) const

Additional Inherited Members

- Protected Member Functions inherited from FormIt::MessageWithPayloadStruct
template<typename T >
const T & cast (MessagePayloadStruct const &payload) const

Member Typedef Documentation

Member Function Documentation

const Payload& FormIt::kHistoryDeletedForModelTreeOnlyType::extract ( FormIt::MessagePayloadStruct const &  payload) const
::string FormIt::kHistoryDeletedForModelTreeOnlyType::message ( ) const

message() function.

Implements FormIt::MessageStruct.

The documentation for this struct was generated from the following file: