Collapse All Expand All

C#

Clarion Library 6.1.1
Drive Class
Members See Also Send Feedback

[This is preliminary documentation and is subject to change.]

This class serves as the base template class for the drives in the in the Clarion Library

Namespace: Clarion.Framework.Templates
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

# Syntax

C#
    public abstract class Drive : ICommitable,
    	ISubscribes<ParameterChangeRequestedEventArgs>, ISubscribes, IDefinesAgentMetaInfo

# Remarks

Note
This class is abstract, and therefore cannot be initialized on its own

All drives MUST extend this class (or a subclass of this class) in order to be used within bottom level of the motivational subsystem. The drive class is essentially just a "wrapper" around an implicit component. In fact, once you have initiated an instance of a drive (using InitializeDrive<(Of <<'(T>)>>)(Agent, IDriveFactory<(Of <<'(T>)>>), array<Object>[]()[][])), you MUST also initiate an implicit component within that drive (using InitializeDriveComponent<(Of <<'(T>)>>)(Drive, IimplicitComponentFactory<(Of <<'(T>)>>), array<Object>[]()[][])).

Custom drives may be implemented by extending this class.

Caution
Implementing a custom drive is NOT a simple task. Users should have both a firm understanding of the Clarion theory as well as significant experience using the Clarion Library before attempting to implement their own (custom) drive. This being said, a detailed explanation of how to implement a custom drive can be found in the Advanced Tutorial under the Tutorials section of the Clarion Library package.

Copyright 2011. Nicholas Wilson

# Inheritance Hierarchy

System..::..Object
Clarion.Framework.Templates..::..Drive
Clarion.Framework..::..AffiliationBelongingnessDrive
Clarion.Framework..::..AutonomyDrive
Clarion.Framework..::..AvoidingPhysicalDangerDrive
Clarion.Framework..::..AvoidingUnpleasantStimuliDrive
Clarion.Framework..::..ConservationDrive
Clarion.Framework..::..CuriosityDrive
Clarion.Framework..::..DeferenceDrive
Clarion.Framework..::..DominancePowerDrive
Clarion.Framework..::..FairnessDrive
Clarion.Framework..::..FoodDrive
Clarion.Framework..::..HonorDrive
Clarion.Framework..::..NurturanceDrive
Clarion.Framework..::..RecognitionAchievementDrive
Clarion.Framework..::..ReproductionDrive
Clarion.Framework..::..RestDrive
Clarion.Framework..::..SimilanceDrive
Clarion.Framework..::..WaterDrive

# See Also

Drive Members
Clarion.Framework.Templates Namespace