A robot device (1) has a central processing process (CPU) having a
plurality of objects and adapted for carrying out control processing on
the basis inter-object communication carried out between the objects, the
central processing process controlling accesses by the plurality of
objects to a shared memory shared by the plurality of objects and thus
carrying out inter-object communication. Specifically, the central
processing process generates pointers P11, P12, P13, P21, P22 in
accordance with accesses by the objects to predetermined areas M1, M2 on
a shared memory M, then measures the pointers by the corresponding
number-of-reference measuring objects RO1, RO2, and controls the accesses
in accordance with the number of pointers measured, thereby carrying out
inter-object communication. This enables easy realization of smooth
inter-process communication.