Quick links: Tutorial - Examples - Files - Symbols.
Classes: Hierarchy - Index - List - Members.
Namespaces: Index - base - cs - display.

Public Member Functions | Protected Member Functions | List of all members
cogitantcs::EnvironmentAllocatorClient Class Reference

Allocateur pour les membres de Environment dans un client. More...

#include "cogitant/cs/client.h"

Inheritance diagram for cogitantcs::EnvironmentAllocatorClient:
cogitant::EnvironmentAllocator cogitant::Allocator cogitant::CogitantObject

Public Member Functions

 EnvironmentAllocatorClient (Client *client)
 Constructeur. More...
 
 ~EnvironmentAllocatorClient ()
 Destructeur. More...
 
void localObjects (bool local=true)
 Stockage des objets. More...
 
void localSupport (bool local=true)
 Stockage du support. More...
 
Allocation.
cogitant::Support * allocSupport () const
 
cogitant::Set< cogitant::EnvironmentObject * > * allocObjects () const
 
Effacement.
void clearObjects (cogitant::Set< cogitant::EnvironmentObject *> *s) const
 
void replaceObject (cogitant::Set< cogitant::EnvironmentObject *> *s, cogitant::iSet i, cogitant::EnvironmentObject *o) const
 
- Public Member Functions inherited from cogitant::EnvironmentAllocator
virtual Support * allocSupport2 (Support const *o) const
 
virtual EnvironmentObject * allocObject (EnvironmentObject::Type t, Environment const *env) const
 
virtual EnvironmentObject * allocObject2 (EnvironmentObject const *o, Environment const *env) const
 
virtual Graph * allocGraph (Environment const *env) const
 
virtual Graph * allocGraph2 (Graph const *o, bool extmode, Environment const *env) const
 Allocation d'un graphe par copie d'un graphe existant. More...
 
virtual Rule * allocRule (Environment const *env) const
 
virtual Rule * allocRule2 (Rule const *o, Environment const *env) const
 
virtual ColoredGraphConstraint * allocColoredGraphConstraint (bool positive, Environment const *env) const
 
virtual ColoredGraphConstraint * allocColoredGraphConstraint2 (ColoredGraphConstraint const *o, Environment const *env) const
 
virtual Constraint * allocConstraint (bool positive, Environment const *env) const
 
virtual Constraint * allocConstraint2 (Constraint const *o, Environment const *env) const
 
virtual Set< EnvironmentObject * > * allocObjects2 (Set< EnvironmentObject *> const *o, Environment const *env) const
 
virtual ResultOpeProjection * allocResultOpeProjection () const
 
virtual OpeGraphObjectCompatibility * allocOpeGraphObjectCompatibility (Environment *e) const
 
virtual OpeProjBacktrackChoice * allocOpeProjBacktrackChoice (Environment *e) const
 
virtual OpeProjPrecalcImages * allocOpeProjPrecalcImages (Environment *e) const
 
virtual OpeProjAcceptableCouple * allocOpeProjAcceptableCouple (Environment *e) const
 
virtual OpeProjAcceptableLIPs * allocOpeProjAcceptableLIPs (Environment *e) const
 
virtual OpeProjLIPInit * allocOpeProjLIPInit (Environment *e) const
 
virtual OpeProjLIPUpdate * allocOpeProjLIPUpdate (Environment *e) const
 
virtual OpeProjLIPIndividual * allocOpeProjLIPIndividual (Environment *e) const
 
virtual OpeProjection * allocOpeProjection (Environment *e) const
 
virtual OpeProjectionBundle * allocOpeProjectionBundle (Environment *e) const
 
virtual OpeProjectionImage * allocOpeProjectionImage (Environment *e) const
 
virtual OpeVerifConformity * allocOpeVerifConformity (Environment *e) const
 
virtual OpeVerifSignature * allocOpeVerifSignature (Environment *e) const
 
virtual OpeVerifEdges * allocOpeVerifEdges (Environment *e) const
 
virtual OpeVerifNormalForm * allocOpeVerifNormalForm (Environment *e) const
 
virtual OpeVerifConjunctive * allocOpeVerifConjunctive (Environment *e) const
 
virtual OpeVerifSupportBannedType * allocOpeVerifSupportBannedType (Environment *e) const
 
virtual OpeVerifConjunctiveType * allocOpeVerifConjunctiveType (Environment *e) const
 
virtual OpeVerifBannedType * allocOpeVerifBannedType (Environment *e) const
 
virtual OpeVerifCoreferenceClass * allocOpeVerifCoreferenceClass (Environment *e) const
 
virtual OpeConnectedComponent * allocOpeConnectedComponent (Environment *e) const
 
