#include <FramePacket.h>
Definition at line 56 of file FramePacket.h.
◆ StructuredMessage() [1/3]
| agxNet::StructuredMessage::StructuredMessage |
( |
| ) |
|
◆ StructuredMessage() [2/3]
| agxNet::StructuredMessage::StructuredMessage |
( |
const agx::String & |
uri | ) |
|
◆ StructuredMessage() [3/3]
| agxNet::StructuredMessage::StructuredMessage |
( |
const agx::String & |
uri, |
|
|
const agxJson::Value & |
header, |
|
|
agxData::BinaryData * |
binarySegment = nullptr |
|
) |
| |
◆ ~StructuredMessage()
| virtual agxNet::StructuredMessage::~StructuredMessage |
( |
| ) |
|
|
protectedvirtual |
◆ allocateObserverVector()
| void agx::Referenced::allocateObserverVector |
( |
| ) |
const |
|
protectedinherited |
◆ as() [1/2]
template<typename T >
| T* agx::Referenced::as |
( |
| ) |
|
|
inherited |
◆ as() [2/2]
template<typename T >
| const T* agx::Referenced::as |
( |
| ) |
const |
|
inherited |
◆ asSafe() [1/2]
template<typename T >
| T* agx::Referenced::asSafe |
( |
| ) |
|
|
inherited |
◆ asSafe() [2/2]
template<typename T >
| const T* agx::Referenced::asSafe |
( |
| ) |
const |
|
inherited |
◆ createResponse()
◆ deleteUsingDeleteHandler()
| void agx::Referenced::deleteUsingDeleteHandler |
( |
| ) |
const |
|
protectedinherited |
◆ getBinarySegment() [1/2]
◆ getBinarySegment() [2/2]
◆ getDeleteHandler()
◆ getHeader() [1/2]
| agxJson::Value & agxNet::StructuredMessage::getHeader |
( |
| ) |
|
◆ getHeader() [2/2]
| const agxJson::Value & agxNet::StructuredMessage::getHeader |
( |
| ) |
const |
◆ getMessageId()
| agx::UInt32 agxNet::StructuredMessage::getMessageId |
( |
| ) |
const |
- Returns
- The ID of this message. Set by the WebSocket that sent the message.
◆ getReferenceCount()
| int agx::Referenced::getReferenceCount |
( |
| ) |
const |
|
inherited |
- Returns
- the number pointers currently referencing this object.
◆ getResponseId()
| agx::UInt32 agxNet::StructuredMessage::getResponseId |
( |
| ) |
const |
- Returns
- The ID of the message that this message is a response to.
◆ getUri()
| const agx::String & agxNet::StructuredMessage::getUri |
( |
| ) |
const |
◆ is()
template<typename T >
| bool agx::Referenced::is |
( |
| ) |
const |
|
inherited |
◆ parse()
◆ PreHeader()
| agxNet::StructuredMessage::PreHeader |
( |
| ) |
|
◆ reference()
| void agx::Referenced::reference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
This method should be used with care, always balanced with the same number of calls to unreference.
◆ setBinarySegment()
◆ setDeleteHandler()
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
◆ setHeader()
| void agxNet::StructuredMessage::setHeader |
( |
const agxJson::Value & |
header | ) |
|
◆ setMessageId()
◆ setResponseId()
◆ setUri()
◆ unreference()
| void agx::Referenced::unreference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.
This method should be used with care, always balanced with the same number of calls to reference.
Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().
◆ unreference_nodelete()
| void agx::Referenced::unreference_nodelete |
( |
| ) |
const |
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.
◆ ValidateCast()
template<typename T >
| static bool agx::Referenced::ValidateCast |
( |
const Referenced * |
object | ) |
|
|
staticinherited |
◆ BINARY_SEGMENT_ALIGNMENT
| const agx::UInt32 agxNet::StructuredMessage::BINARY_SEGMENT_ALIGNMENT = 32 |
|
static |
◆ binarySegmentOffset
| agx::UInt32 agxNet::StructuredMessage::binarySegmentOffset |
◆ binarySegmentSize
| agx::UInt32 agxNet::StructuredMessage::binarySegmentSize |
◆ headerSize
◆ id
◆ m_mutex
| Mutex agx::Referenced::m_mutex |
|
mutableprotectedinherited |
◆ m_observers
|
|
mutableprotectedinherited |
◆ m_refCount
| AtomicValue agx::Referenced::m_refCount |
|
mutableprotectedinherited |
◆ responseId
◆ STREAM_END_OF_FILE
| const agx::UInt32 agxNet::StructuredMessage::STREAM_END_OF_FILE = 0 |
|
static |
◆ uriSize
The documentation for this struct was generated from the following file: