x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Module Cyclical Dependency Issue

I have two modules (let's say module A and module B) that both need to interact with each other. Module A has a class that needs to call a member function of a class in module B, then the class in module B receives data from over the network and then passes the data back up to the class in module A by calling one of the class' member functions.

The problem with this design is that module A is dependent on module B, and module B is dependent on A, leading to a cyclical dependency that UBT complains about (this is after adding the modules to the Build.cs files). I cannot use forward declarations because both modules need to call a member function of each other module's class, which means the pointer to the class instance must be dereferenced. What is the recommended Unreal solution to this dependency?

Product Version: UE 4.12
Tags:
more ▼

asked Sep 14 '16 at 05:56 PM in Using UE4

avatar image

Jordan.Harvey
41 2 8

avatar image AXE Oct 21 '16 at 03:17 PM

I have the same situation/issue. Did you come up with a solution, or do you have any additional information about this?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question