Oolite
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 73 of file AI.m.

Method Documentation

◆ dealloc

- (void) dealloc
implementation

Definition at line 894 of file AI.m.

895{
896 [_stateMachine autorelease];
897 [_name autorelease];
898 [_state autorelease];
899 [_pendingMessages autorelease];
900 [_jsScript autorelease];
901
902 [super dealloc];
903}

References dealloc.

Referenced by dealloc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initWithStateMachine:name:state:pendingMessages:jsScript:

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

Definition at line 877 of file AI.m.

877 :(NSDictionary*)stateMachine
878 name:(NSString*)name
879 state:(NSString*)state
881 jsScript:(NSString*)script
882{
883 if ((self = [super init])) {
884 _stateMachine = [stateMachine copy];
885 _name = [name copy];
886 _state = [state copy];
887 _pendingMessages = [pendingMessages copy];
888 _jsScript = [script copy];
889 }
890
891 return self;
892}
NSString * name()
Definition AI.m:910
NSString * _state
Definition AI.m:77
NSString * jsScript()
Definition AI.m:925
NSSet * pendingMessages()
Definition AI.m:920
NSString * state()
Definition AI.m:915
NSDictionary * stateMachine()
Definition AI.m:905
NSMutableSet * _pendingMessages
Definition AI.m:78
NSString * _name
Definition AI.m:76
NSString * _jsScript
Definition AI.m:79
NSDictionary * _stateMachine
Definition AI.m:75

References _jsScript, _name, _pendingMessages, _state, and _stateMachine.

◆ jsScript

- (NSString *) jsScript

Definition at line 925 of file AI.m.

926{
927 return _jsScript;
928}

References _jsScript, and jsScript.

Referenced by jsScript, and AI::restorePreviousStateMachine.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ name

- (NSString *) name

Definition at line 910 of file AI.m.

911{
912 return _name;
913}

References _name, and name.

Referenced by name, and AI::restorePreviousStateMachine.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pendingMessages

- (NSSet *) pendingMessages

Definition at line 920 of file AI.m.

921{
922 return _pendingMessages;
923}

References _pendingMessages, and pendingMessages.

Referenced by pendingMessages, and AI::restorePreviousStateMachine.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ state

- (NSString *) state

Definition at line 915 of file AI.m.

916{
917 return _state;
918}

References _state, and state.

Referenced by AI::restorePreviousStateMachine, and state.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stateMachine

- (NSDictionary *) stateMachine

Definition at line 905 of file AI.m.

906{
907 return _stateMachine;
908}

References _stateMachine, and stateMachine.

Referenced by AI::restorePreviousStateMachine, and stateMachine.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _jsScript

- (NSString*) _jsScript
private

Definition at line 79 of file AI.m.

Referenced by initWithStateMachine:name:state:pendingMessages:jsScript:, and jsScript.

◆ _name

- (NSString*) _name
private

Definition at line 76 of file AI.m.

Referenced by initWithStateMachine:name:state:pendingMessages:jsScript:, and name.

◆ _pendingMessages

- (NSMutableSet*) _pendingMessages
private

Definition at line 78 of file AI.m.

Referenced by initWithStateMachine:name:state:pendingMessages:jsScript:, and pendingMessages.

◆ _state

- (NSString*) _state
private

Definition at line 77 of file AI.m.

Referenced by initWithStateMachine:name:state:pendingMessages:jsScript:, and state.

◆ _stateMachine

- (NSDictionary*) _stateMachine
private

Definition at line 75 of file AI.m.

Referenced by initWithStateMachine:name:state:pendingMessages:jsScript:, and stateMachine.


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