Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOPreservedAIStateMachine Class Reference
+ Inheritance diagram for OOPreservedAIStateMachine:
+ Collaboration diagram for OOPreservedAIStateMachine:

Instance Methods

(id) - initWithStateMachine:name:state:pendingMessages:jsScript:
 
(NSDictionary *) - stateMachine
 
(NSString *) - name
 
(NSString *) - state
 
(NSSet *) - pendingMessages
 
(NSString *) - jsScript
 
(void) - dealloc [implementation]
 

Private Attributes

NSDictionary * _stateMachine
 
NSString * _name
 
NSString * _state
 
NSMutableSet * _pendingMessages
 
NSString * _jsScript
 

Detailed Description

Definition at line 80 of file AI.m.

Method Documentation

◆ dealloc

- (void) dealloc
implementation

Definition at line 397 of file AI.m.

1013{
1014 [_stateMachine autorelease];
1015 [_name autorelease];
1016 [_state autorelease];
1017 [_pendingMessages autorelease];
1018 [_jsScript autorelease];
1019
1020 [super dealloc];
1021}

◆ initWithStateMachine:name:state:pendingMessages:jsScript:

- (id) initWithStateMachine: (NSDictionary *) stateMachine
name: (NSString *) name
state: (NSString *) state
pendingMessages: (NSSet *) pendingMessages
jsScript: (NSString *) script 

Definition at line 397 of file AI.m.

993 :(NSDictionary *)stateMachine
994 name:(NSString *)name
995 state:(NSString *)state
997 jsScript:(NSString *)script
998{
999 if ((self = [super init]))
1000 {
1001 _stateMachine = [stateMachine copy];
1002 _name = [name copy];
1003 _state = [state copy];
1004 _pendingMessages = [pendingMessages copy];
1005 _jsScript = [script copy];
1006 }
1007
1008 return self;
1009}
NSString * name()
Definition AI.m:1030
NSString * _state
Definition AI.m:85
NSString * jsScript()
Definition AI.m:1047
NSSet * pendingMessages()
Definition AI.m:1042
NSString * state()
Definition AI.m:1036
NSDictionary * stateMachine()
Definition AI.m:1024
NSMutableSet * _pendingMessages
Definition AI.m:86
NSString * _name
Definition AI.m:84
NSString * _jsScript
Definition AI.m:87
NSDictionary * _stateMachine
Definition AI.m:83

◆ jsScript

- (NSString *) jsScript

Definition at line 397 of file AI.m.

1048{
1049 return _jsScript;
1050}

◆ name

- (NSString *) name

Definition at line 397 of file AI.m.

1031{
1032 return _name;
1033}

◆ pendingMessages

- (NSSet *) pendingMessages

Definition at line 397 of file AI.m.

1043{
1044 return _pendingMessages;
1045}

◆ state

- (NSString *) state

Definition at line 397 of file AI.m.

1037{
1038 return _state;
1039}

◆ stateMachine

- (NSDictionary *) stateMachine

Definition at line 397 of file AI.m.

1025{
1026 return _stateMachine;
1027}

Member Data Documentation

◆ _jsScript

- (NSString*) _jsScript
private

Definition at line 87 of file AI.m.

◆ _name

- (NSString*) _name
private

Definition at line 84 of file AI.m.

◆ _pendingMessages

- (NSMutableSet*) _pendingMessages
private

Definition at line 86 of file AI.m.

◆ _state

- (NSString*) _state
private

Definition at line 85 of file AI.m.

◆ _stateMachine

- (NSDictionary*) _stateMachine
private

Definition at line 83 of file AI.m.


The documentation for this class was generated from the following file: