Skip to content

namespace flake

ObjectImpl.cpp

Created on: 13.10.2010 Author: root

Namespaces

Name
flake::BaseProperties
flake::MessageType
flake::utils

Namespaces

Name
flake::BaseProperties
flake::MessageType
flake::utils

Types

Name
structflake::assoc_auth_data
structflake::async_confirmation_record
structflake::async_response_record
structflake::AuthenticationSink
structflake::binary_t
classflake::BLEServerWire
classflake::BLEWire
classflake::Confirmation
classflake::ConfirmationSink
classflake::ConnectedObject
classflake::ConnectedObjectImpl
classflake::Connection
classflake::ConnectionImpl
structflake::ConnectionSink
structflake::flake_uuid
classflake::FlakeFilesystemObject
classflake::Indication
classflake::IndicationSink
structflake::InterceptionTuple
classflake::IPCConnection
classflake::IPCServerConnection
structflake::logging
classflake::Message
classflake::Object
classflake::ObjectImpl
structflake::PluginMapping
structflake::PluginStruct
classflake::pop_
structflake::PropArray
structflake::Property
classflake::push_
structflake::ResponseSink
classflake::Router
structflake::Serializable
classflake::SerialServerWire
classflake::SerialWire
classflake::ServerConnection
classflake::ServerConnectionImpl
structflake::ServerConnectionSink
structflake::ServerContext
classflake::ServersideObject
classflake::ServerWire
classflake::Service
classflake::SocketServerWire
classflake::SocketWire
classflake::Stream
classflake::StreamImpl
structflake::sync_confirmation_record
classflake::Table
structflake::TableCompareRestriction
structflake::TagArray
structflake::TagNameMapping
classflake::TcpReversedServerWire
classflake::TcpServerWire
classflake::TcpWire
classflake::Transport
classflake::TransportImpl
classflake::TTYServerWire
classflake::TTYWire
structflake::UartConnectionRecord
structflake::UdpConnectionRecord
structflake::UdpPayload
classflake::UdpServerWire
classflake::UdpWire
structflake::UniqueId
unionflake::value_t
classflake::ValueTable
classflake::Wire
classflake::WireConnectionSink
enumflakeAuthType
enumTableCompareOperation
enumTableRestrictionType
enumConnectionState
typedef ConnectionDevice
typedef unsigned charbyte
typedef UniqueIduniqueId_t
typedef uint16_taddr_t
document me
typedef int32_ttt_int32_t
document me
typedef int16_ttt_int16_t
document me
typedef int8_ttt_int8_t
document me
typedef uint32_ttt_uint32_t
document me
typedef uint16_ttt_uint16_t
document me
typedef uint8_ttt_uint8_t
document me
typedef booltt_bool_t
document me
typedef int8_ttt_err_t
document me
typedef binary_ttt_bin_t
document me
typedef uniqueId_ttt_uuid_t
document me
typedef char *tt_str_t
document me
typedef uint32_ttt_time_t
document me
typedef floattt_float_t
document me
typedef array_ttt_array_t
document me
typedef uint16_tToken
typedef int(*)(const Property &prop)on_property_cb
typedef TagArrayColumnSet
typedef PropArrayTableRow
typedef void *flakeMutexId_t
typedef ObjectImplBaseObject
typedef void(*)(PluginStruct **p, ServerContext *c)queryPlugin_t
typedef int(*)(char *, ValueArray *, FlakeFilesystemObject *)onMessage_t
typedef ObjectTree< addr_t, ConnectedObject >ClientObjectRegistry
typedef ObjectTree< addr_t, ServersideObject >ObjectRegistry

Functions Overview

