normativeTypesCPP
Public Member Functions | Friends | List of all members
epics::nt::detail::NTMultiChannelBuilder Class Reference

Interface for in-line creating of NTMultiChannel. More...

#include <ntmultiChannel.h>

Inheritance diagram for epics::nt::detail::NTMultiChannelBuilder:

Public Member Functions

 POINTER_DEFINITIONS (NTMultiChannelBuilder)
 
shared_pointer value (epics::pvData::UnionConstPtr valuePtr)
 
shared_pointer addDescriptor ()
 
shared_pointer addAlarm ()
 
shared_pointer addTimeStamp ()
 
shared_pointer addSeverity ()
 
shared_pointer addStatus ()
 
shared_pointer addMessage ()
 
shared_pointer addSecondsPastEpoch ()
 
shared_pointer addNanoseconds ()
 
shared_pointer addUserTag ()
 
shared_pointer addIsConnected ()
 
epics::pvData::StructureConstPtr createStructure ()
 
epics::pvData::PVStructurePtr createPVStructure ()
 
NTMultiChannelPtr create ()
 
shared_pointer add (std::string const &name, epics::pvData::FieldConstPtr const &field)
 

Friends

class ::epics::nt::NTMultiChannel
 

Detailed Description

Interface for in-line creating of NTMultiChannel.

One instance can be used to create multiple instances. An instance of this object must not be used concurrently (an object has a state).

Author
mse

Definition at line 45 of file ntmultiChannel.h.

Member Function Documentation

◆ add()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::add ( std::string const &  name,
epics::pvData::FieldConstPtr const &  field 
)

Adds extra Field to the type.

Parameters
namethe name of the field.
fieldthe field to be added.
Returns
this instance of a NTMultiChannelBuilder

Definition at line 204 of file ntmultiChannel.cpp.

◆ addAlarm()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addAlarm ( )

Adds alarm field to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 40 of file ntmultiChannel.cpp.

◆ addDescriptor()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addDescriptor ( )

Adds descriptor field to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 34 of file ntmultiChannel.cpp.

◆ addIsConnected()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addIsConnected ( )

Adds isConnected array to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 88 of file ntmultiChannel.cpp.

◆ addMessage()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addMessage ( )

Adds message array to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 64 of file ntmultiChannel.cpp.

◆ addNanoseconds()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addNanoseconds ( )

Adds nanoseconds array to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 76 of file ntmultiChannel.cpp.

◆ addSecondsPastEpoch()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addSecondsPastEpoch ( )

Adds secondsPastEpoch array to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 70 of file ntmultiChannel.cpp.

◆ addSeverity()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addSeverity ( )

Adds severity array to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 52 of file ntmultiChannel.cpp.

◆ addStatus()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addStatus ( )

Adds status array to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 58 of file ntmultiChannel.cpp.

◆ addTimeStamp()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addTimeStamp ( )

Adds timeStamp field to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 46 of file ntmultiChannel.cpp.

◆ addUserTag()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::addUserTag ( )

Adds userTag array to the NTMultiChannel.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 82 of file ntmultiChannel.cpp.

◆ create()

NTMultiChannelPtr epics::nt::detail::NTMultiChannelBuilder::create ( )

Creates a NTMultiChannel instance. This resets this instance state and allows new instance to be created.

Returns
a new instance of a NTMultiChannel

Definition at line 176 of file ntmultiChannel.cpp.

◆ createPVStructure()

PVStructurePtr epics::nt::detail::NTMultiChannelBuilder::createPVStructure ( )

Creates a PVStructure that represents NTMultiChannel. This resets this instance state and allows new instance to be created.

Returns
a new instance of a PVStructure

Definition at line 171 of file ntmultiChannel.cpp.

◆ createStructure()

StructureConstPtr epics::nt::detail::NTMultiChannelBuilder::createStructure ( )

Creates a Structure that represents NTMultiChannel. This resets this instance state and allows new instance to be created.

Returns
a new instance of a Structure.

Definition at line 94 of file ntmultiChannel.cpp.

◆ POINTER_DEFINITIONS()

epics::nt::detail::NTMultiChannelBuilder::POINTER_DEFINITIONS ( NTMultiChannelBuilder  )

◆ value()

NTMultiChannelBuilder::shared_pointer epics::nt::detail::NTMultiChannelBuilder::value ( epics::pvData::UnionConstPtr  valuePtr)

specify the union for the value field. If this is not called then a variantUnion is the default.

Returns
this instance of NTMultiChannelBuilder.

Definition at line 27 of file ntmultiChannel.cpp.

Friends And Related Function Documentation

◆ ::epics::nt::NTMultiChannel

friend class ::epics::nt::NTMultiChannel
friend

Definition at line 167 of file ntmultiChannel.h.


The documentation for this class was generated from the following files: