Communicator

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Aliases

onIVUpdateCallback
alias onIVUpdateCallback(IVType) = onIVUpdateCallbacks[staticIndexOf!(IVType, IVTypes)]
Undocumented in source.

Functions

endCommunication
void endCommunication()
Undocumented in source. Be warned that the author may not have intended to support it.
onAIUpdate
void onAIUpdate(ubyte pin, float value, long communicationMillisTime)
Undocumented in source. Be warned that the author may not have intended to support it.
onIVUpdate
void onIVUpdate(ubyte varIndex, IVType value, long communicationMillisTime)
Undocumented in source. Be warned that the author may not have intended to support it.
setAIMonitor
void setAIMonitor(ubyte pin, bool shouldMonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
setIVMonitor
void setIVMonitor(ubyte varIndex, bool shouldMonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnAIUpdateCallback
void setOnAIUpdateCallback(OnAIUpdateCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnIVUpdateCallback
void setOnIVUpdateCallback(OnIVUpdateCallback!IVType callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setPWMValue
void setPWMValue(ubyte pin, ubyte pwmValue)
Undocumented in source. Be warned that the author may not have intended to support it.
startCommunication
bool startCommunication(string devFilename, BaudRate baudRate, Parity parity)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

isCommunicationOngoing
bool isCommunicationOngoing [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

next_id
int next_id;
Undocumented in source.

Meta