API Guides > ConceptRT 3.x
Components Declaration

Detailed Description

Publishing Properties

Published properties are automatically intialized to 0, invoked (as editable property) and serialized with its container. If the property shouldn't be serialized or invoked this way, it mustn't be published. See Customization of the serialization and customization of the invocation.

#define CONCEPT_ITEM(field)
 Publish a field. More...
 
#define CONCEPT_PSEUDO_ITEM(field, name)
 Publish a field with speudo name. More...
 
#define CONCEPT_ENUM(field)
 Publish a field of type enum. More...
 
#define CONCEPT_PSEUDO_ENUM(field, name)
 Publish a field of type enum with speudo name. More...
 

Publishing Object (Child)

All objects (Children of base type ConceptElement) must be published.

#define CONCEPT_OBJECT(field)
 Publish an object field. More...
 

Concrete Component Declaration

#define CONCEPT_BEGIN(classType, factoryId, baseType)
 Begin a publishing block on concrete component. More...
 
#define CONCEPT_END
 End a publishing block on concrete component. More...
 

Abstract Component Declaration

#define CONCEPT_ABSTRACT_BEGIN(classType, baseType)
 Begin a publishing block on abstract component. More...
 
#define CONCEPT_ABSTRACT_END
 End a publishing block on abstract component. More...
 

Common

#define CONCEPT_BASECLASS
 Call the parent publishing behaviour More...
 

Macro Definition Documentation

#define CONCEPT_ABSTRACT_BEGIN (   classType,
  baseType 
)

Begin a publishing block on abstract component.

Parameters
classTypeThe current class type.
baseTypeThe base (parent) class.
See also
CONCEPT_ABSTRACT_END, CONCEPT_BEGIN

Context of use : ConceptComponent Class declaration.

Examples:
Machine/main.cpp.
#define CONCEPT_ABSTRACT_END

End a publishing block on abstract component.

See also
CONCEPT_ABSTRACT_BEGIN

Context of use : ConceptComponent Class declaration.

Examples:
Machine/main.cpp.
#define CONCEPT_BASECLASS

Call the parent publishing behaviour

Context of use : Publishing bloc CONCEPT_BEGIN or CONCEPT_ABSTRACT_BEGIN

Examples:
Machine/main.cpp.
#define CONCEPT_BEGIN (   classType,
  factoryId,
  baseType 
)

Begin a publishing block on concrete component.

Parameters
classTypeThe current class type.
factoryIdThe current class factory id.
baseTypeThe base (parent) class.
See also
CONCEPT_END, CONCEPT_ABSTRACT_BEGIN

Context of use : ConceptComponent Class declaration.

Examples:
Machine/main.cpp.
#define CONCEPT_END

End a publishing block on concrete component.

See also
CONCEPT_BEGIN

Context of use : ConceptComponent Class declaration.

Examples:
Machine/main.cpp.
#define CONCEPT_ENUM (   field)

Publish a field of type enum.

Parameters
fieldThe field.

Context of use : Publishing bloc CONCEPT_BEGIN or CONCEPT_ABSTRACT_BEGIN

#define CONCEPT_ITEM (   field)

Publish a field.

Parameters
fieldThe field.

Context of use : Publishing bloc CONCEPT_BEGIN or CONCEPT_ABSTRACT_BEGIN

Examples:
Machine/main.cpp.
#define CONCEPT_OBJECT (   field)

Publish an object field.

Parameters
fieldThe field.
See also
PROPERTY_OBJECT

Context of use : Publishing bloc CONCEPT_BEGIN or CONCEPT_ABSTRACT_BEGIN

Examples:
Machine/main.cpp.
#define CONCEPT_PSEUDO_ENUM (   field,
  name 
)

Publish a field of type enum with speudo name.

Parameters
fieldThe field.
nameThe name (speudo).

Context of use : Publishing bloc CONCEPT_BEGIN or CONCEPT_ABSTRACT_BEGIN

#define CONCEPT_PSEUDO_ITEM (   field,
  name 
)

Publish a field with speudo name.

Parameters
fieldThe field.
nameThe name (speudo).

Context of use : Publishing bloc CONCEPT_BEGIN or CONCEPT_ABSTRACT_BEGIN