Dali 3D User Interface Engine
Classes | Namespaces | Functions | Variables
automation.cpp File Reference
#include "automation.h"
#include <sstream>
#include <iomanip>
#include <stdio.h>
#include <dali/public-api/dali-core.h>
#include <dali/integration-api/debug.h>
Include dependency graph for automation.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{automation.cpp}::JsonPropertyValue
 

Namespaces

namespace  anonymous_namespace{automation.cpp}
 
namespace  Dali
 The top level DALi namespace.
 
namespace  Dali::Internal
 
namespace  Dali::Internal::Adaptor
 
namespace  Dali::Internal::Adaptor::Automation
 The automation functions allow a way to control Dali via a network socket.
 

Functions

void anonymous_namespace{automation.cpp}::SetProperty (Dali::Handle handle, int propertyId, JsonPropertyValue &propertyValue)
 
int anonymous_namespace{automation.cpp}::SetProperties (const std::string &setPropertyMessage)
 
std::string Quote (const std::string &in)
 
template<class T >
std::string ToString (T i)
 
void AppendPropertyNameAndValue (Dali::Handle handle, int propertyIndex, std::ostringstream &outputStream)
 
bool ExcludeProperty (int propIndex)
 
std::string DumpJson (Dali::Actor actor, int level)
 
std::string GetActorTree ()
 
void Dali::Internal::Adaptor::Automation::SetProperty (const std::string &message)
 Sets properties on an Actor. More...
 
void Dali::Internal::Adaptor::Automation::DumpScene (unsigned int clientId, ClientSendDataInterface *sendData)
 Dumps the actor tree to the client. More...
 

Variables

const unsigned int anonymous_namespace{automation.cpp}::MAX_SET_PROPERTY_STRING_LENGTH = 256
 maximum length of a set property command More...
 

Function Documentation

void AppendPropertyNameAndValue ( Dali::Handle  handle,
int  propertyIndex,
std::ostringstream &  outputStream 
)

Definition at line 221 of file automation.cpp.

References Dali::Handle::GetProperty(), Dali::Handle::GetPropertyName(), and Dali::Property::Value().

Referenced by DumpJson().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string DumpJson ( Dali::Actor  actor,
int  level 
)
bool ExcludeProperty ( int  propIndex)
std::string GetActorTree ( )

Definition at line 293 of file automation.cpp.

References DumpJson(), Dali::Stage::GetCurrent(), and Dali::Stage::GetRootLayer().

Referenced by Dali::Internal::Adaptor::Automation::DumpScene().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Quote ( const std::string &  in)
inline

Definition at line 203 of file automation.cpp.

Referenced by DumpJson().

Here is the caller graph for this function:

template<class T >
std::string ToString ( i)

Definition at line 209 of file automation.cpp.

Dali Docs Home
Read more about Dali