/*!
* \action This command returns the current mode for the specified
* optimization.
+ * \param[in] sender client process id that sent this command
* \param[in] id id of optimization
* \param[in] returnMode location to store mode of optimization on execution
* \ingroup Commands
* \action This command sets the chroma key of a layer within the GENIVI LayerManagement
* \frequency Called in order to rearrange graphical output.
* \param[in] sender process id of application that sent this command
- * \param[in] layer Id of the layer to set the chromakey of.
+ * \param[in] layerid Id of the layer to set the chromakey of.
* \param[in] array array of color value which is defined in red, green, blue
* \param[in] length length of array provided as argument array
* \ingroup Commands
/*!
* \action This command sets the mode for the specified optimization.
* \frequency Infrequent.
+ * \param[in] sender client process id that sent this command
* \param[in] id id of optimization
* \param[in] mode optimization mode to set
* \ingroup Commands
* \action This command returns the identifier of the surface which currently hold the keyboard focus
* \frequency Whenever it is needed
* \param[in] sender process id of application that sent this command
- * \param[out] id id of surface
+ * \param[out] pSurfId id of surface
* \ingroup Commands
*/
SurfaceGetKeyboardFocusCommand(pid_t sender, unsigned int *pSurfId)
* \action This command sets the chroma key of a surface within the GENIVI LayerManagement
* \frequency Called in order to rearrange graphical output.
* \param[in] sender process id of application that sent this command
- * \param[in] surfaceId Id of the surface to set the chromakey of.
+ * \param[in] surfaceid Id of the surface to set the chromakey of.
* \param[in] array array of color value which is defined in red, green, blue
* \param[in] length length of array provided as argument array
* \ingroup Commands
extern const struct wl_interface serverinfo_interface;
struct serverinfo_listener {
- /**
+ /*
* connection_id - (none)
* @connection_id: (none)
*/
/**
* @brief Get chroma key values
- * @param[out] The current Red Value between 0 and 255
- * @param[out] The current Green Value between 0 and 255
- * @param[out] The current Blue Value between 0 and 255
+ * @param[out] red The current Red Value between 0 and 255
+ * @param[out] green The current Green Value between 0 and 255
+ * @param[out] blue The current Blue Value between 0 and 255
*/
void getChromaKey(unsigned char& red, unsigned char& green, unsigned char& blue) const;
/**
* @brief add a client application to be notified on property changes of this graphical object.
- * @param applicationHash UUID of application, as registered during ServiceConnect() in the client API
+ * \param[in] client handle to connected client that wants to receive notifications on changes of this object
*/
void addNotification(t_ilm_client_handle client);
/**
* @brief remove a client application from the notification list on property changes of this graphical object.
- * @param applicationHash UUID of application, as registered during ServiceConnect() in the client API
+ * \param[in] client handle to connected client that does not want to receive notifications on changes of this object any longer
*/
void removeNotification(t_ilm_client_handle client);
/**
* \brief start layer management
* \ingroup ServiceAPI
- * \param[in] width width of screen to be used for layer management
- * \param[in] height height of screen to be used for layer management
- * \param[in] displayName name of screen to be used for layer management
* \return TRUE: start management successful
* \return FALSE: start management failed
*/
/**
* \brief add application to list of currently registered applications
* \ingroup ServiceAPI
+ * \param[in] client handle to connected client application
* \param[in] applicationReference pointer to application object
*/
virtual void addApplicationReference(t_ilm_client_handle client, IApplicationReference* applicationReference) = 0;
/**
* \brief remove application from list of currently registered applications
* \ingroup ServiceAPI
- * \param[in] applicationReference pointer to application object
+ * \param[in] client handle to connected client application
*/
virtual void removeApplicationReference(t_ilm_client_handle client) = 0;
* \return TRUE: id is valid and mode was returned
* \return FALSE: id was invalid and/or mode was not returned
*/
- virtual bool getOptimizationMode(OptimizationType, OptimizationModeType *mode) = 0;
+ virtual bool getOptimizationMode(OptimizationType id, OptimizationModeType *mode) = 0;
};
#endif /* _IRENDERER_H_ */
* \brief Creates a new layer within the scene.
* \ingroup SceneAPI
* \param[in] id id of layer
+ * \param[in] creatorPid client process id that requested the creation of this layer
* \return pointer to layer
*/
virtual Layer* createLayer(const uint id, int creatorPid) = 0;
* \brief Creates a new surface within the scene.
* \ingroup SceneAPI
* \param[in] id id of surface
+ * \param[in] creatorPid client process id that requested the creation of this surface
* \return pointer to surface
*/
virtual Surface* createSurface(const uint id, int creatorPid) = 0;
* \brief Create a new layer group within the scene.
* \ingroup SceneAPI
* \param[in] id id of the layer group
+ * \param[in] creatorPid client process id that requested the creation of this layer group
* \return pointer to layer group
*/
virtual LayerGroup* createLayerGroup(const uint id, int creatorPid) = 0;
* \brief Create a new surface group within the scene.
* \ingroup SceneAPI
* \param[in] id id of the new surface group
+ * \param[in] creatorPid client process id that requested the creation of this surface group
* \return pointer to surface group
*/
virtual SurfaceGroup* createSurfaceGroup(const uint id, int creatorPid) = 0;
* size, opacity, etc...
*
* @param uniforms Uniform values
+ * @param texCount texture count
*/
void loadCommonUniforms(const ShaderProgram::CommonUniforms& uniforms, const int texCount) const
{
* size, opacity, etc...
*
* @param uniforms Uniform values
+ * @param texCount texture count
*/
void loadCommonUniforms(const CommonUniforms& uniforms, const int texCount) const;
/**
* @brief Report keyboard event.
* @param[in] state The state of the key. Can be either INPUT_STATE_PRESSED or INPUT_STATE_RELEASED
- * @param[in] keyId A uniq identifier for the key being reported. See @ref<InputManager-KeypressedMap>.
+ * @param[in] keyId A uniq identifier for the key being reported.
* @return The Surface to which to report the event, or NULL
*/
Surface * InputManager::reportKeyboardEvent(InputEventState state, long keyId)
the list of layers and properties are then performed at a central point within the
layermanager.
-An implementation of a communication library must subclass BaseCommunicator and
+An implementation of a communication library must subclass ICommunicator and
implement the inherited start() and stop() methods, as well as a way to load the
library dynamically at runtime.
\section communicationsPackageExample Example: Create the communication library “MyCommunicator”
-(1) Create the class MyCommunicator, which inherits BaseCommunicator
+(1) Create the class MyCommunicator, which inherits ICommunicator
(2) Implement the virtual class functions
\section communicationsPackageReferenceImplementation Reference Implementation
The LayerManagement package contains a reference
-implementation for a communicator, which is based on DBUS.
+implementation for a communicator, which internally can use DBUS or TCP/IP.
The source code is available in the
-\code <package_root>/LayerManagerPlugins/Communicators/DBUSCommunicator \endcode
+\code <package_root>/LayerManagerPlugins/Communicators/GenericCommunicator \endcode
directory.
\section communicationsPackagePublicInterface Public Interface
\section implementationNotesReferenceCommunicator Reference Communicator
-The GENIVI reference communicator implementation depends on
-\li DBUS interface.
+The GENIVI reference communicator implementation depends on either
+\li DBUS interface
+or
+\li TCP/IP sockets.
\section implementationNotesOpenGLRenderer OpenGL Reference Renderer