7 #ifndef __intelligence_Crowd_h__ 8 #define __intelligence_Crowd_h__ 22 Functor<Record> viewpoint;
23 Functor< sp<RecordGroup> > neighbors;
26 Crowd(
void) { setName(
"Crowd"); }
29 add(viewpoint, FE_SPEC(
"ai:viewpoint",
30 "Surveillance of what can be seen"));
32 add(neighbors, FE_SPEC(
"comm:neighbors",
33 "Group of nearby Records with similar interests"));
35 add(serial, FE_USE(
":SN"));
40 surveillanceRV.
bind(scope());
43 neighbors.createAndSetRecordGroup();
44 neighbors()->setWeak(TRUE);
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: Crowd.h:37
Surveillance RecordView.
Definition: Surveillance.h:19
void bind(sp< Scope > &rspScope)
Associate with a Scope.
Definition: RecordView.h:319
kernel
Definition: namespace.dox:3
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: Crowd.h:27
Record createRecord(void)
Create a Record using all the attributes.
Definition: RecordView.h:469
Bindable collection of accessor Functors.
Definition: RecordView.h:106
Crowd RecordView.
Definition: Crowd.h:19