Skip to main content

Introduction

CGI Studio Courier Overview

  • Courier framework implements Model-View-Control architecture pattern.
  • It has defined extension points for 3rd party state machine integration.
  • Courier is focusing on Message Handling and Data Binding.
  • Depends on CGI Studio Candera graphics functionality.

Message Handling

  • It defines the information flow in the system.
  • Additionally it supports XML based message definition and C++ code generation.
  • Static and dynamic message distribution path definition.

Data Binding

  • It binds model data items to visual entities in the view component (i.e. widget properties).
  • Changes in the data model trigger automatic update of bound entities in the user interface.

Model-View-Controller

For details on this well known pattern please refer to the following explanation: MVC.

  • View
    • Controls CGI Studio Candera rendering engine
    • Supports multiple, hierarchical view objects
  • Controller
    • Embedding of state machine
    • Mapping of Courier messages to state machine events
  • Model
    • Data management logic (application specific)
    • Generic interface to data items for DataBinding function
drawing-4-1677475134.png

The MVC pattern plus additional components are reflected by the following Courier classes:

drawing-4-1677475118.png

Courier Message Lifecycle

drawing-4-1677475105.png