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


Signals that a load request for a sample materials load has failed.

Payload: pair with the id of the node and an error message that the UI can post

#include <FormItCoreMessages.h>

Inheritance diagram for FormIt::kSampleMaterialsNodeLoadFailedType:
FormIt::MessageWithPayloadStruct FormIt::MessageStruct

Public Types

using Payload = 1::pair< size_t, 1::string >
- 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

using FormIt::kSampleMaterialsNodeLoadFailedType::Payload = 1 ::pair<size_t, 1 ::string>

Member Function Documentation

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

message() function.

Implements FormIt::MessageStruct.

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