Name
uint32_tpreprocessTag(uint32_t t)
PropertyPropMakeBool(uint32_t t, tt_bool_t v)
PropertyPropMakeU8(uint32_t t, tt_uint8_t v)
PropertyPropMakeU16(uint32_t t, tt_uint16_t v)
PropertyPropMakeU32(uint32_t t, tt_uint32_t v)
PropertyPropMakeI8(uint32_t t, tt_int8_t v)
PropertyPropMakeI16(uint32_t t, tt_int16_t v)
PropertyPropMakeI32(uint32_t t, tt_int32_t v)
PropertyPropMakeDateTime(uint32_t t, tt_time_t v)
PropertyPropMakeFloat(uint32_t t, tt_float_t v)
PropertyPropMakeUUID(uint32_t t, tt_uuid_t v)
PropertyPropMakeString(uint32_t t, tt_str_t v)
PropertyPropMakeBin(uint32_t t, tt_bin_t v)
void__usleep(long us)
size_txPortGetFreeHeapSize(void )
voidflakePortableLog(const char * format, va_list args)
const char *errorToString(long e)
const char *timeToString(time_t t)
const char *tagToString(uint32_t tag)
voidqueryPlugin(PluginStruct ** p, ServerContext * c)
intonMessage(char * message, PropArray * payload, FlakeFilesystemObject * destination)
structattribute((packed) )

Attributes

Name
const intlvlRaw
const intlvlDebug
const intlvlInfo
const intlvlError
const intlvlExplicit
const bytemstRequest
const bytemstIndication
const bytemstConfirmation
const bytemstResponse
const bytedgMstControlBit
const bytedgMstPayloadBit
const bytedgMstAnswerBit
DatagramHeader
const uint8_tUARTFLAG_SYN
const uint8_tUARTFLAG_FIN
const uint8_tUARTFLAG_ACK
const uint8_tUARTFLAG_CTL

Types Documentation

enum flakeAuthType

EnumeratorDescription
atSignature
atInteractive

enum TableCompareOperation

EnumeratorDescription
TCO_EQ

enum TableRestrictionType

EnumeratorDescription
RES_UNRESTRICTED
RES_COMPARE

enum ConnectionState

EnumeratorDescription
csConnecting
csConnectingFailed
csConnected
csDisconnected

typedef Device

cpp
typedef Connection flake::Device;

typedef byte

cpp
typedef unsigned char flake::byte;

typedef uniqueId_t

cpp
typedef UniqueId flake::uniqueId_t;

typedef addr_t

cpp
typedef uint16_t flake::addr_t;

document me

typedef tt_int32_t

cpp
typedef int32_t flake::tt_int32_t;

document me

typedef tt_int16_t

cpp
typedef int16_t flake::tt_int16_t;

document me

typedef tt_int8_t

cpp
typedef int8_t flake::tt_int8_t;

document me

typedef tt_uint32_t

cpp
typedef uint32_t flake::tt_uint32_t;

document me

typedef tt_uint16_t

cpp
typedef uint16_t flake::tt_uint16_t;

document me

typedef tt_uint8_t

cpp
typedef uint8_t flake::tt_uint8_t;

document me

typedef tt_bool_t

cpp
typedef bool flake::tt_bool_t;

document me

typedef tt_err_t

cpp
typedef int8_t flake::tt_err_t;

document me

typedef tt_bin_t

cpp
typedef binary_t flake::tt_bin_t;

document me

typedef tt_uuid_t

cpp
typedef uniqueId_t flake::tt_uuid_t;

document me

typedef tt_str_t

cpp
typedef char* flake::tt_str_t;

document me

typedef tt_time_t

cpp
typedef uint32_t flake::tt_time_t;

document me

typedef tt_float_t

cpp
typedef float flake::tt_float_t;

document me

typedef tt_array_t

cpp
typedef array_t flake::tt_array_t;

document me

typedef Token

cpp
typedef uint16_t flake::Token;

typedef on_property_cb

cpp
typedef int(* flake::on_property_cb) (const Property &prop);

typedef ColumnSet

cpp
typedef TagArray flake::ColumnSet;

typedef TableRow

cpp
typedef PropArray flake::TableRow;

typedef flakeMutexId_t

cpp
typedef void* flake::flakeMutexId_t;

typedef BaseObject

cpp
typedef ObjectImpl flake::BaseObject;

typedef queryPlugin_t

cpp
typedef void(* flake::queryPlugin_t) (PluginStruct **p, ServerContext *c);

typedef onMessage_t

cpp
typedef int(* flake::onMessage_t) (char *, ValueArray *, FlakeFilesystemObject *);

typedef ClientObjectRegistry

cpp
typedef ObjectTree<addr_t, ConnectedObject> flake::ClientObjectRegistry;

typedef ObjectRegistry

cpp
typedef ObjectTree<addr_t, ServersideObject> flake::ObjectRegistry;

Function Details

function preprocessTag

cpp
inline uint32_t preprocessTag(
    uint32_t t
)

function PropMakeBool

cpp
inline Property PropMakeBool(
    uint32_t t,
    tt_bool_t v
)

function PropMakeU8

cpp
inline Property PropMakeU8(
    uint32_t t,
    tt_uint8_t v
)

function PropMakeU16

cpp
inline Property PropMakeU16(
    uint32_t t,
    tt_uint16_t v
)

function PropMakeU32

cpp
inline Property PropMakeU32(
    uint32_t t,
    tt_uint32_t v
)

function PropMakeI8

cpp
inline Property PropMakeI8(
    uint32_t t,
    tt_int8_t v
)

function PropMakeI16

cpp
inline Property PropMakeI16(
    uint32_t t,
    tt_int16_t v
)

function PropMakeI32

cpp
inline Property PropMakeI32(
    uint32_t t,
    tt_int32_t v
)

function PropMakeDateTime

cpp
inline Property PropMakeDateTime(
    uint32_t t,
    tt_time_t v
)

function PropMakeFloat

cpp
inline Property PropMakeFloat(
    uint32_t t,
    tt_float_t v
)

function PropMakeUUID

cpp
inline Property PropMakeUUID(
    uint32_t t,
    tt_uuid_t v
)

function PropMakeString

cpp
inline Property PropMakeString(
    uint32_t t,
    tt_str_t v
)

function PropMakeBin

cpp
inline Property PropMakeBin(
    uint32_t t,
    tt_bin_t v
)

function __usleep

cpp
void __usleep(
    long us
)

function xPortGetFreeHeapSize

cpp
size_t xPortGetFreeHeapSize(
    void 
)

function flakePortableLog

cpp
void flakePortableLog(
    const char * format,
    va_list args
)

function errorToString

cpp
const char * errorToString(
    long e
)

function timeToString

cpp
const char * timeToString(
    time_t t
)

function tagToString

cpp
const char * tagToString(
    uint32_t tag
)

function queryPlugin

cpp
void queryPlugin(
    PluginStruct ** p,
    ServerContext * c
)

function onMessage

cpp
int onMessage(
    char * message,
    PropArray * payload,
    FlakeFilesystemObject * destination
)

a message from a client that is directed at the plugin directly

function attribute

cpp
struct __attribute__(
    (__packed__) 
)

Attributes Documentation

variable lvlRaw

cpp
const int flake::lvlRaw

variable lvlDebug

cpp
const int flake::lvlDebug

variable lvlInfo

cpp
const int flake::lvlInfo

variable lvlError

cpp
const int flake::lvlError

variable lvlExplicit

cpp
const int flake::lvlExplicit

variable mstRequest

cpp
const byte flake::mstRequest

variable mstIndication

cpp
const byte flake::mstIndication

variable mstConfirmation

cpp
const byte flake::mstConfirmation

variable mstResponse

cpp
const byte flake::mstResponse

variable dgMstControlBit

cpp
const byte flake::dgMstControlBit

variable dgMstPayloadBit

cpp
const byte flake::dgMstPayloadBit

variable dgMstAnswerBit

cpp
const byte flake::dgMstAnswerBit

variable DatagramHeader

cpp
flake::DatagramHeader

variable UARTFLAG_SYN

cpp
const uint8_t flake::UARTFLAG_SYN

variable UARTFLAG_FIN

cpp
const uint8_t flake::UARTFLAG_FIN

variable UARTFLAG_ACK

cpp
const uint8_t flake::UARTFLAG_ACK

variable UARTFLAG_CTL

cpp
const uint8_t flake::UARTFLAG_CTL