machine.h File Reference

Classes

class  MachineInterface
 
class  MachinesInterface
 

Namespaces

 maxon
 
 maxon::MACHINE_MESSAGE
 
 maxon::MACHINE_MESSAGE::MSG_INITIALIZATION_FINISHED
 

Typedefs

using CreateNewMachineCallback = Delegate< Result< MachineRef >(const String &machineUuid)>
 
using CheckExistingMachineCallback = Delegate< Result< void >(const MachineRef &machineRef)>
 
using CreateObjectRefFunc = ObjectRef(*)()
 

Enumerations

enum class  MACHINESTATE {
  NONE ,
  CONNECTION_ERROR ,
  ADDED_MANUALLY ,
  AVAILABLE_ZEROCONF ,
  CONNECTED ,
  ALL
}
 

Functions

enum maxon::MACHINESTATE MAXON_ENUM_FLAGS (MACHINESTATE)
 
 MAXON_ATTRIBUTE (InternedId, MSG_ID, "net.maxon.msg.id")
 
 MAXON_ATTRIBUTE (InternedId, ID, "net.maxon.msg.initialization.finished")
 
 MAXON_DECLARATION (Class< MachineRef >, LocalMachineClass, "net.maxon.class.localmachine", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel"))
 
 MAXON_DATATYPE (CreateObjectRefFunc, "net.maxon.datatype.createobjectreffunc", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel"))
 
 MAXON_REGISTRY (CreateObjectRefFunc, MachineImplementationFactories, "net.maxon.registry.machineimplementationfactories")
 

Variables

 NONE
 
 CONNECTION_ERROR
 
 ADDED_MANUALLY
 
 AVAILABLE_ZEROCONF
 
 CONNECTED
 
 ALL
 

Variable Documentation

◆ NONE

NONE

No bit set.

◆ CONNECTION_ERROR

CONNECTION_ERROR

A connection error occurred with the machine.

◆ ADDED_MANUALLY

ADDED_MANUALLY

Flag that signals that the machine is added manually.

◆ AVAILABLE_ZEROCONF

AVAILABLE_ZEROCONF

Flag that signals that the machine is announced via zeroconf and is currently online (not necessary connected).

◆ CONNECTED

CONNECTED

Flag that signals that the machine is currently connected to the local machine.

◆ ALL

ALL

All Flags combined, useful for masking.