The attributes used in the string representation of the Activity Context can be configured through this mask.
More...
#include <ActivityContext.hpp>
Inherits std::bitset< 32 >.
|
typedef std::bitset< 32 > | MaskType |
| A typedef of std::bitset<32> for convenience. More...
|
|
The attributes used in the string representation of the Activity Context can be configured through this mask.
This mask indicates what attributes of the resource are used when RTI Connext logs a message or when the Heap Monitoring utility saves statistics for a memory allocation.
◆ MaskType
A typedef of std::bitset<32> for convenience.
◆ AttributeKindMask() [1/3]
rti::config::activity_context::AttributeKindMask::AttributeKindMask |
( |
| ) |
|
|
inline |
Not provide any attribute of the resource of the Activity Context.
◆ AttributeKindMask() [2/3]
rti::config::activity_context::AttributeKindMask::AttributeKindMask |
( |
uint64_t |
mask | ) |
|
|
inlineexplicit |
Construct a AttributeKindMask from an integer.
- Parameters
-
mask | Value whose bits are copied to the bitset positions |
◆ AttributeKindMask() [3/3]
rti::config::activity_context::AttributeKindMask::AttributeKindMask |
( |
const MaskType & |
mask | ) |
|
|
inline |
◆ guid_prefix()
static const AttributeKindMask rti::config::activity_context::AttributeKindMask::guid_prefix |
( |
| ) |
|
|
inlinestatic |
Provide the entity GUID prefix to the resource of the Activity Context.
For example:
- For the following string representation of the context:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=
Foo,Domain=1}|Write]
An example topic-type.
Definition: types.dxx:34
- The GUID prefix is 0X101A76B,0X79E5D71,0X50EE914. If the bit ActivityContextAttributeKind::GUID_PREFIX is not set, the string representation will not show the GUID prefix:
[:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=
Foo,Domain=1}|Write]
◆ topic()
static const AttributeKindMask rti::config::activity_context::AttributeKindMask::topic |
( |
| ) |
|
|
inlinestatic |
Provide the Topic to the resource of the Activity Context. The topic attribute is specified by "Topic".
For example:
- For the following string representation of the context:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=
Foo,Domain=1}|Write]
- The Topic is "test." If the bit ActivityContextAttributeKind::TOPIC is not set, the string representation will not show the Topic:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Type=
Foo,Domain=1}|Write]
◆ type()
static const AttributeKindMask rti::config::activity_context::AttributeKindMask::type |
( |
| ) |
|
|
inlinestatic |
Provide the data type to the resource of the Activity Context. The type attribute is specified by "Type".
For example:
- For the following string representation of the context:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=
Foo,Domain=1}|Write]
- The data type is "Foo." If the bit ActivityContextAttributeKind::TYPE is not set, the string representation will not show the data type:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Domain=1}|Write]
◆ entity_kind()
static const AttributeKindMask rti::config::activity_context::AttributeKindMask::entity_kind |
( |
| ) |
|
|
inlinestatic |
Provide the entity kind to the resource of the Activity Context. The kind attribute is specified by "Entity".
For example:
- For the following string representation of the context:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=
Foo,Domain=1}|Write]
- The entity kind is "Writer." If the bit ActivityContextAttributeKind::ENTITY_KIND is not set, the string representation will not show the entity kind:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Topic=test,Type=
Foo,Domain=1}|Write]
◆ domain_id()
static const AttributeKindMask rti::config::activity_context::AttributeKindMask::domain_id |
( |
| ) |
|
|
inlinestatic |
Provide the domain ID to the resource of the Activity Context. The domain attribute is specified by "Domain".
For example:
- For the following string representation of the context:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=
Foo,Domain=1}|Write]
- The domain ID is "1." If the bit ActivityContextAttributeKind::DOMAIN_ID is not set, the string representation will not show the domain ID:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=
Foo}|Write]
◆ entity_name()
static const AttributeKindMask rti::config::activity_context::AttributeKindMask::entity_name |
( |
| ) |
|
|
inlinestatic |
Provide the entity name to the resource of the Activity Context. The name attribute is specified by "Name".
For example:
- For the following string representation of the context:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Name=testDataWriterName,Entity=DW,Topic=test,Type=
Foo,Domain=1}|Write]
- The entity name is "testDataWriterName." If the bit ActivityContextAttributeKind::ENTITY_NAME is not set, the string representation will not show the entity name:
[0X101A76B,0X79E5D71,0X50EE914:0X1C1:0X80000003{Entity=DW,Topic=test,Type=
Foo,Domain=1}|Write]
◆ default_mask()
static const AttributeKindMask rti::config::activity_context::AttributeKindMask::default_mask |
( |
| ) |
|
|
inlinestatic |
Provide the default attributes of the resource of the Activity Context.
◆ none()
static const AttributeKindMask rti::config::activity_context::AttributeKindMask::none |
( |
| ) |
|
|
inlinestatic |
Not provide any attribute of the resource of the Activity Context.
◆ all()
static const AttributeKindMask rti::config::activity_context::AttributeKindMask::all |
( |
| ) |
|
|
inlinestatic |
Provide all the possibles attributes of the resource of the Activity Context.