Dali 3D User Interface Engine
Classes | Enumerations | Variables
Dali::PerformanceProtocol::anonymous_namespace{network-performance-protocol.cpp} Namespace Reference

Classes

struct  CommandInfo
 Command information structure. More...
 

Enumerations

enum  PARAMETER_TYPE { NO_PARAMS, UNSIGNED_INT, STRING }
 Command parameter type. More...
 

Variables

CommandInfo CommandLookup []
 Command lookup table. More...
 
const unsigned int CommandLookupLength = sizeof( CommandLookup ) /sizeof( CommandInfo )
 
const char *const helpMsg
 

Enumeration Type Documentation

enum Dali::PerformanceProtocol::anonymous_namespace{network-performance-protocol.cpp}::PARAMETER_TYPE

Command parameter type.

Enumerator
NO_PARAMS 
UNSIGNED_INT 
STRING 

Definition at line 40 of file network-performance-protocol.cpp.

Variable Documentation

CommandInfo Dali::PerformanceProtocol::anonymous_namespace{network-performance-protocol.cpp}::CommandLookup[]
Initial value:
=
{
{ HELP_MESSAGE , "help" ,NO_PARAMS },
{ ENABLE_METRIC , "enable_metric" ,UNSIGNED_INT },
{ DISABLE_METRIC , "disable_metric" ,UNSIGNED_INT },
{ LIST_METRICS_AVAILABLE , "list_metrics" ,NO_PARAMS },
{ DUMP_SCENE_GRAPH , "dump_scene" ,NO_PARAMS },
{ SET_PROPERTIES , "set_properties" ,STRING },
{ UNKNOWN_COMMAND , "unknown" ,NO_PARAMS }
}

Command lookup table.

Definition at line 60 of file network-performance-protocol.cpp.

const unsigned int Dali::PerformanceProtocol::anonymous_namespace{network-performance-protocol.cpp}::CommandLookupLength = sizeof( CommandLookup ) /sizeof( CommandInfo )
const char* const Dali::PerformanceProtocol::anonymous_namespace{network-performance-protocol.cpp}::helpMsg
Initial value:
=
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
" Dali performance console \n"
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" NORMAL
GREEN " list_metrics " NORMAL " - list available metrics\n"
GREEN " enable_metric " PARAM " metricId" NORMAL " - enable a metric \n"
GREEN " disable_metric "PARAM " metricId" NORMAL " - disable a metric\n\n"
GREEN " set_marker " PARAM " value " NORMAL "-output Dali markers\n"
" : Bit 0 = V_SYNC (1)\n"
" : Bit 1 = Update task (2)\n"
" : Bit 2 = Render task (4) \n"
" : Bit 3 = Event Processing task (8)\n"
" : Bit 4 = SwapBuffers (16)\n"
" : Bit 5 = Life cycle events (32)\n"
" : Bit 6 = Resource event (64)\n"
"\n"
GREEN" set_properties "NORMAL " - set an actor property command. Format:\n\n"
GREEN" set_properties "PARAM"|ActorIndex;Property;Value|" NORMAL ", e.g: \n"
GREEN" set_properties " PARAM "|178;Size;[ 144.0, 144.0, 144.0 ]|178;Color;[ 1.0, 1,0, 1.0 ]|\n"
"\n"
GREEN " dump_scene" NORMAL " - dump the current scene in json format\n"

Definition at line 78 of file network-performance-protocol.cpp.

Referenced by Dali::PerformanceProtocol::GetHelpMessage().

Dali Docs Home
Read more about Dali