1 #ifndef __DALI_INTERNAL_ADAPTOR_AUTOMATION_H__
2 #define __DALI_INTERNAL_ADAPTOR_AUTOMATION_H__
5 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
26 #include <dali/internal/network/common/client-send-data-interface.h>
38 * @brief The automation functions allow a way to control Dali via a network socket.
40 * The functions must be called from the event thread only.
42 * Any functions which require a response to be sent back to the network client
43 * use the ClientSendDataInterface interface.
46 * Dali network client thread <---- "dump_scene" from network
47 * Dali main thread "json data" -----> network
54 * @brief Sets properties on an Actor.
55 * No ClientSendDataInterface required, as no response is sent back
56 * @param[in] message set property message
58 void SetProperty( const std::string& message );
62 * @brief Dumps the actor tree to the client
63 * @param[in] clientId unique network client id
64 * @param[in] sendData interface to transmit data to the client
66 void DumpScene( unsigned int clientId, ClientSendDataInterface* sendData );
69 } // namespace Automation
71 } // namespace Internal
73 } // namespace Adaptor