Server
API Reference Guide
Product Documentation:

Visualization Server
Documentation Home
List of all members | Static Public Member Functions
IlsModel Class Reference

This class lets you check the integrity of an object structure and set write access to objects. More...

#include <ilserver/model.h>

Static Public Member Functions

static IlsActivity GetDefaultActivity ()
 
static IlsBoolean IsIntegrityChecked ()
 Indicates whether the integrity check is activated.
 
static IlsBoolean IsUpdateChecked ()
 
static void SetActive (IlsActivity=ILS_ACTIVE)
 Server data members can be set as active or inactive. More...
 
static void SetIntegrityChecked (IlsBoolean=IlsTrue)
 
static void SetMT ()
 
static void SetUpdateChecked (IlsBoolean=IlsTrue)
 

Detailed Description

This class lets you check the integrity of an object structure and set write access to objects.

Library: server

See also
IlsException, IlsDerived, IlsEntity, IlsObject, IlsOwns, IlsOwnsList, IlsOwnsSet, IlsRefCounted, IlsThread, IlsUses, IlsUsesList, IlsUsesSet.

Member Function Documentation

◆ GetDefaultActivity()

IlsActivity IlsModel::GetDefaultActivity ( )
static
\short Returns the default activity.

If the static function SetActive() has never been called, it returns ILS_INACTIVE.

◆ IsUpdateChecked()

IlsBoolean IlsModel::IsUpdateChecked ( )
static
\short Indicates whether write access has been set.

By default, it is deactivated.

◆ SetActive()

void IlsModel::SetActive ( IlsActivity  activity = ILS_ACTIVE)
static

Server data members can be set as active or inactive.

Data members set as active set off the recomputation of derived members when they are modified. Each Server data member will be set to the value passed to the SetActive() static member function, unless otherwise specified in their respective constructors.

◆ SetIntegrityChecked()

void IlsModel::SetIntegrityChecked ( IlsBoolean  flag = IlsTrue)
static
\short Activates the integrity check.

To deactivate the integrity check, set the Boolean flag to IlsFalse.

Since this function may decrease the performance of your application, we recommend that you do not use it but for debugging purpose.

It may cause the exceptions IlsOwnershipCycle and IlsUnownedUse to be thrown.

◆ SetMT()

static void IlsModel::SetMT ( )
static
\short Activates the MT-safe facility, including MT-safe reference
counting.

For details, see the function IlsMvServer::Initialize().

◆ SetUpdateChecked()

void IlsModel::SetUpdateChecked ( IlsBoolean  flag = IlsTrue)
static
\short Sets write access to objects.

To deactivate write access to objects, you have to set the Boolean flag to IlsFalse.