ProcessStateDataInterface Class Reference
Inheritance diagram for ProcessStateDataInterface:
IdentifiedObject< ProcessStateDataInterface > IdentifiedObjectAbstract Automation::ProcessState

Public Member Functions

 ProcessStateDataInterface (Process::ProcessModel &model, QObject *parent)
 
virtual std::vector< State::AddressAccessormatchingAddresses ()
 matchingAddresses The addresses that correspond to this state. More...
 
virtual State::MessageList messages () const
 messages The current messages in this point of the process.
 
virtual State::MessageList setMessages (const State::MessageList &newMessages, const Process::MessageNode &currentState)
 setMessages Request a message change on behalf of the process. More...
 
Process::ProcessModelprocess () const
 
void stateChanged ()
 
void messagesChanged ()
 messagesChanged Sent whenever the messages in the process changed.
 
- Public Member Functions inherited from IdentifiedObject< ProcessStateDataInterface >
 IdentifiedObject (id_type id, const QString &name, QObject *parent) noexcept
 
 IdentifiedObject (Visitor &&v, QObject *parent) noexcept
 
const id_typeid () const noexcept
 
int32_t id_val () const noexcept final override
 
void setId (const id_type &id) noexcept
 
void setId (id_type &&id) noexcept
 
void resetCache () const noexcept override
 
- Public Member Functions inherited from IdentifiedObjectAbstract
void identified_object_destroying (IdentifiedObjectAbstract *o)
 To be called by subclasses.
 
void identified_object_destroyed (IdentifiedObjectAbstract *o)
 Will be called in the IdentifiedObjectAbstract destructor.
 

Additional Inherited Members

- Public Types inherited from IdentifiedObject< ProcessStateDataInterface >
using model_type = ProcessStateDataInterface
 
using id_type = Id< ProcessStateDataInterface >
 
using object_type = IdentifiedObject< ProcessStateDataInterface >
 
- Public Attributes inherited from IdentifiedObject< ProcessStateDataInterface >
Path< ProcessStateDataInterfacem_path_cache
 
- Static Public Attributes inherited from IdentifiedObject< ProcessStateDataInterface >
static constexpr const bool identified_object_tag
 
- Protected Member Functions inherited from IdentifiedObjectAbstract
 IdentifiedObjectAbstract (const QString &name, QObject *parent) noexcept
 

Member Function Documentation

◆ matchingAddresses()

virtual std::vector<State::AddressAccessor> ProcessStateDataInterface::matchingAddresses ( )
inlinevirtual

matchingAddresses The addresses that correspond to this state.

Returns
nothing if the process doesn't have any "settable" address. Else it returns the addresses that may change.

Reimplemented in Automation::ProcessState.

◆ setMessages()

virtual State::MessageList ProcessStateDataInterface::setMessages ( const State::MessageList &  newMessages,
const Process::MessageNode currentState 
)
inlinevirtual

setMessages Request a message change on behalf of the process.

Should return the actual new state of the process.


The documentation for this class was generated from the following files: