Class CGenerator
java.lang.Object
uk.co.real_logic.sbe.generation.c.CGenerator
- All Implemented Interfaces:
CodeGenerator
Codec generator for the C11 programming language.
-
Constructor Summary
ConstructorsConstructorDescriptionCGenerator(Ir ir, OutputManager outputManager) Create a new C languageCodeGenerator. -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate()Generate the complete set of types and messages for a schema.voidGenerate the composites for dealing with the message header.
-
Constructor Details
-
CGenerator
Create a new C languageCodeGenerator.- Parameters:
ir- for the messages and types.outputManager- for generating the codecs to.
-
-
Method Details
-
generateMessageHeaderStub
Generate the composites for dealing with the message header.- Throws:
IOException- if an error is encountered when writing the output.
-
generate
Generate the complete set of types and messages for a schema.- Specified by:
generatein interfaceCodeGenerator- Throws:
IOException- if an error is encountered when writing the output.
-