Sentence:  He is talking about double effects , of which the specific action causes directly the one and indirectly the other , but causes both ; of which one is deliberately willed or intended and the other not intended or not directly intended , but still both are done , while the evil effect is , with equal consciousness on the part of the agent , <WSD>foreknown</WSD> to be among the consequences . 
Meaning of the word marked with <WSD> tags:  realize beforehand