source.append(dependencyExporter.createDependencyIncudesCode(isHeader));
if (getBaseClass() != null) {
source.append(GenerationTemplates.cppInclude(getBaseClass()));
}
if (!isHeader) {
<BUG>if (stateMachineExporter.isOwnStateMachine()) {
</BUG>
source.append(GenerationTemplates.cppInclude(GenerationTemplates.DeploymentHeader));
source.append(GenerationTemplates.debugOnlyCodeBlock(GenerationTemplates.StandardIOinclude));
}

source.append(dependencyExporter.createDependencyIncudesCode(isHeader));
if (getBaseClass() != null) {
source.append(GenerationTemplates.cppInclude(getBaseClass()));
}
if (!isHeader) {
if (stateMachineExporter.ownStateMachine()) {
source.append(GenerationTemplates.cppInclude(GenerationTemplates.DeploymentHeader));
source.append(GenerationTemplates.debugOnlyCodeBlock(GenerationTemplates.StandardIOinclude));
}
