I am new to omnet++ and inet. I want to inherit a compound module like Adhoc Host and then write logic for it. Unfortunately, there is no C++ file with Compound modules.
The behaviour I want to write is what should a host do when it reaches which particular point in the space. For example, host A should send a message to host B only if they are within a certain distance of each other.