Appearance
class flake::ObjectDelegate
#include <Object.h>
Public Functions
| Name | |
|---|---|
| virtual | ~ObjectDelegate() =default |
| virtual Object * | handle() =0 |
| virtual [int8_t] | handleCustomMessage(std::string name, [const]PropArray & data, PropArray & outProps) =0 |
| virtual [int8_t] | handleStreamOpen(Stream * s) =0 |
| virtual [int8_t] | handleStreamClose(Stream * s) =0 |
| virtual [int8_t] | handleStreamWrite(Stream * s, [uint8_t] * cb, [uint16_t] len) =0 |
| virtual [int8_t] | handleStreamRead(Stream * s, [uint8_t] * cb, [uint16_t] * len, [uint16_t] max_len) =0 |
| virtual [int] | setPropertyRequested([uint32_t] tag, Property & value, [const]PropArray & transaction, [bool] internal) =0 |
| virtual [int] | getPropertyRequested([uint32_t] tag, Property & value) =0 |
| virtual [void] | propertyChanged([const]Property & ) =0 |
| virtual [void] | onInitialized() =0 |
Public Functions Documentation
function ~ObjectDelegate
cpp
virtual ~ObjectDelegate() =defaultfunction handle
cpp
virtual Object * handle() =0function handleCustomMessage
cpp
virtual int8_t handleCustomMessage(
std::string name,
constPropArray & data,
PropArray & outProps
) =0function handleStreamOpen
cpp
virtual int8_t handleStreamOpen(
Stream * s
) =0function handleStreamClose
cpp
virtual int8_t handleStreamClose(
Stream * s
) =0function handleStreamWrite
cpp
virtual int8_t handleStreamWrite(
Stream * s,
uint8_t * cb,
uint16_t len
) =0function handleStreamRead
cpp
virtual int8_t handleStreamRead(
Stream * s,
uint8_t * cb,
uint16_t * len,
uint16_t max_len
) =0function setPropertyRequested
cpp
virtual int setPropertyRequested(
uint32_t tag,
Property & value,
constPropArray & transaction,
bool internal
) =0function getPropertyRequested
cpp
virtual int getPropertyRequested(
uint32_t tag,
Property & value
) =0function propertyChanged
cpp
virtual void propertyChanged(
constProperty &
) =0function onInitialized
cpp
virtual void onInitialized() =0