virtual OpeVerifIrredundant * allocOpeVerifIrredundant (Environment *e) const
 
virtual OpeVerifSupportSignature * allocOpeVerifSupportSignature (Environment *e) const
 
virtual OpeRuleApplications * allocOpeRuleApplications (Environment *e) const
 
virtual OpeRuleApply * allocOpeRuleApply (Environment *e) const
 
virtual OpeRuleIrredundantProjection * allocOpeRuleIrredundantProjection (Environment *e) const
 
virtual OpeRulesClosure * allocOpeRulesClosure (Environment *e) const
 
virtual OpeConstraintSatisfaction * allocOpeConstraintSatisfaction (Environment *e) const
 
virtual OpeDisjointSum * allocOpeDisjointSum (Environment *e) const
 
virtual OpeNormalForm * allocOpeNormalForm (Environment *e) const
 
virtual OpeIrredundant * allocOpeIrredundant (Environment *e) const
 
virtual OpeIndividualGraphExpand * allocOpeIndividualGraphExpand (Environment *e) const
 
virtual OpeIndividualGraphMultipleExpand * allocOpeIndividualGraphMultipleExpand (Environment *e) const
 
virtual OpeSignatureApply * allocOpeSignatureApply (Environment *e) const
 
virtual OpeSupportSignatureSpecialize * allocOpeSupportSignatureSpecialize (Environment *e) const
 
virtual IOHandler * allocIOHandler (Environment *env) const
 
virtual IOHandler * allocIOHandler2 (IOHandler const *const o, Environment *env) const
 
virtual void replaceObject (Set< EnvironmentObject *> *s, iSet i, EnvironmentObject *o) const
 
- Public Member Functions inherited from cogitant::CogitantObject
 CogitantObject ()
 Constructeur. More...
 
 CogitantObject (CogitantObject const &o)
 Constructeur par recopie. More...
 
virtual ~CogitantObject ()
 Destructeur. More...
 
PropertySet * properties ()
 Accès à l'ensemble des propriétés. More...
 
virtual std::string toString () const
 Transformation en chaîne de caractères. More...
 
std::string className () const
 Nom de la classe. More...
 
PropertySet const * properties () const
 Accès en lecture seule à l'ensemble des propriétés. More...
 
bool hasProperties () const
 Existence de propriétés. More...
 
CogitantObject & operator= (CogitantObject const &ob)
 Affectation. More...
 

Protected Member Functions

virtual SupportAllocatorClient * newSupportAllocator () const
 Construction d'un nouveau allocateur de support pour un environnement créé par l'objet courant. More...
 
- Protected Member Functions inherited from cogitant::CogitantObject
virtual PropertySet * allocProperties () const
 Fonction créant l'instance d'une sous classe de PropertySet pour la représentation des propriétés de l'objet. More...
 

Detailed Description

Allocateur pour les membres de Environment dans un client.

Cette classe diffère de cogitant::EnvironmentAllocator par le fait que le support créé est muni d'un allocateur de type SupportAllocatorClient.

Constructor & Destructor Documentation

◆ EnvironmentAllocatorClient()

cogitantcs::EnvironmentAllocatorClient::EnvironmentAllocatorClient ( Client *  client)

Constructeur.

Parameters
clientClient auquel est rattaché l'allocator. Cette information doit être connue au moment de l'exécution des méthodes d'allocation afin de créer un cogitant::Support muni d'un SupportAllocatorClient relié au bon client.

◆ ~EnvironmentAllocatorClient()

cogitantcs::EnvironmentAllocatorClient::~EnvironmentAllocatorClient ( )

Destructeur.

Member Function Documentation

◆ localObjects()

void cogitantcs::EnvironmentAllocatorClient::localObjects ( bool  local = true)

Stockage des objets.

Si true les objets (graphes et règles) sont stockés sur le client, sinon (ou si cette méthode n'est pas appelée) les objets accessibles sont ceux du serveur.

Warning
Cette méthode doit être appelée avant l'allocation de l'ensemble d'objets.

◆ localSupport()

void cogitantcs::EnvironmentAllocatorClient::localSupport ( bool  local = true)

Stockage du support.

Si true le support est stocké sur le client, sinon (ou si cette méthode n'est pas appelée) le support est celui du serveur.

Warning
Cette méthode doit être appelée avant l'allocation du support.

◆ newSupportAllocator()

virtual SupportAllocatorClient* cogitantcs::EnvironmentAllocatorClient::newSupportAllocator ( ) const
protectedvirtual

Construction d'un nouveau allocateur de support pour un environnement créé par l'objet courant.