7 #ifndef __intelligence_Radio_h__ 8 #define __intelligence_Radio_h__ 27 Radio(
void) { setName(
"Radio"); }
30 add(range, FE_SPEC(
"comm:range",
32 add(neighborhood, FE_SPEC(
"comm:crowd",
33 "Cooperative network"));
34 add(newNeighborhood, FE_SPEC(
"comm:newcrowd",
35 "Crowd update during partitioning"));
36 add(neighbors, FE_USE(
"comm:neighbors"));
40 neighborhood.
attribute()->setCloneable(FALSE);
41 neighbors.
attribute()->setCloneable(FALSE);
44 crowdRV.
bind(scope());
46 crowdRV.neighbors()->add(record());
49 neighbors()->setWeak(TRUE);
void createAndSetRecordGroup(void)
Create a RecordGroup for the attribute.
Definition: RecordView.h:258
void bind(sp< Scope > &rspScope)
Associate with a Scope.
Definition: RecordView.h:319
kernel
Definition: namespace.dox:3
Bound accessor in a RecordView.
Definition: RecordView.h:147
Radio RecordView.
Definition: Radio.h:19
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: Radio.h:38
sp< Attribute > attribute(void) const
Return the attribute this accessor is for.
Definition: Accessor.cc:151
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
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: Radio.h:28